summaryrefslogtreecommitdiff
path: root/libs/ardour/event_type_map.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/event_type_map.cc')
-rw-r--r--libs/ardour/event_type_map.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/libs/ardour/event_type_map.cc b/libs/ardour/event_type_map.cc
index cd78fd02f7..2d724a26ef 100644
--- a/libs/ardour/event_type_map.cc
+++ b/libs/ardour/event_type_map.cc
@@ -57,5 +57,12 @@ EventTypeMap::midi_event_type(uint8_t status) const
}
}
+bool
+EventTypeMap::is_integer(const Evoral::Parameter& param) const
+{
+ return ( param.type() >= MidiCCAutomation
+ && param.type() <= MidiChannelPressureAutomation);
+}
+
} // namespace ARDOUR