vlc | branch: master | Ludovic Fauvet <[email protected]> | Wed Jul 24 13:00:58 
2013 +0200| [ec74771e3c02387aa883798fd2581ae4e19438ed] | committer: 
Jean-Baptiste Kempf

directsound: clear the rest of the ring buffer too

Signed-off-by: Jean-Baptiste Kempf <[email protected]>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ec74771e3c02387aa883798fd2581ae4e19438ed
---

 modules/audio_output/directx.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/audio_output/directx.c b/modules/audio_output/directx.c
index 32cdf84..753fda1 100644
--- a/modules/audio_output/directx.c
+++ b/modules/audio_output/directx.c
@@ -704,6 +704,7 @@ static int FillBuffer( audio_output_t *p_aout, block_t 
*p_buffer )
     if( p_buffer == NULL )
     {
         memset( p_write_position, 0, l_bytes1 );
+        memset( p_wrap_around, 0, l_bytes2 );
     }
     else
     {

_______________________________________________
vlc-commits mailing list
[email protected]
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to