Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
1ab9abf3
Commit
1ab9abf3
authored
Jul 24, 2013
by
Ludovic Fauvet
Committed by
Jean-Baptiste Kempf
Jul 25, 2013
Browse files
directsound: remove the broken msleep fallback
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
ec74771e
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/audio_output/directx.c
View file @
1ab9abf3
...
...
@@ -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
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment