| 927 | } |
| 928 | |
| 929 | void MainWindow::onBs2bPresetUpdated() |
| 930 | { |
| 931 | if (_blockApply) |
| 932 | { |
| 933 | return; |
| 934 | } |
| 935 | |
| 936 | const auto index = PresetProvider::BS2B::lookupPreset(ui->crossfeed_mode->currentText()); |
| 937 | |
| 938 | switch (index) |
| 939 | { |
| 940 | case 0: // BS2B weak |
| 941 | ui->bs2b_fcut->setValueA(700); |
| 942 | ui->bs2b_feed->setValueA(60); |
| 943 | break; |
| 944 | case 1: // BS2B strong |
| 945 | ui->bs2b_fcut->setValueA(650); |
| 946 | ui->bs2b_feed->setValueA(95); |
| 947 | break; |
| 948 | } |
| 949 | |
| 950 | ui->bs2b_custom_box->setEnabled(index == 99); |
| 951 | |
| 952 | applyConfig(); |
| 953 | } |
| 954 | |
| 955 | void MainWindow::onReverbPresetUpdated() |
| 956 | { |
nothing calls this directly
no test coverage detected