Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
4bcdcca7
Commit
4bcdcca7
authored
Mar 13, 2021
by
Shen-Ta Hsieh
Committed by
Max Kellermann
Mar 13, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
output/wasapi: use calculated new buffer instead old one
parent
c08a8581
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
WasapiOutputPlugin.cxx
src/output/plugins/wasapi/WasapiOutputPlugin.cxx
+1
-1
No files found.
src/output/plugins/wasapi/WasapiOutputPlugin.cxx
View file @
4bcdcca7
...
...
@@ -724,7 +724,7 @@ WasapiOutput::Play(const void *chunk, size_t size)
return
size
;
do
{
const
size_t
consumed_size
=
thread
->
Push
({
chunk
,
size
});
const
size_t
consumed_size
=
thread
->
Push
({
input
.
data
,
input
.
size
});
if
(
consumed_size
==
0
)
{
thread
->
Wait
();
...
...
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