Fix Mixbus well-known filter controls (HP/LP freq)
This commit is contained in:
parent
b9b6a57245
commit
45ff356819
@ -5576,13 +5576,13 @@ Route::filter_freq_controllable (bool hpf) const
|
|||||||
}
|
}
|
||||||
if (hpf) {
|
if (hpf) {
|
||||||
#ifdef MIXBUS32C
|
#ifdef MIXBUS32C
|
||||||
return boost::dynamic_pointer_cast<ARDOUR::AutomationControl> (eq->control (Evoral::Parameter (ARDOUR::PluginAutomation, 0, 6))); // HPF freq
|
return boost::dynamic_pointer_cast<ARDOUR::AutomationControl> (eq->control (Evoral::Parameter (ARDOUR::PluginAutomation, 0, 5))); // HPF freq
|
||||||
#else
|
#else
|
||||||
return boost::dynamic_pointer_cast<ARDOUR::AutomationControl> (eq->control (Evoral::Parameter (ARDOUR::PluginAutomation, 0, 2)));
|
return boost::dynamic_pointer_cast<ARDOUR::AutomationControl> (eq->control (Evoral::Parameter (ARDOUR::PluginAutomation, 0, 2)));
|
||||||
#endif
|
#endif
|
||||||
} else {
|
} else {
|
||||||
#ifdef MIXBUS32C
|
#ifdef MIXBUS32C
|
||||||
return boost::dynamic_pointer_cast<ARDOUR::AutomationControl> (eq->control (Evoral::Parameter (ARDOUR::PluginAutomation, 0, 5))); // LPF freq
|
return boost::dynamic_pointer_cast<ARDOUR::AutomationControl> (eq->control (Evoral::Parameter (ARDOUR::PluginAutomation, 0, 6))); // LPF freq
|
||||||
#else
|
#else
|
||||||
return boost::shared_ptr<AutomationControl>();
|
return boost::shared_ptr<AutomationControl>();
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user