Fix well-known control LPF/HPF order.
authorRobin Gareus <robin@gareus.org>
Thu, 5 Dec 2019 15:43:20 +0000 (16:43 +0100)
committerRobin Gareus <robin@gareus.org>
Thu, 5 Dec 2019 15:43:20 +0000 (16:43 +0100)
libs/ardour/route.cc

index 15a609dbfd3af91774b582d9a5f30a662a9e59dc..a06d4fd3d6e623973424be5f678b2e4cbb1ae94d 100644 (file)
@@ -5559,13 +5559,13 @@ Route::filter_freq_controllable (bool hpf) const
        }
        if (hpf) {
 #ifdef MIXBUS32C
-               return boost::dynamic_pointer_cast<ARDOUR::AutomationControl> (eq->control (Evoral::Parameter (ARDOUR::PluginAutomation, 0, 5))); // HPF freq
+               return boost::dynamic_pointer_cast<ARDOUR::AutomationControl> (eq->control (Evoral::Parameter (ARDOUR::PluginAutomation, 0, 6))); // HPF freq
 #else
                return boost::dynamic_pointer_cast<ARDOUR::AutomationControl> (eq->control (Evoral::Parameter (ARDOUR::PluginAutomation, 0, 2)));
 #endif
        } else {
 #ifdef MIXBUS32C
-               return boost::dynamic_pointer_cast<ARDOUR::AutomationControl> (eq->control (Evoral::Parameter (ARDOUR::PluginAutomation, 0, 6))); // LPF freq
+               return boost::dynamic_pointer_cast<ARDOUR::AutomationControl> (eq->control (Evoral::Parameter (ARDOUR::PluginAutomation, 0, 5))); // LPF freq
 #else
                return boost::shared_ptr<AutomationControl>();
 #endif