Commit 4bcdcca7 authored by Shen-Ta Hsieh's avatar Shen-Ta Hsieh Committed by Max Kellermann

output/wasapi: use calculated new buffer instead old one

parent c08a8581
......@@ -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();
......
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