indicate MIDI port names (vs audio system ports)
This commit is contained in:
parent
523509c389
commit
37a9ef0501
@ -1237,10 +1237,10 @@ MixerStrip::update_io_button (boost::shared_ptr<ARDOUR::Route> route, Width widt
|
|||||||
} else if (connection_name.find("system:midi_") == 0) {
|
} else if (connection_name.find("system:midi_") == 0) {
|
||||||
if (for_input) {
|
if (for_input) {
|
||||||
// "system:midi_capture_123" -> "123"
|
// "system:midi_capture_123" -> "123"
|
||||||
system_port = connection_name.substr(20);
|
system_port = "M " + connection_name.substr(20);
|
||||||
} else {
|
} else {
|
||||||
// "system:midi_playback_123" -> "123"
|
// "system:midi_playback_123" -> "123"
|
||||||
system_port = connection_name.substr(21);
|
system_port = "M " + connection_name.substr(21);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (system_ports.empty()) {
|
if (system_ports.empty()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user