diff options
author | David Robillard <d@drobilla.net> | 2009-02-14 23:41:05 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-02-14 23:41:05 +0000 |
commit | de2681f7cddc95e5a859c40e24d302631336a35a (patch) | |
tree | 5d33cc86ad8bc88a681d72338235794291aa6b6f /libs/ardour/event_type_map.cc | |
parent | d0cc3120ae1d2f58942a6cdd1120dd0de1510aba (diff) |
Remove superfluous typedefs.
Don't set range on sysex parameters (fix warning).
git-svn-id: svn://localhost/ardour2/branches/3.0@4568 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/event_type_map.cc')
-rw-r--r-- | libs/ardour/event_type_map.cc | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/libs/ardour/event_type_map.cc b/libs/ardour/event_type_map.cc index 3f36aa6632..063090cef9 100644 --- a/libs/ardour/event_type_map.cc +++ b/libs/ardour/event_type_map.cc @@ -116,16 +116,12 @@ EventTypeMap::interpolation_of(const Evoral::Parameter& param) case MIDI_CTL_OMNI_OFF: case MIDI_CTL_OMNI_ON: case MIDI_CTL_MONO: - case MIDI_CTL_POLY: - + case MIDI_CTL_POLY: return Evoral::ControlList::Discrete; break; - default: return Evoral::ControlList::Linear; break; } - break; - case MidiPgmChangeAutomation: return Evoral::ControlList::Discrete; break; case MidiChannelPressureAutomation: return Evoral::ControlList::Linear; break; case MidiPitchBenderAutomation: return Evoral::ControlList::Linear; break; @@ -166,6 +162,8 @@ EventTypeMap::new_parameter(uint32_t type, uint8_t channel, uint32_t id) const Evoral::MIDI::controller_range(min, max, normal); break; case MidiPitchBenderAutomation: Evoral::MIDI::bender_range(min, max, normal); break; + case MidiSystemExclusiveAutomation: + return p; } p.set_range(type, min, max, normal); |