diff --git a/src/audio/init.cpp b/src/audio/init.cpp index 894aef9..2cbeea7 100644 --- a/src/audio/init.cpp +++ b/src/audio/init.cpp @@ -22,12 +22,14 @@ #include #if defined(__gnu_linux__) - #ifdef OUR_DICK_ENABLE_DEBUG_VERBOSE_OUTPUT - #define ENABLE_ALSA_DEBUG + #ifndef OUR_DICK_ENABLE_DEBUG_VERBOSE_OUTPUT + #define DISABLE_ALSA_DEBUG #endif +#else + #define DISABLD_ALSA_DEBUG #endif -#ifndef ENABLE_ALSA_DEBUG +#ifdef DISABLE_ALSA_DEBUG #include //va_arg (missing include in alsa headers) #include //snd_lib_error_set_handler namespace sfx::detail{ @@ -38,7 +40,7 @@ namespace sfx::detail{ namespace sfx{ pa_system::pa_system(){ -#ifndef ENABLE_ALSA_DEBUG +#ifdef DISABLE_ALSA_DEBUG //silence excessive stderr warnings from alsa snd_lib_error_set_handler(detail::linux_alsa_error_handler); #endif