@@ -21,13 +21,13 @@ using namespace std;
2121#ifdef USING_OSS
2222#include " audiooutputoss.h"
2323#endif
24- #ifdef USE_ALSA
24+ #ifdef USING_ALSA
2525#include " audiooutputalsa.h"
2626#endif
2727#if CONFIG_DARWIN
2828#include " audiooutputca.h"
2929#endif
30- #ifdef USE_JACK
30+ #ifdef USING_JACK
3131#include " audiooutputjack.h"
3232#endif
3333#ifdef USING_PULSEOUTPUT
@@ -107,7 +107,7 @@ AudioOutput *AudioOutput::OpenAudio(AudioSettings &settings,
107107 if (willsuspendpa)
108108 {
109109 bool ispulse = false ;
110- #ifdef USE_ALSA
110+ #ifdef USING_ALSA
111111 // Check if using ALSA, that the device doesn't contain the word
112112 // "pulse" in its hint
113113 if (main_device.startsWith (" ALSA:" ))
@@ -141,7 +141,7 @@ AudioOutput *AudioOutput::OpenAudio(AudioSettings &settings,
141141
142142 if (main_device.startsWith (" ALSA:" ))
143143 {
144- #ifdef USE_ALSA
144+ #ifdef USING_ALSA
145145 settings.TrimDeviceType ();
146146 ret = new AudioOutputALSA (settings);
147147#else
@@ -151,7 +151,7 @@ AudioOutput *AudioOutput::OpenAudio(AudioSettings &settings,
151151 }
152152 else if (main_device.startsWith (" JACK:" ))
153153 {
154- #ifdef USE_JACK
154+ #ifdef USING_JACK
155155 settings.TrimDeviceType ();
156156 ret = new AudioOutputJACK (settings);
157157#else
@@ -352,7 +352,7 @@ AudioOutput::ADCVect* AudioOutput::GetOutputList(void)
352352 bool pasuspended = PulseHandler::Suspend (PulseHandler::kPulseSuspend );
353353#endif
354354
355- #ifdef USE_ALSA
355+ #ifdef USING_ALSA
356356 QMap<QString, QString> *alsadevs = AudioOutputALSA::GetDevices (" pcm" );
357357
358358 if (!alsadevs->empty ())
0 commit comments