summaryrefslogtreecommitdiff
path: root/drumgizmo/enginefactory.cc
diff options
context:
space:
mode:
authorGoran Mekić <meka@tilda.center>2017-12-29 23:36:55 +0100
committerGoran Mekić <meka@tilda.center>2017-12-30 15:18:26 +0100
commita6343737453b34335a7a5494c8ac6b393d15604c (patch)
tree73fb775a93302909e269205d443516e51359309c /drumgizmo/enginefactory.cc
parent476a82d1c431c26f71286a2d904144bfa5468101 (diff)
Open midi device in non-blocking 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