mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-09 08:14:58 +01:00
Reset DSP load on backend re-start and after freewheeling
This commit is contained in:
parent
27b2794133
commit
a8ff35accb
4 changed files with 13 additions and 0 deletions
|
|
@ -1412,6 +1412,7 @@ PulseAudioBackend::main_process_thread ()
|
|||
}
|
||||
}
|
||||
|
||||
_dsp_load_calc.reset ();
|
||||
stream_latency_update_cb (p_stream, this);
|
||||
|
||||
while (_run) {
|
||||
|
|
@ -1436,6 +1437,7 @@ PulseAudioBackend::main_process_thread ()
|
|||
if (!sync_pulse (pa_stream_flush (p_stream, stream_operation_cb, this)) || !_operation_succeeded) {
|
||||
break;
|
||||
}
|
||||
_dsp_load_calc.reset ();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue