X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=mainwindow.cpp;h=e4f52f4d874d2729409a9d0a60b7d7fbee504427;hb=01c2a21a4729cd054156308c55800d83f61798ce;hp=4b8eb51482543b01549a36d02a19c286f14abcc4;hpb=073bf315bd97c445e3e66e40d194881bbbaf9c85;p=nageru diff --git a/mainwindow.cpp b/mainwindow.cpp index 4b8eb51..e4f52f4 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -129,11 +129,13 @@ void MainWindow::mixer_created(Mixer *mixer) } // TODO: Fetch all of the values these for completeness, - // not just the enable knobs implied by --flat-audio. + // not just the enable knobs implied by flags. ui->locut_enabled->setChecked(global_mixer->get_locut_enabled()); + ui->gainstaging_knob->setValue(global_mixer->get_gain_staging_db()); ui->gainstaging_auto_checkbox->setChecked(global_mixer->get_gain_staging_auto()); - ui->limiter_enabled->setChecked(global_mixer->get_limiter_enabled()); ui->compressor_enabled->setChecked(global_mixer->get_compressor_enabled()); + ui->limiter_enabled->setChecked(global_mixer->get_limiter_enabled()); + ui->makeup_gain_auto_checkbox->setChecked(global_mixer->get_final_makeup_gain_auto()); char buf[256]; snprintf(buf, sizeof(buf), "%.1f dB", mixer->get_limiter_threshold_dbfs());