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:
parent
bc4eb334d9
commit
3195fb720a
@ -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 ();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user