Fix latency signal emission sequence when using JACK
Capture latency needs to be updated before playback latency, various internal parts depend on this order (which is also the default for libjack itself).
This commit is contained in:
@@ -308,12 +308,12 @@ AudioEngine::process_callback (pframes_t nframes)
|
||||
}
|
||||
if (lp || lc) {
|
||||
tm.release ();
|
||||
if (lp) {
|
||||
_session->update_latency (true);
|
||||
}
|
||||
if (lc) {
|
||||
_session->update_latency (false);
|
||||
}
|
||||
if (lp) {
|
||||
_session->update_latency (true);
|
||||
}
|
||||
tm.acquire ();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user