aboutsummaryrefslogtreecommitdiff
path: root/audio/mixxx/files/patch-src_sounddeviceportaudio.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'audio/mixxx/files/patch-src_sounddeviceportaudio.cpp')
-rw-r--r--audio/mixxx/files/patch-src_sounddeviceportaudio.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/audio/mixxx/files/patch-src_sounddeviceportaudio.cpp b/audio/mixxx/files/patch-src_sounddeviceportaudio.cpp
new file mode 100644
index 000000000000..ff34f62cef20
--- /dev/null
+++ b/audio/mixxx/files/patch-src_sounddeviceportaudio.cpp
@@ -0,0 +1,15 @@
+--- src/sounddeviceportaudio.cpp.orig 2013-05-08 23:20:26 UTC
++++ src/sounddeviceportaudio.cpp
+@@ -182,10 +182,10 @@ int SoundDevicePortAudio::open()
+ qDebug() << "Opened PortAudio stream successfully... starting";
+ }
+
+-#ifdef __LINUX__
++#if defined(__BSD__) || defined(__LINUX__)
+ //Attempt to dynamically load and resolve stuff in the PortAudio library
+ //in order to enable RT priority with ALSA.
+- QLibrary portaudio("libportaudio.so.2");
++ QLibrary portaudio("libportaudio.so");
+ if (!portaudio.load())
+ qWarning() << "Failed to dynamically load PortAudio library";
+ else