From 7123ef156273db039e12e7ff2df3a6008e765baf Mon Sep 17 00:00:00 2001 From: Stephane Letz Date: Fri, 13 Dec 2013 21:13:56 +0100 Subject: [PATCH] Correct JackCoreMidiDriver. --- common/JackNetAPI.cpp | 2 +- macosx/coremidi/JackCoreMidiDriver.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/common/JackNetAPI.cpp b/common/JackNetAPI.cpp index e39e7ae1..8fd34be3 100644 --- a/common/JackNetAPI.cpp +++ b/common/JackNetAPI.cpp @@ -1,5 +1,5 @@ /* -Copyright (C) 2009-2011 Grame +Copyright (C) 2009-2013 Grame This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by diff --git a/macosx/coremidi/JackCoreMidiDriver.cpp b/macosx/coremidi/JackCoreMidiDriver.cpp index a23b7ab5..b4ce204c 100644 --- a/macosx/coremidi/JackCoreMidiDriver.cpp +++ b/macosx/coremidi/JackCoreMidiDriver.cpp @@ -806,7 +806,7 @@ extern "C" { #endif // singleton kind of driver - static Jack::JackDriverClientInterface* driver = NULL; + static Jack::JackCoreMidiDriver* driver = NULL; SERVER_EXPORT jack_driver_desc_t * driver_get_descriptor() { @@ -848,7 +848,7 @@ extern "C" { // singleton kind of driver if (!driver) { driver = new Jack::JackCoreMidiDriver("system_midi", "coremidi", engine, table); - if (driver->Open(0, 0, 1, 1, virtual_in, virtual_out, false, "in", "out", 0, 0) == 0) { + if (driver->Open(1, 1, virtual_in, virtual_out, false, "in", "out", 0, 0) == 0) { return driver; } else { delete driver;