WinRT: fixed Win32 compile error in XAudio2 backend
authorDavid Ludwig
Sun, 25 Nov 2012 14:45:22 -0500
changeset 8366dc1f2c7ed164
parent 8365 83e5a0c5f77b
child 8367 df577bb2f2d7
WinRT: fixed Win32 compile error in XAudio2 backend
src/audio/xaudio2/SDL_xaudio2.c
     1.1 --- a/src/audio/xaudio2/SDL_xaudio2.c	Sun Nov 25 14:45:04 2012 -0500
     1.2 +++ b/src/audio/xaudio2/SDL_xaudio2.c	Sun Nov 25 14:45:22 2012 -0500
     1.3 @@ -356,6 +356,7 @@
     1.4          SDL_SetError("XAudio2: XAudio2Create() failed.");
     1.5          return 0;
     1.6      }
     1.7 +    /*
     1.8      XAUDIO2_DEBUG_CONFIGURATION debugConfig;
     1.9      debugConfig.TraceMask = XAUDIO2_LOG_ERRORS; //XAUDIO2_LOG_WARNINGS | XAUDIO2_LOG_DETAIL | XAUDIO2_LOG_FUNC_CALLS | XAUDIO2_LOG_TIMING | XAUDIO2_LOG_LOCKS | XAUDIO2_LOG_MEMORY | XAUDIO2_LOG_STREAMING;
    1.10      debugConfig.BreakMask = XAUDIO2_LOG_ERRORS; //XAUDIO2_LOG_WARNINGS;
    1.11 @@ -364,6 +365,7 @@
    1.12      debugConfig.LogFunctionName = TRUE;
    1.13      debugConfig.LogTiming = TRUE;
    1.14      ixa2->SetDebugConfiguration(&debugConfig);
    1.15 +    */
    1.16  
    1.17      if (devname != NULL) {
    1.18          UINT32 devcount = 0;