summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2008-01-15 02:58:19 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2008-01-15 02:58:19 +0000
commit69b94c201d39c6a64fa6f1e9412578d482d0ce5b (patch)
treefcea7fdeaab018a1de3721fd7279e892719f734b
parent8bea8385ab5a95eb6eeefc1410a1031f1d245b55 (diff)
fix engine_dialog.cc changes to compile on OS X2.2
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2918 d708f5d6-7413-0410-9779-e7cbd77b26cf
-rw-r--r--gtk2_ardour/engine_dialog.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk2_ardour/engine_dialog.cc b/gtk2_ardour/engine_dialog.cc
index f8549e0e65..032bdb53b8 100644
--- a/gtk2_ardour/engine_dialog.cc
+++ b/gtk2_ardour/engine_dialog.cc
@@ -582,6 +582,8 @@ EngineControl::enumerate_devices (const string& driver)
#ifdef __APPLE__
devices[driver] = enumerate_coreaudio_devices ();
#endif
+
+#ifndef __APPLE__
} else if (driver == "ALSA") {
devices[driver] = enumerate_alsa_devices ();
} else if (driver == "FFADO") {
@@ -593,6 +595,9 @@ EngineControl::enumerate_devices (const string& driver)
} else if (driver == "NetJACK") {
devices[driver] = enumerate_netjack_devices ();
}
+#else
+ }
+#endif
}
#ifdef __APPLE__