[Commits] SDL: Patched to compile on Windows.

libsdl.org revision control commits-owner at libsdl.org
Thu May 18 13:27:41 PDT 2017


details:   https://hg.libsdl.org/SDL/rev/d3ac11b79213
changeset: 11011:d3ac11b79213
user:      Ryan C. Gordon <icculus at icculus.org>
date:      Thu May 18 16:27:36 2017 -0400
description:
Patched to compile on Windows.

diffstat:

 src/audio/wasapi/SDL_wasapi.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 96de7fe65e32 -r d3ac11b79213 src/audio/wasapi/SDL_wasapi.c
--- a/src/audio/wasapi/SDL_wasapi.c	Thu May 18 15:46:06 2017 -0400
+++ b/src/audio/wasapi/SDL_wasapi.c	Thu May 18 16:27:36 2017 -0400
@@ -610,7 +610,7 @@
 
         /* 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)) {


More information about the commits mailing list