diff options
Diffstat (limited to 'libs/ardour')
-rw-r--r-- | libs/ardour/ardour/types.h | 1 | ||||
-rw-r--r-- | libs/ardour/event_type_map.cc | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/libs/ardour/ardour/types.h b/libs/ardour/ardour/types.h index f98b3d993a..7532c63312 100644 --- a/libs/ardour/ardour/types.h +++ b/libs/ardour/ardour/types.h @@ -91,6 +91,7 @@ namespace ARDOUR { MidiPgmChangeAutomation = 0x21, MidiPitchBenderAutomation = 0x22, MidiChannelPressureAutomation = 0x23, + MidiSystemExclusiveAutomation = 0x24, FadeInAutomation = 0x40, FadeOutAutomation = 0x80, EnvelopeAutomation = 0x100 diff --git a/libs/ardour/event_type_map.cc b/libs/ardour/event_type_map.cc index 3b4fefdcea..3f36aa6632 100644 --- a/libs/ardour/event_type_map.cc +++ b/libs/ardour/event_type_map.cc @@ -52,6 +52,7 @@ EventTypeMap::parameter_midi_type(const Evoral::Parameter& param) const case MidiPgmChangeAutomation: return MIDI_CMD_PGM_CHANGE; break; case MidiChannelPressureAutomation: return MIDI_CMD_CHANNEL_PRESSURE; break; case MidiPitchBenderAutomation: return MIDI_CMD_BENDER; break; + case MidiSystemExclusiveAutomation: return MIDI_CMD_COMMON_SYSEX; break; default: return 0; } } @@ -64,6 +65,7 @@ EventTypeMap::midi_event_type(uint8_t status) const case MIDI_CMD_PGM_CHANGE: return MidiPgmChangeAutomation; break; case MIDI_CMD_CHANNEL_PRESSURE: return MidiChannelPressureAutomation; break; case MIDI_CMD_BENDER: return MidiPitchBenderAutomation; break; + case MIDI_CMD_COMMON_SYSEX: return MidiSystemExclusiveAutomation; break; default: return 0; } } |