ignore negative value locates and MMC locate commands
[ardour.git] / libs / ardour / event_type_map.cc
index 7cf6045d86bc4fa85c875071e01480c9a9d42f0e..29a363c78b42952220af25b8b162ff5b59855a8a 100644 (file)
@@ -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: