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:
parent
c8fe9cab4b
commit
8e3a52ff14
1 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue