13
0

API change: LatencyUpdated(), indicate playback/capture

This commit is contained in:
Robin Gareus 2020-04-07 00:10:29 +02:00
parent 21b2ffbae6
commit aa2ddb5ea2
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
2 changed files with 2 additions and 2 deletions

View File

@ -514,7 +514,7 @@ public:
samplecnt_t worst_latency_preroll () const;
samplecnt_t worst_latency_preroll_buffer_size_ceil () const;
PBD::Signal0<void> LatencyUpdated;
PBD::Signal1<void, bool> LatencyUpdated;
struct SaveAs {
std::string new_parent_folder; /* parent folder where new session folder will be created */

View File

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