From 066a48c5fb8cee4b32bd7145dd78147ba709f067 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Tue, 5 Aug 2014 02:43:04 -0700 Subject: Update alsoft-config Adds Compressor effect and SSE 4.1 for exclusion, and alters the HRTF tables tooltip to refer the the default data sets instead of the built-in set. --- utils/alsoft-config/mainwindow.cpp | 6 ++++ utils/alsoft-config/mainwindow.ui | 72 ++++++++++++++++++++++++++------------ 2 files changed, 55 insertions(+), 23 deletions(-) (limited to 'utils/alsoft-config') diff --git a/utils/alsoft-config/mainwindow.cpp b/utils/alsoft-config/mainwindow.cpp index 0047233f..f009208a 100644 --- a/utils/alsoft-config/mainwindow.cpp +++ b/utils/alsoft-config/mainwindow.cpp @@ -220,6 +220,7 @@ void MainWindow::loadConfig(const QString &fname) disabledCpuExts.begin(), std::mem_fun_ref(&QString::trimmed)); ui->disableSSECheckBox->setChecked(disabledCpuExts.contains("sse", Qt::CaseInsensitive)); ui->disableSSE2CheckBox->setChecked(disabledCpuExts.contains("sse2", Qt::CaseInsensitive)); + ui->disableSSE41CheckBox->setChecked(disabledCpuExts.contains("sse4.1", Qt::CaseInsensitive)); ui->disableNeonCheckBox->setChecked(disabledCpuExts.contains("neon", Qt::CaseInsensitive)); if(settings.value("hrtf").toString() == QString()) @@ -291,6 +292,7 @@ void MainWindow::loadConfig(const QString &fname) ui->disableEaxReverbCheck->setChecked(excludefx.contains("eaxreverb", Qt::CaseInsensitive)); ui->disableStdReverbCheck->setChecked(excludefx.contains("reverb", Qt::CaseInsensitive)); ui->disableChorusCheck->setChecked(excludefx.contains("chorus", Qt::CaseInsensitive)); + ui->disableCompressorCheck->setChecked(excludefx.contains("compressor", Qt::CaseInsensitive)); ui->disableDistortionCheck->setChecked(excludefx.contains("distortion", Qt::CaseInsensitive)); ui->disableEchoCheck->setChecked(excludefx.contains("echo", Qt::CaseInsensitive)); ui->disableEqualizerCheck->setChecked(excludefx.contains("equalizer", Qt::CaseInsensitive)); @@ -359,6 +361,8 @@ void MainWindow::saveConfig(const QString &fname) const strlist.append("sse"); if(ui->disableSSE2CheckBox->isChecked()) strlist.append("sse2"); + if(ui->disableSSE41CheckBox->isChecked()) + strlist.append("sse4.1"); if(ui->disableNeonCheckBox->isChecked()) strlist.append("neon"); settings.setValue("disable-cpu-exts", strlist.join(QChar(','))); @@ -418,6 +422,8 @@ void MainWindow::saveConfig(const QString &fname) const strlist.append("chorus"); if(ui->disableDistortionCheck->isChecked()) strlist.append("distortion"); + if(ui->disableCompressorCheck->isChecked()) + strlist.append("compressor"); if(ui->disableEchoCheck->isChecked()) strlist.append("echo"); if(ui->disableEqualizerCheck->isChecked()) diff --git a/utils/alsoft-config/mainwindow.ui b/utils/alsoft-config/mainwindow.ui index 4c7d0c69..7a0276d8 100644 --- a/utils/alsoft-config/mainwindow.ui +++ b/utils/alsoft-config/mainwindow.ui @@ -58,8 +58,8 @@ 120 20 - 206 - 23 + 188 + 22 @@ -147,8 +147,8 @@ float and converted to the output sample type as needed. 120 50 - 247 - 23 + 227 + 22 @@ -200,7 +200,7 @@ to stereo output. 120 80 - 123 + 111 22 @@ -354,7 +354,7 @@ sample rate. A list of files containing HRTF data sets. The listed data sets -are used in place of or in addiiton to the the built-in set. The +are used in place of or in addition to the the default sets. The filenames may contain these markers, which will be replaced as needed: %r - Device sampling rate @@ -738,8 +738,8 @@ value currently possible is 4. 110 120 - 203 - 23 + 185 + 22 @@ -775,7 +775,7 @@ value currently possible is 4. 10 150 511 - 61 + 91 @@ -815,8 +815,8 @@ preventing those extensions from being used. - 380 - 20 + 200 + 50 111 31 @@ -825,6 +825,19 @@ preventing those extensions from being used. Disable Neon + + + + 370 + 20 + 121 + 31 + + + + Disable SSE4.1 + + @@ -1011,10 +1024,10 @@ value of 0 means no change. - 9 + 10 170 511 - 181 + 191 @@ -1068,7 +1081,7 @@ intensive for the system to handle. 70 - 120 + 150 131 21 @@ -1080,8 +1093,8 @@ intensive for the system to handle. - 70 - 150 + 320 + 30 131 21 @@ -1094,7 +1107,7 @@ intensive for the system to handle. 320 - 30 + 60 131 21 @@ -1107,7 +1120,7 @@ intensive for the system to handle. 320 - 60 + 90 131 21 @@ -1120,7 +1133,7 @@ intensive for the system to handle. 320 - 90 + 120 131 21 @@ -1133,7 +1146,7 @@ intensive for the system to handle. 320 - 120 + 150 131 21 @@ -1146,6 +1159,19 @@ added by the ALC_EXT_DEDICATED extension. Dedicated ... + + + + 70 + 120 + 111 + 21 + + + + Compressor + + @@ -1168,8 +1194,8 @@ added by the ALC_EXT_DEDICATED extension. 160 20 - 142 - 23 + 131 + 22 @@ -1320,7 +1346,7 @@ added by the ALC_EXT_DEDICATED extension. 0 0 564 - 20 + 19 -- cgit v1.2.3