]> git.sesse.net Git - nageru/blobdiff - mainwindow.cpp
Make it clearer that the cutoff knob affects the channel lo-cut filter.
[nageru] / mainwindow.cpp
index ac59305302c60ff84650d7ab294564878da8bae1..0837cc6afd70d3f47849f7954a6724e6524c6891 100644 (file)
@@ -448,6 +448,11 @@ void MainWindow::cutoff_knob_changed(int value)
        snprintf(buf, sizeof(buf), "%ld Hz", lrintf(cutoff_hz));
        ui->locut_cutoff_display->setText(buf);
        ui->locut_cutoff_display_2->setText(buf);
+
+       for (unsigned bus_index = 0; bus_index < audio_expanded_views.size(); ++bus_index) {
+               audio_expanded_views[bus_index]->locut_enabled->setText(
+                       QString("Lo-cut: ") + buf);
+       }
 }
 
 void MainWindow::report_disk_space(off_t free_bytes, double estimated_seconds_left)