13
0

Notify GUI of x-run counter resets

This commit is contained in:
Robin Gareus 2021-06-14 02:48:50 +02:00
parent c06553c2de
commit 80c11a763a
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
2 changed files with 8 additions and 1 deletions

View File

@ -825,7 +825,7 @@ public:
void maybe_update_tempo_from_midiclock_tempo (float bpm);
unsigned int get_xrun_count () const {return _xrun_count; }
void reset_xrun_count () {_xrun_count = 0; }
void reset_xrun_count ();
/* region info */

View File

@ -1811,6 +1811,13 @@ Session::xrun_recovery ()
}
}
void
Session::reset_xrun_count ()
{
_xrun_count = 0;
Xrun (-1); /* EMIT SIGNAL */
}
void
Session::route_processors_changed (RouteProcessorChange c)
{