Emit signal when session latency was updated

This commit is contained in:
Robin Gareus 2019-09-28 22:29:50 +02:00
parent 16066786e3
commit 1c680f116a
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
2 changed files with 3 additions and 0 deletions

View file

@ -502,6 +502,8 @@ public:
samplecnt_t worst_route_latency () const { return _worst_route_latency; }
samplecnt_t worst_latency_preroll () const;
PBD::Signal0<void> LatencyUpdated;
struct SaveAs {
std::string new_parent_folder; /* parent folder where new session folder will be created */
std::string new_name; /* name of newly saved session */

View file

@ -6475,6 +6475,7 @@ Session::update_latency (bool playback)
}
DEBUG_TRACE (DEBUG::Latency, "JACK latency callback: DONE\n");
LatencyUpdated (); /* EMIT SIGNAL */
}
void