1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00
freebsd-ports/audio/mixxx/files/patch-src__soundmanagerconfig.cpp
Martin Wilke 4995e4a28e - Update to version 1.10.0
PR:		165004
Submitted by:	Ports Fury
2012-02-20 00:06:48 +00:00

12 lines
567 B
C++

--- src/soundmanagerconfig.cpp.orig 2011-12-24 11:53:20.000000000 +0900
+++ src/soundmanagerconfig.cpp 2012-01-16 06:10:09.000000000 +0900
@@ -290,7 +290,7 @@
if (flags & SoundManagerConfig::API) {
QList<QString> apiList = soundManager->getHostAPIList();
if (!apiList.isEmpty()) {
-#ifdef __LINUX__
+#if defined(__BSD__) || defined(__LINUX__)
//Check for JACK and use that if it's available, otherwise use ALSA
if (apiList.contains(MIXXX_PORTAUDIO_JACK_STRING)) {
m_api = MIXXX_PORTAUDIO_JACK_STRING;