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;