aboutsummaryrefslogtreecommitdiffstats
path: root/utils/alsoft-config/mainwindow.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2014-08-05 02:43:04 -0700
committerChris Robinson <[email protected]>2014-08-05 02:43:04 -0700
commit066a48c5fb8cee4b32bd7145dd78147ba709f067 (patch)
tree0d99efe1a3ee7fe7b67f5248f9d3b40926ee474a /utils/alsoft-config/mainwindow.cpp
parent7b4a2335eb50c5876acffb08cfb99a5d1f116f7b (diff)
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.
Diffstat (limited to 'utils/alsoft-config/mainwindow.cpp')
-rw-r--r--utils/alsoft-config/mainwindow.cpp6
1 files changed, 6 insertions, 0 deletions
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())