aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-07-05 12:27:58 -0700
committerChris Robinson <[email protected]>2019-07-05 12:27:58 -0700
commitfa032368aeb02d88d86f575977f57057796ca51a (patch)
tree9469a7d8cf92754224a5d542dcd2550f171290e9
parent3edbeefdb73b650d466b76583c8dac664d4d6ee0 (diff)
Rename HRTF Quality title to HRTF Render Method
-rw-r--r--utils/alsoft-config/mainwindow.cpp16
-rw-r--r--utils/alsoft-config/mainwindow.ui6
2 files changed, 11 insertions, 11 deletions
diff --git a/utils/alsoft-config/mainwindow.cpp b/utils/alsoft-config/mainwindow.cpp
index 687f9134..64178922 100644
--- a/utils/alsoft-config/mainwindow.cpp
+++ b/utils/alsoft-config/mainwindow.cpp
@@ -277,7 +277,7 @@ MainWindow::MainWindow(QWidget *parent) :
for(count = 0;hrtfModeList[count].name[0];count++) {
}
- ui->hrtfqualitySlider->setRange(0, count-1);
+ ui->hrtfmodeSlider->setRange(0, count-1);
ui->hrtfStateComboBox->adjustSize();
#if !defined(HAVE_NEON) && !defined(HAVE_SSE)
@@ -378,7 +378,7 @@ MainWindow::MainWindow(QWidget *parent) :
connect(ui->preferredHrtfComboBox, SIGNAL(currentIndexChanged(const QString&)), this, SLOT(enableApplyButton()));
connect(ui->hrtfStateComboBox, SIGNAL(currentIndexChanged(const QString&)), this, SLOT(enableApplyButton()));
- connect(ui->hrtfqualitySlider, SIGNAL(valueChanged(int)), this, SLOT(updateHrtfModeLabel(int)));
+ connect(ui->hrtfmodeSlider, SIGNAL(valueChanged(int)), this, SLOT(updateHrtfModeLabel(int)));
connect(ui->hrtfAddButton, SIGNAL(clicked()), this, SLOT(addHrtfFile()));
connect(ui->hrtfRemoveButton, SIGNAL(clicked()), this, SLOT(removeHrtfFile()));
@@ -739,16 +739,16 @@ void MainWindow::loadConfig(const QString &fname)
ui->enableNeonCheckBox->setChecked(!disabledCpuExts.contains("neon", Qt::CaseInsensitive));
QString hrtfmode = settings.value("hrtf-mode").toString().trimmed();
- ui->hrtfqualitySlider->setValue(3);
- ui->hrtfqualityLabel->setText(hrtfModeList[3].name);
+ ui->hrtfmodeSlider->setValue(3);
+ ui->hrtfmodeLabel->setText(hrtfModeList[3].name);
/* The "basic" mode name is no longer supported. Use "ambi2" instead. */
if(hrtfmode == "basic") hrtfmode = "ambi2";
for(int i = 0;hrtfModeList[i].name[0];i++)
{
if(hrtfmode == hrtfModeList[i].value)
{
- ui->hrtfqualitySlider->setValue(i);
- ui->hrtfqualityLabel->setText(hrtfModeList[i].name);
+ ui->hrtfmodeSlider->setValue(i);
+ ui->hrtfmodeLabel->setText(hrtfModeList[i].name);
break;
}
}
@@ -1001,7 +1001,7 @@ void MainWindow::saveConfig(const QString &fname) const
strlist.append("neon");
settings.setValue("disable-cpu-exts", strlist.join(QChar(',')));
- settings.setValue("hrtf-mode", hrtfModeList[ui->hrtfqualitySlider->value()].value);
+ settings.setValue("hrtf-mode", hrtfModeList[ui->hrtfmodeSlider->value()].value);
if(ui->hrtfStateComboBox->currentIndex() == 1)
settings.setValue("hrtf", "true");
@@ -1240,7 +1240,7 @@ void MainWindow::updateJackBufferSizeSlider()
void MainWindow::updateHrtfModeLabel(int num)
{
- ui->hrtfqualityLabel->setText(hrtfModeList[num].name);
+ ui->hrtfmodeLabel->setText(hrtfModeList[num].name);
enableApplyButton();
}
diff --git a/utils/alsoft-config/mainwindow.ui b/utils/alsoft-config/mainwindow.ui
index 7ab27c09..54844226 100644
--- a/utils/alsoft-config/mainwindow.ui
+++ b/utils/alsoft-config/mainwindow.ui
@@ -1132,7 +1132,7 @@ application or system to determine if it should be used.</string>
</rect>
</property>
<property name="title">
- <string>HRTF Quality</string>
+ <string>HRTF Render Method</string>
</property>
<widget class="QLabel" name="label_31">
<property name="geometry">
@@ -1163,7 +1163,7 @@ application or system to determine if it should be used.</string>
<string>Quality</string>
</property>
</widget>
- <widget class="QSlider" name="hrtfqualitySlider">
+ <widget class="QSlider" name="hrtfmodeSlider">
<property name="geometry">
<rect>
<x>80</x>
@@ -1176,7 +1176,7 @@ application or system to determine if it should be used.</string>
<enum>Qt::Horizontal</enum>
</property>
</widget>
- <widget class="QLabel" name="hrtfqualityLabel">
+ <widget class="QLabel" name="hrtfmodeLabel">
<property name="geometry">
<rect>
<x>50</x>