ao_wasapi0: Don't release WASAPI buffer twice

Would cause bogus AUDCLNT_E_OUT_OF_ORDER errors.
This commit is contained in:
Diogo Franco (Kovensky)
2013-07-20 02:21:00 +02:00
committed by wm4
parent 9ab73b6373
commit 20c2947cbb
+1
View File
@@ -461,6 +461,7 @@ static void thread_feed(wasapi0_state *state,int force_feed)
state->bufferFrameCount,
AUDCLNT_BUFFERFLAGS_SILENT);
EXIT_ON_ERROR(hr)
return;
}
hr = IAudioRenderClient_ReleaseBuffer(state->pRenderClient,
state->bufferFrameCount, 0);