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.
This commit is contained in:
Max Kellermann 2021-03-08 21:41:11 +01:00
parent 5f656dffda
commit 5823e79fe7
1 changed files with 2 additions and 1 deletions

View File

@ -661,7 +661,8 @@ WasapiOutput::Drain()
{
assert(thread);
thread->spsc_buffer.consume_all([](auto &&) {});
// TODO implement
thread->CheckException();
}