diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/engine/JackAudioDriver.cpp | 2 | ||||
-rw-r--r-- | src/engine/JackMidiDriver.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/engine/JackAudioDriver.cpp b/src/engine/JackAudioDriver.cpp index 68646434..667b6d91 100644 --- a/src/engine/JackAudioDriver.cpp +++ b/src/engine/JackAudioDriver.cpp @@ -71,7 +71,7 @@ void JackAudioPort::create() { _jack_port = jack_port_register(_driver->jack_client(), - _patch_port->path().c_str(), JACK_DEFAULT_AUDIO_TYPE, + _patch_port->path().chop_start("/").c_str(), JACK_DEFAULT_AUDIO_TYPE, (_patch_port->is_input()) ? JackPortIsInput : JackPortIsOutput, 0); diff --git a/src/engine/JackMidiDriver.cpp b/src/engine/JackMidiDriver.cpp index ffda8367..039bf7b0 100644 --- a/src/engine/JackMidiDriver.cpp +++ b/src/engine/JackMidiDriver.cpp @@ -65,7 +65,7 @@ void JackMidiPort::create() { _jack_port = jack_port_register(_driver->jack_client(), - _patch_port->path().c_str(), JACK_DEFAULT_MIDI_TYPE, + _patch_port->path().chop_start("/").c_str(), JACK_DEFAULT_MIDI_TYPE, (_patch_port->is_input()) ? JackPortIsInput : JackPortIsOutput, 0); |