[Spice-commits] Branch 'spice.v11' - audio/spiceaudio.c

Gerd Hoffmann kraxel at kemper.freedesktop.org
Mon Jul 5 09:13:36 PDT 2010


 audio/spiceaudio.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 46ebba5b029da81af0d4d9d0af6255910f082bd0
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Mon Jul 5 18:09:28 2010 +0200

    spice audio: never skip spice_server_playback_stop call

diff --git a/audio/spiceaudio.c b/audio/spiceaudio.c
index 8fe34ba..8ae7499 100644
--- a/audio/spiceaudio.c
+++ b/audio/spiceaudio.c
@@ -165,8 +165,8 @@ static int line_out_ctl(HWVoiceOut *hw, int cmd, ...)
             memset(out->fpos, 0, out->fsize << 2);
             spice_server_playback_put_samples(&out->sin, out->frame);
             out->frame = out->fpos = NULL;
-            spice_server_playback_stop(&out->sin);
         }
+        spice_server_playback_stop(&out->sin);
         break;
     }
     return 0;


More information about the Spice-commits mailing list