Zero x-run count after session-load and engine restart

This commit is contained in:
Robin Gareus 2020-02-24 22:21:18 +01:00
parent f16d97a013
commit 021ff2044a
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
2 changed files with 4 additions and 0 deletions

View File

@ -415,6 +415,7 @@ Session::post_engine_init ()
}
}
reset_xrun_count ();
return 0;
}
@ -436,6 +437,7 @@ Session::session_loaded ()
BootMessage (_("Filling playback buffers"));
force_locate (_transport_sample, MustStop);
reset_xrun_count ();
}
string
@ -665,6 +667,7 @@ Session::create (const string& session_template, BusProfile const * bus_profile)
}
set_clean ();
reset_xrun_count ();
return 0;
}

View File

@ -1807,6 +1807,7 @@ void
Session::engine_running ()
{
_transport_fsm->start ();
reset_xrun_count ();
}
void