Commit 5823e79f authored by Max Kellermann's avatar Max Kellermann

output/wasapi: remove broken Drain() implementation

The current Drain() implementation does what Cancel() should do; it does not wait for completion, but instead discards the buffer.
parent 5f656dff
...@@ -661,7 +661,8 @@ WasapiOutput::Drain() ...@@ -661,7 +661,8 @@ WasapiOutput::Drain()
{ {
assert(thread); assert(thread);
thread->spsc_buffer.consume_all([](auto &&) {}); // TODO implement
thread->CheckException(); thread->CheckException();
} }
......
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