output/wasapi: use calculated new buffer instead old one
This commit is contained in:
parent
c08a8581ee
commit
4bcdcca7f5
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue