summaryrefslogtreecommitdiff
path: root/src/output
diff options
context:
space:
mode:
Diffstat (limited to 'src/output')
-rw-r--r--src/output/plugins/wasapi/WasapiOutputPlugin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/output/plugins/wasapi/WasapiOutputPlugin.cxx b/src/output/plugins/wasapi/WasapiOutputPlugin.cxx
index fed16fbee..97b66a998 100644
--- a/src/output/plugins/wasapi/WasapiOutputPlugin.cxx
+++ b/src/output/plugins/wasapi/WasapiOutputPlugin.cxx
@@ -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();