audio: fix ao_reset() not clearing paused state leading to stuck AO
This would happen when switching from playback stuck in cache wait (underrun) to another file.
This commit is contained in:
1 parent
075154175d
commit
fb5d976cb0
1 file changed
+1
@@ -307,6 +307,7 @@ void ao_reset(struct ao *ao)
|
||||
}
|
||||
wakeup = p->playing;
|
||||
p->playing = false;
|
||||
p->paused = false;
|
||||
p->recover_pause = false;
|
||||
p->hw_paused = false;
|
||||
p->end_time_us = 0;
|
||||
|
||||
Reference in new issue
Block a user