Patched to compile on Windows.
authorRyan C. Gordon <icculus@icculus.org>
Thu, 18 May 2017 16:27:36 -0400
changeset 11011d3ac11b79213
parent 11010 96de7fe65e32
child 11012 c2f18f1f7e97
Patched to compile on Windows.
src/audio/wasapi/SDL_wasapi.c
     1.1 --- a/src/audio/wasapi/SDL_wasapi.c	Thu May 18 15:46:06 2017 -0400
     1.2 +++ b/src/audio/wasapi/SDL_wasapi.c	Thu May 18 16:27:36 2017 -0400
     1.3 @@ -610,7 +610,7 @@
     1.4  
     1.5          /* just read until we stop getting packets, throwing them away. */
     1.6          while (SDL_TRUE) {
     1.7 -            const HRESULT ret = IAudioCaptureClient_GetBuffer(this->hidden->capture, &ptr, &frames, &flags, NULL, NULL));
     1.8 +            const HRESULT ret = IAudioCaptureClient_GetBuffer(this->hidden->capture, &ptr, &frames, &flags, NULL, NULL);
     1.9              if (ret == AUDCLNT_S_BUFFER_EMPTY) {
    1.10                  break;  /* no more buffered data; we're done. */
    1.11              } else if (WasapiFailed(this, ret)) {