diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2014-07-01 14:36:58 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2014-07-01 14:37:05 -0400 |
commit | 0a87bbc37b5cba75853cf923acb66c7520c1b89b (patch) | |
tree | 1524d144e3ac358a8f5f1cbbb5fbb1a705cb1eac /libs/ardour/event_type_map.cc | |
parent | e3a6ea02731f35f6011428df0374e44ff16ce616 (diff) |
add partial support for mute automation (playback does not work, data is not recorded in the session)
Diffstat (limited to 'libs/ardour/event_type_map.cc')
-rw-r--r-- | libs/ardour/event_type_map.cc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/libs/ardour/event_type_map.cc b/libs/ardour/event_type_map.cc index 7cf6045d86..29a363c78b 100644 --- a/libs/ardour/event_type_map.cc +++ b/libs/ardour/event_type_map.cc @@ -163,14 +163,17 @@ EventTypeMap::new_parameter(uint32_t type, uint8_t channel, uint32_t id) const /* default 0.0 - 1.0 is fine */ break; case PluginAutomation: - case SoloAutomation: - case MuteAutomation: case FadeInAutomation: case FadeOutAutomation: case EnvelopeAutomation: max = 2.0f; normal = 1.0f; break; + case SoloAutomation: + case MuteAutomation: + max = 1.0f; + normal = 0.0f; + break; case MidiCCAutomation: case MidiPgmChangeAutomation: case MidiChannelPressureAutomation: |