1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-31 03:00:05 +00:00

ALSA logging fix.

This commit is contained in:
jules 2013-04-28 17:48:45 +01:00
parent c8fe9cab4b
commit 8e3a52ff14

View file

@ -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