mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
alsa: unlock pending drain in drop
When we set activated=false, signal the thread because it might be waiting in drain. See #4728
This commit is contained in:
parent
70f55d1689
commit
9d61a530ed
1 changed files with 1 additions and 0 deletions
|
|
@ -617,6 +617,7 @@ static int snd_pcm_pipewire_stop(snd_pcm_ioplug_t *io)
|
|||
if (pw->activated && pw->stream != NULL) {
|
||||
pw_stream_set_active(pw->stream, false);
|
||||
pw->activated = false;
|
||||
pw_thread_loop_signal(pw->main_loop, false);
|
||||
}
|
||||
pw_thread_loop_unlock(pw->main_loop);
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue