diff options
author | Chris Robinson <[email protected]> | 2017-08-27 10:38:33 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2017-08-27 10:38:33 -0700 |
commit | fdce192aabb6f4e3f78f4f2bf9af936745a53178 (patch) | |
tree | 94c2f991d54f490eeb7ee0275c266fed351a070a /utils/alsoft-config/mainwindow.cpp | |
parent | a4d357de06b3860f49f2f6f70899d825b920947b (diff) |
Add bsinc24 to alsoft-config
Diffstat (limited to 'utils/alsoft-config/mainwindow.cpp')
-rw-r--r-- | utils/alsoft-config/mainwindow.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/utils/alsoft-config/mainwindow.cpp b/utils/alsoft-config/mainwindow.cpp index a743ca6a..5649e7de 100644 --- a/utils/alsoft-config/mainwindow.cpp +++ b/utils/alsoft-config/mainwindow.cpp @@ -101,7 +101,8 @@ static const struct NameValuePair { { "Linear", "linear" }, { "Default (Linear)", "" }, { "4-Point Sinc", "sinc4" }, - { "Band-limited Sinc", "bsinc" }, + { "Band-limited Sinc (12/24)", "bsinc12" }, + { "Band-limited Sinc (24/48)", "bsinc24" }, { "", "" } }, stereoModeList[] = { @@ -610,6 +611,9 @@ void MainWindow::loadConfig(const QString &fname) */ if(resampler == "cubic" || resampler == "sinc8") resampler = "sinc4"; + /* The "bsinc" resampler name is an alias for "bsinc12". */ + else if(resampler == "bsinc") + resampler = "bsinc12"; for(int i = 0;resamplerList[i].name[0];i++) { if(resampler == resamplerList[i].value) |