summaryrefslogtreecommitdiff
path: root/gtk2_ardour/mixer_strip.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2015-03-12 15:56:26 +0100
committerRobin Gareus <robin@gareus.org>2015-03-12 16:18:06 +0100
commit37a9ef0501143f086370c1c35ed915c3dd9b7fa6 (patch)
treeb7ae2b127e84e5fdf92e61459a9006bf6e5aaafa /gtk2_ardour/mixer_strip.cc
parent523509c3891952b38aa92ab6edd45993b759da48 (diff)
indicate MIDI port names (vs audio system ports)
Diffstat (limited to 'gtk2_ardour/mixer_strip.cc')
-rw-r--r--gtk2_ardour/mixer_strip.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/mixer_strip.cc b/gtk2_ardour/mixer_strip.cc
index cffb1fde1a..037a5d33f6 100644
--- a/gtk2_ardour/mixer_strip.cc
+++ b/gtk2_ardour/mixer_strip.cc
@@ -1237,10 +1237,10 @@ MixerStrip::update_io_button (boost::shared_ptr<ARDOUR::Route> route, Width widt
} else if (connection_name.find("system:midi_") == 0) {
if (for_input) {
// "system:midi_capture_123" -> "123"
- system_port = connection_name.substr(20);
+ system_port = "M " + connection_name.substr(20);
} else {
// "system:midi_playback_123" -> "123"
- system_port = connection_name.substr(21);
+ system_port = "M " + connection_name.substr(21);
}
if (system_ports.empty()) {