Commit a4c33da2 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

wasapi: fix inverted logic

parent 1c2f6a49
......@@ -212,7 +212,7 @@ static HRESULT Flush(aout_stream_t *s)
IAudioClient_Stop(sys->client);
hr = IAudioClient_Reset(sys->client);
if (FAILED(hr))
if (SUCCEEDED(hr))
{
msg_Dbg(s, "reset");
sys->written = 0;
......
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