Commit 2fc67209 authored by Sebastian Lackner's avatar Sebastian Lackner Committed by Alexandre Julliard

xaudio2_7: Only declare debug channel when needed.

parent f80ba28a
...@@ -101,7 +101,9 @@ ...@@ -101,7 +101,9 @@
#include "wine/debug.h" #include "wine/debug.h"
#if XAUDIO2_VER <= 7
WINE_DEFAULT_DEBUG_CHANNEL(xaudio2); WINE_DEFAULT_DEBUG_CHANNEL(xaudio2);
#endif
/* BEGIN IXAudio2SourceVoice */ /* BEGIN IXAudio2SourceVoice */
#if XAUDIO2_VER == 0 #if XAUDIO2_VER == 0
......
...@@ -23,7 +23,9 @@ ...@@ -23,7 +23,9 @@
#include "wine/debug.h" #include "wine/debug.h"
#if XAUDIO2_VER >= 8 || defined X3DAUDIO1_VER
WINE_DEFAULT_DEBUG_CHANNEL(xaudio2); WINE_DEFAULT_DEBUG_CHANNEL(xaudio2);
#endif
#ifdef X3DAUDIO1_VER #ifdef X3DAUDIO1_VER
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD reason, void *pReserved) BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD reason, void *pReserved)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment