summaryrefslogtreecommitdiff
path: root/drumgizmo/enginefactory.cc
diff options
context:
space:
mode:
Diffstat (limited to 'drumgizmo/enginefactory.cc')
-rw-r--r--drumgizmo/enginefactory.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/drumgizmo/enginefactory.cc b/drumgizmo/enginefactory.cc
index c93607e..21ed93d 100644
--- a/drumgizmo/enginefactory.cc
+++ b/drumgizmo/enginefactory.cc
@@ -63,6 +63,9 @@ EngineFactory::EngineFactory()
#ifdef HAVE_OUTPUT_ALSA
output.push_back("alsa");
#endif
+#ifdef HAVE_OUTPUT_COREAUDIO
+ output.push_back("coreaudio");
+#endif
#ifdef HAVE_OUTPUT_JACKAUDIO
output.push_back("jackaudio");
#endif
@@ -151,6 +154,12 @@ std::unique_ptr<AudioOutputEngine> EngineFactory::createOutput(const std::string
return std::make_unique<AlsaOutputEngine>();
}
#endif
+#ifdef HAVE_OUTPUT_COREAUDIO
+ if(name == "coreaudio")
+ {
+ return std::make_unique<CoreAudioOutputEngine>();
+ }
+#endif
#ifdef HAVE_OUTPUT_JACKAUDIO
if(name == "jackaudio")
{