Commit 1ab9abf3 authored by Ludovic Fauvet's avatar Ludovic Fauvet Committed by Jean-Baptiste Kempf

directsound: remove the broken msleep fallback

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent ec74771e
......@@ -889,13 +889,9 @@ static void Flush ( audio_output_t * aout, bool drain )
}
}
else
while( IDirectSoundBuffer_GetCurrentPosition( aout->sys->p_dsbuffer,(LPDWORD) &read, NULL) == DS_OK )
{
read %= DS_BUF_SIZE;
if( read == aout->sys->i_write )
break;
msleep(10000);
}
{
IDirectSoundBuffer_Stop( aout->sys->p_dsbuffer );
}
}
else
{
......
Markdown is supported
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