summaryrefslogtreecommitdiffstats
path: root/src/engine/JackMidiDriver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/JackMidiDriver.cpp')
-rw-r--r--src/engine/JackMidiDriver.cpp2
1 files changed, 1 insertions, 1 deletions
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);