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