]> git.sesse.net Git - nageru/commitdiff
Make it clearer that the cutoff knob affects the channel lo-cut filter.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Tue, 23 Aug 2016 16:31:35 +0000 (18:31 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Wed, 19 Oct 2016 22:55:44 +0000 (00:55 +0200)
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)