26b4c8f71f
It seems a lot of reverse dependencies were missed With hat: portmgr
18 lines
614 B
C++
18 lines
614 B
C++
--- drivers/rtaudio/audio_driver_rtaudio.cpp.orig 2016-08-09 07:52:15 UTC
|
|
+++ drivers/rtaudio/audio_driver_rtaudio.cpp
|
|
@@ -35,8 +35,14 @@ const char* AudioDriverRtAudio::get_name
|
|
|
|
#ifdef OSX_ENABLED
|
|
return "RtAudio-OSX";
|
|
-#elif defined(UNIX_ENABLED)
|
|
+#elif defined(UNIX_ENABLED) && (defined(ALSA_ENABLED) || defined(PULSEAUDIO_ENABLED) || defined(OSS_ENABLED))
|
|
+#if defined(OSS_ENABLED)
|
|
+ return "RtAudio-OSS";
|
|
+#elif defined(ALSA_ENABLED)
|
|
return "RtAudio-ALSA";
|
|
+#elif defined(PULSEAUDIO_ENABLED)
|
|
+ return "RtAudio-PulseAudio";
|
|
+#endif
|
|
#elif defined(WINDOWS_ENABLED)
|
|
return "RtAudio-DirectSound";
|
|
#else
|