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:
sfan5 2021-07-16 20:58:54 +02:00
parent 075154175d
commit fb5d976cb0
1 changed files with 1 additions and 0 deletions

View File

@ -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;