summaryrefslogtreecommitdiff
path: root/drumgizmo/enginefactory.cc
diff options
context:
space:
mode:
Diffstat (limited to 'drumgizmo/enginefactory.cc')
-rw-r--r--drumgizmo/enginefactory.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/drumgizmo/enginefactory.cc b/drumgizmo/enginefactory.cc
index d54c3e2..c93607e 100644
--- a/drumgizmo/enginefactory.cc
+++ b/drumgizmo/enginefactory.cc
@@ -118,10 +118,10 @@ std::unique_ptr<AudioInputEngine> EngineFactory::createInput(const std::string&
return std::make_unique<JackMidiInputEngine>(*jack);
}
#endif
-#ifdef HAVE_INPUT_OSS
- if(name == "oss")
+#ifdef HAVE_INPUT_OSSMIDI
+ if(name == "ossmidi")
{
- return std::make_unique<OssMidiInputEngine>();
+ return std::make_unique<OSSInputEngine>();
}
#endif