Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
889b477b
Commit
889b477b
authored
Mar 12, 2014
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wasapi: sleep for half a period as hinted in MSDN
parent
1a116993
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
modules/audio_output/wasapi.c
modules/audio_output/wasapi.c
+1
-2
No files found.
modules/audio_output/wasapi.c
View file @
889b477b
...
@@ -180,8 +180,7 @@ static HRESULT Play(aout_stream_t *s, block_t *block)
...
@@ -180,8 +180,7 @@ static HRESULT Play(aout_stream_t *s, block_t *block)
break
;
/* done */
break
;
/* done */
/* Out of buffer space, sleep */
/* Out of buffer space, sleep */
msleep
(
AOUT_MIN_PREPARE_TIME
msleep
(
sys
->
frames
*
(
CLOCK_FREQ
/
2
)
/
sys
->
rate
);
+
block
->
i_nb_samples
*
CLOCK_FREQ
/
sys
->
rate
);
}
}
IAudioRenderClient_Release
(
render
);
IAudioRenderClient_Release
(
render
);
out:
out:
...
...
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