diff options
author | Robin Gareus <robin@gareus.org> | 2020-02-24 22:21:18 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2020-02-24 22:21:18 +0100 |
commit | 021ff2044ae0514241ee895c6ee7dc5c3ea4aa2d (patch) | |
tree | 549937db24ea2f0c289fdbd8fcab42aee518247f /libs | |
parent | f16d97a013b5422154465ec59d8cd41e76122142 (diff) |
Zero x-run count after session-load and engine restart
Diffstat (limited to 'libs')
-rw-r--r-- | libs/ardour/session_state.cc | 3 | ||||
-rw-r--r-- | libs/ardour/session_transport.cc | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/libs/ardour/session_state.cc b/libs/ardour/session_state.cc index ce9c7aa625..5ffe951cfc 100644 --- a/libs/ardour/session_state.cc +++ b/libs/ardour/session_state.cc @@ -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; } diff --git a/libs/ardour/session_transport.cc b/libs/ardour/session_transport.cc index 80d4cda0ea..b48079318a 100644 --- a/libs/ardour/session_transport.cc +++ b/libs/ardour/session_transport.cc @@ -1807,6 +1807,7 @@ void Session::engine_running () { _transport_fsm->start (); + reset_xrun_count (); } void |