[vlc-commits] directsound: clear the rest of the ring buffer too
Ludovic Fauvet
git at videolan.org
Thu Jul 25 12:05:46 CEST 2013
vlc/vlc-2.1 | branch: master | Ludovic Fauvet <etix at videolan.org> | Wed Jul 24 13:00:58 2013 +0200| [490fc50c31da32d3bc7f9ceccb0a7c2e6c60d348] | committer: Jean-Baptiste Kempf
directsound: clear the rest of the ring buffer too
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
(cherry picked from commit ec74771e3c02387aa883798fd2581ae4e19438ed)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.1.git/?a=commit;h=490fc50c31da32d3bc7f9ceccb0a7c2e6c60d348
---
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
{
More information about the vlc-commits
mailing list