瀏覽代碼

Patched to compile on Windows.

Ryan C. Gordon 8 年之前
父節點
當前提交
81ab6c98fd
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/audio/wasapi/SDL_wasapi.c

+ 1 - 1
src/audio/wasapi/SDL_wasapi.c

@@ -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)) {