From a6343737453b34335a7a5494c8ac6b393d15604c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Goran=20Meki=C4=87?= Date: Fri, 29 Dec 2017 23:36:55 +0100 Subject: Open midi device in non-blocking mode --- drumgizmo/enginefactory.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'drumgizmo/enginefactory.cc') 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 EngineFactory::createInput(const std::string& return std::make_unique(*jack); } #endif -#ifdef HAVE_INPUT_OSS - if(name == "oss") +#ifdef HAVE_INPUT_OSSMIDI + if(name == "ossmidi") { - return std::make_unique(); + return std::make_unique(); } #endif -- cgit v1.2.3