projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65b6f39
)
VKeybd: Set default MIDI port flags
author
Robin Gareus
<robin@gareus.org>
Thu, 5 Dec 2019 22:40:29 +0000
(23:40 +0100)
committer
Robin Gareus
<robin@gareus.org>
Thu, 5 Dec 2019 22:40:29 +0000
(23:40 +0100)
libs/ardour/port_manager.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/port_manager.cc
b/libs/ardour/port_manager.cc
index 8be1f7f7e949538b337b84c9a4a239face0fe2bf..d423ddbd741611634e8fc4c1d385af2f98d9d551 100644
(file)
--- a/
libs/ardour/port_manager.cc
+++ b/
libs/ardour/port_manager.cc
@@
-1281,6
+1281,8
@@
PortManager::fill_midi_port_info_locked ()
if (port_is_control_only (*p)) {
flags = MidiPortControl;
+ } else if (*p == _backend->my_name() + ":" + _("Virtual Keyboard")) {
+ flags = MidiPortFlags(MidiPortSelection | MidiPortMusic);
}
MidiPortInformation mpi (_backend->name(), *p, true, flags, true);