locut_cutoff_hz = cutoff_hz;
}
+ float get_locut_cutoff() const
+ {
+ return locut_cutoff_hz;
+ }
+
void set_locut_enabled(unsigned bus, bool enabled)
{
locut_enabled[bus] = enabled;
eq_level_db[bus_index][band] = db_gain;
}
+ float get_eq(unsigned bus_index, EQBand band) const
+ {
+ assert(band >= 0 && band < NUM_EQ_BANDS);
+ return eq_level_db[bus_index][band];
+ }
+
float get_limiter_threshold_dbfs() const
{
return limiter_threshold_dbfs;
AudioDevice alsa_inputs[MAX_ALSA_CARDS]; // Under audio_mutex.
std::vector<ALSAInput::Device> available_alsa_cards;
- std::atomic<float> locut_cutoff_hz;
+ std::atomic<float> locut_cutoff_hz{120};
StereoFilter locut[MAX_BUSES]; // Default cutoff 120 Hz, 24 dB/oct.
std::atomic<bool> locut_enabled[MAX_BUSES];
StereoFilter eq[MAX_BUSES][NUM_EQ_BANDS]; // The one for EQBand::MID isn't actually used (see comments in apply_eq()).