aboutsummaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-04-28 21:51:47 -0700
committerChris Robinson <[email protected]>2019-04-28 21:51:47 -0700
commit8ca849655f6c292527d0e260718ba0eca4179fb1 (patch)
treec59e25d4c119c448b852072b1e69ecc2e5edeb93 /utils
parentace7481b8ec3f6dfa45feda4795913c2206d04f5 (diff)
Properly replace sinc4 with cubic in alsoft-config
Diffstat (limited to 'utils')
-rw-r--r--utils/alsoft-config/mainwindow.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/alsoft-config/mainwindow.cpp b/utils/alsoft-config/mainwindow.cpp
index 920bc5a3..ad0223da 100644
--- a/utils/alsoft-config/mainwindow.cpp
+++ b/utils/alsoft-config/mainwindow.cpp
@@ -609,11 +609,11 @@ void MainWindow::loadConfig(const QString &fname)
QString resampler = settings.value("resampler").toString().trimmed();
ui->resamplerSlider->setValue(2);
ui->resamplerLabel->setText(resamplerList[2].name);
- /* The "cubic" and "sinc8" resamplers are no longer supported. Use "sinc4"
+ /* The "sinc4" and "sinc8" resamplers are no longer supported. Use "cubic"
* as a fallback.
*/
- if(resampler == "cubic" || resampler == "sinc8")
- resampler = "sinc4";
+ if(resampler == "sinc4" || resampler == "sinc8")
+ resampler = "cubic";
/* The "bsinc" resampler name is an alias for "bsinc12". */
else if(resampler == "bsinc")
resampler = "bsinc12";