merge 3.0-panexp (pan experiments) branch, revisions 8534-8585 into 3.0, thus ending...
[ardour.git] / libs / evoral / src / ControlList.cpp
index cc8ba45001b5150d7a531e8fba47985ee3b7449d..6738e8c1ac897929268a419926af186a6aa9005c 100644 (file)
@@ -394,6 +394,10 @@ ControlList::add (double when, double value)
            control surface (GUI, MIDI, OSC etc) 
         */
 
+        if (!clamp_value (when, value)) {
+                return;
+        }
+
        {
                Glib::Mutex::Lock lm (_lock);
                ControlEvent cp (when, 0.0f);