aboutsummaryrefslogtreecommitdiffstats
path: root/utils/alsoft-config
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2017-02-19 14:36:06 -0800
committerChris Robinson <[email protected]>2017-02-19 16:45:17 -0800
commitd45dd9c668b2f4331492600d8ff99dc20c068664 (patch)
tree346dc9091703a7f3c5c76b73e4dc10874b0dc814 /utils/alsoft-config
parent247f56249ade334f8f7ef9eda9c380af0278562f (diff)
Remove the sinc8 resampler option
Perf shows less than 1 percent CPU difference from the higher quality bsinc resampler, but uses almost twice as much memory (a 128KB lookup table).
Diffstat (limited to 'utils/alsoft-config')
-rw-r--r--utils/alsoft-config/mainwindow.cpp8
-rw-r--r--utils/alsoft-config/mainwindow.ui14
2 files changed, 11 insertions, 11 deletions
diff --git a/utils/alsoft-config/mainwindow.cpp b/utils/alsoft-config/mainwindow.cpp
index 4ae89f09..89e4c30a 100644
--- a/utils/alsoft-config/mainwindow.cpp
+++ b/utils/alsoft-config/mainwindow.cpp
@@ -101,7 +101,6 @@ static const struct NameValuePair {
{ "Linear", "linear" },
{ "Default (Linear)", "" },
{ "4-Point Sinc", "sinc4" },
- { "8-Point Sinc", "sinc8" },
{ "Band-limited Sinc", "bsinc" },
{ "", "" }
@@ -598,9 +597,10 @@ void MainWindow::loadConfig(const QString &fname)
QString resampler = settings.value("resampler").toString().trimmed();
ui->resamplerSlider->setValue(0);
- /* The "cubic" resampler is no longer supported. It's been replaced by
- * "sinc4". */
- if(resampler == "cubic")
+ /* The "cubic" and "sinc8" resamplers are no longer supported. Use "sinc4"
+ * as a fallback.
+ */
+ if(resampler == "cubic" || resampler == "sinc8")
resampler = "sinc4";
for(int i = 0;resamplerList[i].name[0];i++)
{
diff --git a/utils/alsoft-config/mainwindow.ui b/utils/alsoft-config/mainwindow.ui
index 0356d491..06f12546 100644
--- a/utils/alsoft-config/mainwindow.ui
+++ b/utils/alsoft-config/mainwindow.ui
@@ -7,13 +7,13 @@
<x>0</x>
<y>0</y>
<width>564</width>
- <height>454</height>
+ <height>460</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>564</width>
- <height>454</height>
+ <height>460</height>
</size>
</property>
<property name="windowTitle">
@@ -131,8 +131,8 @@ to stereo output.</string>
<rect>
<x>380</x>
<y>20</y>
- <width>96</width>
- <height>22</height>
+ <width>91</width>
+ <height>29</height>
</rect>
</property>
<property name="toolTip">
@@ -2075,8 +2075,8 @@ added by the ALC_EXT_DEDICATED extension.</string>
<rect>
<x>160</x>
<y>20</y>
- <width>131</width>
- <height>22</height>
+ <width>123</width>
+ <height>29</height>
</rect>
</property>
<property name="sizeAdjustPolicy">
@@ -2245,7 +2245,7 @@ added by the ALC_EXT_DEDICATED extension.</string>
<x>0</x>
<y>0</y>
<width>564</width>
- <height>19</height>
+ <height>27</height>
</rect>
</property>
<widget class="QMenu" name="menuFile">