From 8e3a52ff140aa33fc0fdc525b1854a09c7730dbe Mon Sep 17 00:00:00 2001 From: jules Date: Sun, 28 Apr 2013 17:48:45 +0100 Subject: [PATCH] ALSA logging fix. --- modules/juce_audio_devices/native/juce_linux_ALSA.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/juce_audio_devices/native/juce_linux_ALSA.cpp b/modules/juce_audio_devices/native/juce_linux_ALSA.cpp index 151d47dd7f..2eaac918af 100644 --- a/modules/juce_audio_devices/native/juce_linux_ALSA.cpp +++ b/modules/juce_audio_devices/native/juce_linux_ALSA.cpp @@ -27,7 +27,7 @@ namespace { #ifndef JUCE_ALSA_LOGGING - #define JUCE_ALSA_LOGGING 1 + #define JUCE_ALSA_LOGGING 0 #endif #if JUCE_ALSA_LOGGING @@ -898,14 +898,14 @@ public: hasScanned (false), listOnlySoundcards (onlySoundcards) { - #if JUCE_ALSA_LOGGING + #if ! JUCE_ALSA_LOGGING snd_lib_error_set_handler (&silentErrorHandler); #endif } ~ALSAAudioIODeviceType() { - #if JUCE_ALSA_LOGGING + #if ! JUCE_ALSA_LOGGING snd_lib_error_set_handler (nullptr); #endif