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:
parent
5f656dffda
commit
5823e79fe7
@ -661,7 +661,8 @@ WasapiOutput::Drain()
|
|||||||
{
|
{
|
||||||
assert(thread);
|
assert(thread);
|
||||||
|
|
||||||
thread->spsc_buffer.consume_all([](auto &&) {});
|
// TODO implement
|
||||||
|
|
||||||
thread->CheckException();
|
thread->CheckException();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user