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;
reduction_meter->set_ref_level(0.0f);
reduction_meter->set_flip(true);
}
+
+ update_cutoff_labels(global_mixer->get_audio_mixer()->get_locut_cutoff());
}
void MainWindow::mixer_shutting_down()
float octaves = value * 0.1f;
float cutoff_hz = 20.0 * pow(2.0, octaves);
global_mixer->get_audio_mixer()->set_locut_cutoff(cutoff_hz);
+ update_cutoff_labels(cutoff_hz);
+}
+void MainWindow::update_cutoff_labels(float cutoff_hz)
+{
char buf[256];
snprintf(buf, sizeof(buf), "%ld Hz", lrintf(cutoff_hz));
ui->locut_cutoff_display->setText(buf);
void setup_audio_expanded_view();
bool eventFilter(QObject *watched, QEvent *event) override;
void set_white_balance(int channel_number, int x, int y);
+ void update_cutoff_labels(float cutoff_hz);
void update_eq_label(unsigned bus_index, EQBand band, float gain_db);
// Called from DiskSpaceEstimator.