From: Steinar H. Gunderson Date: Tue, 23 Aug 2016 16:31:35 +0000 (+0200) Subject: Make it clearer that the cutoff knob affects the channel lo-cut filter. X-Git-Tag: 1.4.0~86 X-Git-Url: https://git.sesse.net/?p=nageru;a=commitdiff_plain;h=fc2dffc4d7d9b4af457742bef47689fe425f20e4 Make it clearer that the cutoff knob affects the channel lo-cut filter. --- diff --git a/mainwindow.cpp b/mainwindow.cpp index ac59305..0837cc6 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -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)