Commit ec74771e authored by Ludovic Fauvet's avatar Ludovic Fauvet Committed by Jean-Baptiste Kempf
Browse files

directsound: clear the rest of the ring buffer too


Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent de6abccd
...@@ -704,6 +704,7 @@ static int FillBuffer( audio_output_t *p_aout, block_t *p_buffer ) ...@@ -704,6 +704,7 @@ static int FillBuffer( audio_output_t *p_aout, block_t *p_buffer )
if( p_buffer == NULL ) if( p_buffer == NULL )
{ {
memset( p_write_position, 0, l_bytes1 ); memset( p_write_position, 0, l_bytes1 );
memset( p_wrap_around, 0, l_bytes2 );
} }
else else
{ {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment