Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
1ab9abf3
Commit
1ab9abf3
authored
Jul 24, 2013
by
Ludovic Fauvet
Committed by
Jean-Baptiste Kempf
Jul 25, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
directsound: remove the broken msleep fallback
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
ec74771e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
7 deletions
+3
-7
modules/audio_output/directx.c
modules/audio_output/directx.c
+3
-7
No files found.
modules/audio_output/directx.c
View file @
1ab9abf3
...
@@ -889,12 +889,8 @@ static void Flush ( audio_output_t * aout, bool drain )
...
@@ -889,12 +889,8 @@ static void Flush ( audio_output_t * aout, bool drain )
}
}
}
}
else
else
while
(
IDirectSoundBuffer_GetCurrentPosition
(
aout
->
sys
->
p_dsbuffer
,(
LPDWORD
)
&
read
,
NULL
)
==
DS_OK
)
{
{
read
%=
DS_BUF_SIZE
;
IDirectSoundBuffer_Stop
(
aout
->
sys
->
p_dsbuffer
);
if
(
read
==
aout
->
sys
->
i_write
)
break
;
msleep
(
10000
);
}
}
}
}
else
else
...
...
Write
Preview
Markdown
is supported
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