mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 23:35:03 +01:00
MCU: move filter controls from dynamics subview to eq subview
This commit is contained in:
parent
20269df975
commit
c61cbe8b02
1 changed files with 12 additions and 9 deletions
|
|
@ -357,6 +357,18 @@ void EQSubview::setup_vpot(
|
|||
pc = _subview_stripable->mapped_control(EQ_Enable);
|
||||
pot_id = "EQ";
|
||||
break;
|
||||
case 11:
|
||||
pc = _subview_stripable->mapped_control(LPF_Freq);
|
||||
pot_id = "LPF";
|
||||
break;
|
||||
case 12:
|
||||
pc = _subview_stripable->mapped_control(HPF_Freq);
|
||||
pot_id = "HPF";
|
||||
break;
|
||||
case 13:
|
||||
pc = _subview_stripable->mapped_control(HPF_Enable); // shared HP/LP
|
||||
pot_id = "Filter";
|
||||
break;
|
||||
}
|
||||
|
||||
} else { //mixbus or master bus ( these are currently the same for MB & 32C )
|
||||
|
|
@ -460,10 +472,6 @@ void DynamicsSubview::setup_vpot(
|
|||
|
||||
available.clear();
|
||||
|
||||
std::shared_ptr<AutomationControl> hpfc = _subview_stripable->mapped_control (HPF_Freq);
|
||||
std::shared_ptr<AutomationControl> lpfc = _subview_stripable->mapped_control (LPF_Freq);
|
||||
std::shared_ptr<AutomationControl> fec = _subview_stripable->mapped_control (HPF_Enable); // shared HP/LP
|
||||
|
||||
std::shared_ptr<AutomationControl> ctc = _subview_stripable->mapped_control (Comp_Threshold);
|
||||
std::shared_ptr<AutomationControl> crc = _subview_stripable->mapped_control (Comp_Ratio);
|
||||
std::shared_ptr<AutomationControl> cac = _subview_stripable->mapped_control (Comp_Attack);
|
||||
|
|
@ -483,11 +491,6 @@ void DynamicsSubview::setup_vpot(
|
|||
|
||||
std::vector<AutomationType> params;
|
||||
|
||||
//Mixbus32C needs to spill the filter controls into the comp section
|
||||
if (hpfc) { available.push_back (std::make_pair (hpfc, "HPF")); }
|
||||
if (lpfc) { available.push_back (std::make_pair (lpfc, "LPF")); }
|
||||
if (fec) { available.push_back (std::make_pair (fec, "FiltIn")); }
|
||||
|
||||
if (ctc) { available.push_back (std::make_pair (ctc, "Thresh")); }
|
||||
if (crc) { available.push_back (std::make_pair (crc, "Ratio")); }
|
||||
if (cac) { available.push_back (std::make_pair (cac, "Attk")); }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue