Skip to content

Commit

Permalink
Patched to compile on Windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed May 18, 2017
1 parent 13b6d99 commit 81ab6c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/audio/wasapi/SDL_wasapi.c
Expand Up @@ -610,7 +610,7 @@ WASAPI_FlushCapture(_THIS)

/* just read until we stop getting packets, throwing them away. */
while (SDL_TRUE) {
const HRESULT ret = IAudioCaptureClient_GetBuffer(this->hidden->capture, &ptr, &frames, &flags, NULL, NULL));
const HRESULT ret = IAudioCaptureClient_GetBuffer(this->hidden->capture, &ptr, &frames, &flags, NULL, NULL);
if (ret == AUDCLNT_S_BUFFER_EMPTY) {
break; /* no more buffered data; we're done. */
} else if (WasapiFailed(this, ret)) {
Expand Down

0 comments on commit 81ab6c9

Please sign in to comment.