Browse Source

Correct JackCoreMidiDriver.

tags/v1.9.10
Stephane Letz 12 years ago
parent
commit
7123ef1562
2 changed files with 3 additions and 3 deletions
  1. +1
    -1
      common/JackNetAPI.cpp
  2. +2
    -2
      macosx/coremidi/JackCoreMidiDriver.cpp

+ 1
- 1
common/JackNetAPI.cpp View File

@@ -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


+ 2
- 2
macosx/coremidi/JackCoreMidiDriver.cpp View File

@@ -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;


Loading…
Cancel
Save