diff options
author | Hans Baier <hansfbaier@googlemail.com> | 2009-02-06 20:31:00 +0000 |
---|---|---|
committer | Hans Baier <hansfbaier@googlemail.com> | 2009-02-06 20:31:00 +0000 |
commit | 3d594b460b1d0fdbc6799ded15201174d9a2c03c (patch) | |
tree | ae1926a4c8ad24e3036b29d0e6585782bd596ed8 /libs/ardour | |
parent | 67d545c0809522e8d32b919941f2be56d94c7ba3 (diff) |
* Add SysEx Support to MidiModel / SMF
git-svn-id: svn://localhost/ardour2/branches/3.0@4492 d708f5d6-7413-0410-9779-e7cbd77b26cf
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; } } |