From 6907b8c5d709e246eb2f1ab109a52af1158e8e17 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 13 May 2009 20:52:32 +0000 Subject: Fix Jack port names. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2004 a436a847-0d15-0410-975c-d299462d15a1 --- src/engine/JackAudioDriver.cpp | 2 +- src/engine/JackMidiDriver.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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); -- cgit v1.2.1