mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-04 04:39:33 +01:00
Fix Mixbus well-known filter controls (HP/LP freq)
This commit is contained in:
parent
b9b6a57245
commit
45ff356819
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue