From 1b34510447e4e91a1075e15ec2d31161f5419fea Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Mon, 27 Dec 2004 16:55:39 +0000 Subject: - and don't forget to set is_paused to 0 once we've resumed CVS patchset: 7306 CVS date: 2004/12/27 16:55:39 --- src/audio_out/audio_alsa_out.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/audio_out/audio_alsa_out.c b/src/audio_out/audio_alsa_out.c index c0459d6e4..5f1823325 100644 --- a/src/audio_out/audio_alsa_out.c +++ b/src/audio_out/audio_alsa_out.c @@ -26,7 +26,7 @@ * (c) 2001 James Courtier-Dutton * * - * $Id: audio_alsa_out.c,v 1.152 2004/12/27 16:49:28 hadess Exp $ + * $Id: audio_alsa_out.c,v 1.153 2004/12/27 16:55:39 hadess Exp $ */ #ifdef HAVE_CONFIG_H @@ -1057,7 +1057,9 @@ static int ao_alsa_ctrl(ao_driver_t *this_gen, int cmd, ...) { xprintf(this->class->xine, XINE_VERBOSITY_DEBUG, "audio_alsa_out: Resume call failed. (err=%d:%s)\n",err, snd_strerror(err)); this->has_pause_resume = 0; - } + } else { + this->is_paused = 0; + } } } break; -- cgit v1.2.3