* make MIDI-specific menu show up on all MIDI lanes
[ardour.git] / libs / ardour / event_type_map.cc
index 39c2e3d6eb5b247483161bbed4947df7b7f1348d..a4d8317a42fe65658295bac3be8c05df86ddc32d 100644 (file)
@@ -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
 {