mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-09 16:24:57 +01:00
Fix prev commit (properly stop pulse)
This commit is contained in:
parent
03a17df68c
commit
38a4bb6736
1 changed files with 1 additions and 1 deletions
|
|
@ -664,10 +664,10 @@ PulseAudioBackend::stop ()
|
|||
|
||||
_run = false;
|
||||
|
||||
pa_threaded_mainloop_lock (p_mainloop);
|
||||
if (pa_stream_is_corked (p_stream) == 0) {
|
||||
cork_pulse (true);
|
||||
}
|
||||
pa_threaded_mainloop_lock (p_mainloop);
|
||||
sync_pulse (pa_stream_flush (p_stream, stream_operation_cb, this));
|
||||
|
||||
if (pthread_join (_main_thread, &status)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue