xaudio2_7: Only declare debug channel when needed.

Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Sebastian Lackner 2016-07-31 20:01:04 +02:00 committed by Alexandre Julliard
parent f80ba28a15
commit 2fc6720988
2 changed files with 4 additions and 0 deletions

View File

@ -101,7 +101,9 @@
#include "wine/debug.h"
#if XAUDIO2_VER <= 7
WINE_DEFAULT_DEBUG_CHANNEL(xaudio2);
#endif
/* BEGIN IXAudio2SourceVoice */
#if XAUDIO2_VER == 0

View File

@ -23,7 +23,9 @@
#include "wine/debug.h"
#if XAUDIO2_VER >= 8 || defined X3DAUDIO1_VER
WINE_DEFAULT_DEBUG_CHANNEL(xaudio2);
#endif
#ifdef X3DAUDIO1_VER
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD reason, void *pReserved)