diff options
Diffstat (limited to 'libs/ardour/event_type_map.cc')
-rw-r--r-- | libs/ardour/event_type_map.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/ardour/event_type_map.cc b/libs/ardour/event_type_map.cc index 39c2e3d6eb..a4d8317a42 100644 --- a/libs/ardour/event_type_map.cc +++ b/libs/ardour/event_type_map.cc @@ -38,6 +38,12 @@ EventTypeMap::type_is_midi(uint32_t type) const return (type >= MidiCCAutomation) && (type <= MidiChannelPressureAutomation); } +bool +EventTypeMap::is_midi_parameter(const Evoral::Parameter& param) +{ + return type_is_midi(param.type()); +} + uint8_t EventTypeMap::parameter_midi_type(const Evoral::Parameter& param) const { |