if (what_changed.contains (ARDOUR::Properties::selected)) {
if (_stripable) {
- _surface->write (_select->set_state (_stripable->presentation_info().selected()));
- _surface->mcp().update_selected (_stripable, _stripable->presentation_info().selected());
+ _surface->write (_select->set_state (_stripable->is_selected()));
}
}
}
case EQShape:
control = r->eq_shape_controllable (band);
break;
- case EQHPF:
- control = r->eq_hpf_controllable ();
- break;
case EQEnable:
control = r->eq_enable_controllable ();
break;
+#ifndef MIXBUS32C
+ case EQHPF:
+ control = r->eq_hpf_controllable ();
+ break;
+#endif
default:
break;
}
case CompEnable:
control = r->comp_enable_controllable ();
break;
+#ifdef MIXBUS32C
+ case EQHPF:
+ control = r->eq_hpf_controllable ();
+ break;
+ case EQLPF:
+ control = r->eq_lpf_controllable ();
+ break;
+ case EQFilterEnable:
+ control = r->filter_enable_controllable ();
+ break;
+#endif
default:
break;
}
case EQQ:
case EQShape:
case EQHPF:
+ case EQLPF:
case CompThreshold:
case CompSpeed:
case CompMakeup:
pending_display[1] = buf;
screen_hold = true;
break;
+ case EQFilterEnable:
case EQEnable:
case CompEnable:
if (val >= 0.5) {
boost::shared_ptr<AutomationControl> kc = r->comp_makeup_controllable ();
boost::shared_ptr<AutomationControl> ec = r->comp_enable_controllable ();
+#ifdef MIXBUS32C //Mixbus32C needs to spill the filter controls into the comp section
+ boost::shared_ptr<AutomationControl> hpfc = r->eq_hpf_controllable ();
+ boost::shared_ptr<AutomationControl> lpfc = r->eq_lpf_controllable ();
+ boost::shared_ptr<AutomationControl> fec = r->filter_enable_controllable ();
+#endif
+
uint32_t pos = _surface->mcp().global_index (*this);
/* we will control the pos-th available parameter, from the list in the
if (kc) { available.push_back (kc); params.push_back (CompMakeup); }
if (ec) { available.push_back (ec); params.push_back (CompEnable); }
+#ifdef MIXBUS32C //Mixbus32C needs to spill the filter controls into the comp section
+ if (hpfc) { available.push_back (hpfc); params.push_back (EQHPF); }
+ if (lpfc) { available.push_back (lpfc); params.push_back (EQLPF); }
+ if (fec) { available.push_back (fec); params.push_back (EQFilterEnable); }
+#endif
+
if (pos >= available.size()) {
/* this knob is not needed to control the available parameters */
_vpot->set_control (boost::shared_ptr<AutomationControl>());
case CompRedux:
pot_id = "Redux";
break;
+#ifdef MIXBUS32C
+ case CompEnable:
+ pot_id = "CompIn";
+ break;
+ case EQHPF:
+ pot_id = "HPF";
+ break;
+ case EQLPF:
+ pot_id = "LPF";
+ break;
+ case EQFilterEnable:
+ pot_id = "FiltIn";
+ break;
+#else
case CompEnable:
pot_id = "on/off";
break;
+#endif
default:
break;
}
band_name = r->eq_band_name (eq_band);
switch (parameter) {
+#ifdef MIXBUS32C //in 32C, we swap the order of freq/gain to match the GUI
+ case 0:
+ pc = r->eq_freq_controllable (eq_band);
+ param = EQFrequency;
+ break;
+ case 1:
+ pc = r->eq_gain_controllable (eq_band);
+ param = EQGain;
+ break;
+#else
case 0:
pc = r->eq_gain_controllable (eq_band);
param = EQGain;
pc = r->eq_freq_controllable (eq_band);
param = EQFrequency;
break;
+#endif
case 2:
pc = r->eq_q_controllable (eq_band);
param = EQQ;
uint32_t parameter = global_pos - total_band_parameters;
switch (parameter) {
+#ifndef MIXBUS32C
case 0: /* first control after band parameters */
pc = r->eq_hpf_controllable();
param = EQHPF;
pc = r->eq_enable_controllable();
param = EQEnable;
break;
+#endif
default:
/* nothing to control */
_vpot->set_control (boost::shared_ptr<AutomationControl>());
case EQShape:
pot_id = band_name + " Shp";
break;
- case EQHPF:
- pot_id = "HPFreq";
- break;
case EQEnable:
pot_id = "on/off";
break;
+#ifndef MIXBUS32C
+ case EQHPF:
+ pot_id = "HPFreq";
+ break;
+#endif
default:
break;
}