Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
WinRT: fixed Win32 compile error in XAudio2 backend
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidLudwig committed Nov 25, 2012
1 parent 9169c17 commit 69340f8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/audio/xaudio2/SDL_xaudio2.c
Expand Up @@ -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;
Expand All @@ -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;
Expand Down

0 comments on commit 69340f8

Please sign in to comment.