summaryrefslogtreecommitdiff
path: root/libs/surfaces/faderport8/faderport8.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2017-05-14 00:16:02 +0200
committerRobin Gareus <robin@gareus.org>2017-05-14 00:17:11 +0200
commit3d26a29e8a2ed1286091fda2dd480bf5bbebe365 (patch)
tree2f5157292d2c39fa668ff5d2acafab477b7cb101 /libs/surfaces/faderport8/faderport8.cc
parent3e2004aa73b4807bd470b3a816b5343a5127d7a7 (diff)
Sanitize "well-known" ctrl API
Diffstat (limited to 'libs/surfaces/faderport8/faderport8.cc')
-rw-r--r--libs/surfaces/faderport8/faderport8.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/surfaces/faderport8/faderport8.cc b/libs/surfaces/faderport8/faderport8.cc
index 7a2448e939..8d2898c2f2 100644
--- a/libs/surfaces/faderport8/faderport8.cc
+++ b/libs/surfaces/faderport8/faderport8.cc
@@ -1064,13 +1064,13 @@ FaderPort8::build_well_known_processor_ctrls (boost::shared_ptr<Stripable> s, bo
int cnt = s->eq_band_cnt();
#ifdef MIXBUS32C
- PUSH_BACK_NON_NULL ("Flt In", s->filter_enable_controllable ());
- PUSH_BACK_NON_NULL ("HP Freq", s->eq_hpf_controllable ());
- PUSH_BACK_NON_NULL ("LP Freq", s->eq_lpf_controllable ());
+ PUSH_BACK_NON_NULL ("Flt In", s->filter_enable_controllable (true)); // both HP/LP
+ PUSH_BACK_NON_NULL ("HP Freq", s->filter_freq_controllable (true));
+ PUSH_BACK_NON_NULL ("LP Freq", s->filter_freq_controllable (false));
PUSH_BACK_NON_NULL ("EQ In", s->eq_enable_controllable ());
#elif defined (MIXBUS)
PUSH_BACK_NON_NULL ("EQ In", s->eq_enable_controllable ());
- PUSH_BACK_NON_NULL ("HP Freq", s->eq_hpf_controllable ());
+ PUSH_BACK_NON_NULL ("HP Freq", s->filter_freq_controllable (true));
#endif
for (int band = 0; band < cnt; ++band) {