Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

WinRT: fixed Win32 compile error in XAudio2 backend

  • Loading branch information
DavidLudwig committed Nov 25, 2012
1 parent 9169c17 commit 69340f88ead2c40144531c53855f43567ab49548
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/audio/xaudio2/SDL_xaudio2.c
@@ -356,6 +356,7 @@ XAUDIO2_OpenDevice(_THIS, const char *devname, int iscapture)
SDL_SetError("XAudio2: XAudio2Create() failed.");
return 0;
}
/*
XAUDIO2_DEBUG_CONFIGURATION debugConfig;
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;
debugConfig.BreakMask = XAUDIO2_LOG_ERRORS; //XAUDIO2_LOG_WARNINGS;
@@ -364,6 +365,7 @@ XAUDIO2_OpenDevice(_THIS, const char *devname, int iscapture)
debugConfig.LogFunctionName = TRUE;
debugConfig.LogTiming = TRUE;
ixa2->SetDebugConfiguration(&debugConfig);
*/

if (devname != NULL) {
UINT32 devcount = 0;

0 comments on commit 69340f8

Please sign in to comment.