summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-12-23 13:20:32 +0100
committerAlessandro Ghedini <alessandro@ghedini.me>2015-01-14 16:22:01 +0100
commit6cec24e980faf06f11dc172647a8e9f964bb875d (patch)
treecd5b79a067b8bc685ae805a1396b1ed821d55f6b
parent9b2b95ee5288a27569ce9e48655b4ee9652ef9d0 (diff)
downloadmpv-6cec24e980faf06f11dc172647a8e9f964bb875d.tar.bz2
mpv-6cec24e980faf06f11dc172647a8e9f964bb875d.tar.xz
ao_alsa: fix unpause path atfer previous commit
The resume code was accidentally fully removed from this code path.
-rw-r--r--audio/out/ao_alsa.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/audio/out/ao_alsa.c b/audio/out/ao_alsa.c
index 16fac8be95..651efb6a3a 100644
--- a/audio/out/ao_alsa.c
+++ b/audio/out/ao_alsa.c
@@ -787,6 +787,8 @@ static void audio_resume(struct ao *ao)
struct priv *p = ao->priv;
int err;
+ resume_device(ao);
+
if (p->can_pause) {
if (snd_pcm_state(p->alsa) == SND_PCM_STATE_PAUSED) {
err = snd_pcm_pause(p->alsa, 0);