Queue latency updates for initial connection

This may fix an issue with latency not being set correctly
on initial session-load (more common with Mixbus/JACK).
This commit is contained in:
Robin Gareus 2020-07-12 00:40:14 +02:00
parent 1796ee60b2
commit ce47898639
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
1 changed files with 1 additions and 0 deletions

View File

@ -6558,6 +6558,7 @@ Session::update_latency (bool playback)
));
if (inital_connect_or_deletion_in_progress () || _adding_routes_in_progress || _route_deletion_in_progress) {
_engine.queue_latency_update (playback);
return;
}
if (!_engine.running() || _exporting) {