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:
parent
f80ba28a15
commit
2fc6720988
|
@ -101,7 +101,9 @@
|
|||
|
||||
#include "wine/debug.h"
|
||||
|
||||
#if XAUDIO2_VER <= 7
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(xaudio2);
|
||||
#endif
|
||||
|
||||
/* BEGIN IXAudio2SourceVoice */
|
||||
#if XAUDIO2_VER == 0
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue