diff options
author | Raulshc <[email protected]> | 2018-07-22 00:49:52 +0200 |
---|---|---|
committer | kcat <[email protected]> | 2018-07-25 12:51:09 -0700 |
commit | f79683d45986cade438404d82d56176ca20de3a2 (patch) | |
tree | f8df49a73636e8b7fdb8ae1360a127b8696ab437 | |
parent | 83dba26ea6a1bbbd3c9ba266523204014446ef09 (diff) |
Alsoft-config: Add autowah effect
-rw-r--r-- | alsoftrc.sample | 5 | ||||
-rw-r--r-- | utils/alsoft-config/mainwindow.cpp | 4 | ||||
-rw-r--r-- | utils/alsoft-config/mainwindow.ui | 30 |
3 files changed, 30 insertions, 9 deletions
diff --git a/alsoftrc.sample b/alsoftrc.sample index 04dd72f6..8061ed1c 100644 --- a/alsoftrc.sample +++ b/alsoftrc.sample @@ -219,8 +219,9 @@ ## excludefx: (global) # Sets which effects to exclude, preventing apps from using them. This can # help for apps that try to use effects which are too CPU intensive for the -# system to handle. Available effects are: eaxreverb,reverb,chorus,compressor, -# distortion,echo,equalizer,flanger,modulator,dedicated,pshifter,fshifter +# system to handle. Available effects are: eaxreverb,reverb,autowah,chorus, +# compressor,distortion,echo,equalizer,flanger,modulator,dedicated,pshifter, +# fshifter #excludefx = ## default-reverb: (global) diff --git a/utils/alsoft-config/mainwindow.cpp b/utils/alsoft-config/mainwindow.cpp index 07b5992b..110fe4ed 100644 --- a/utils/alsoft-config/mainwindow.cpp +++ b/utils/alsoft-config/mainwindow.cpp @@ -372,6 +372,7 @@ MainWindow::MainWindow(QWidget *parent) : connect(ui->defaultReverbComboBox, SIGNAL(currentIndexChanged(const QString&)), this, SLOT(enableApplyButton())); connect(ui->enableEaxReverbCheck, SIGNAL(stateChanged(int)), this, SLOT(enableApplyButton())); connect(ui->enableStdReverbCheck, SIGNAL(stateChanged(int)), this, SLOT(enableApplyButton())); + connect(ui->enableAutowahCheck, SIGNAL(stateChanged(int)), this, SLOT(enableApplyButton())); connect(ui->enableChorusCheck, SIGNAL(stateChanged(int)), this, SLOT(enableApplyButton())); connect(ui->enableCompressorCheck, SIGNAL(stateChanged(int)), this, SLOT(enableApplyButton())); connect(ui->enableDistortionCheck, SIGNAL(stateChanged(int)), this, SLOT(enableApplyButton())); @@ -839,6 +840,7 @@ void MainWindow::loadConfig(const QString &fname) *iter = iter->trimmed(); ui->enableEaxReverbCheck->setChecked(!excludefx.contains("eaxreverb", Qt::CaseInsensitive)); ui->enableStdReverbCheck->setChecked(!excludefx.contains("reverb", Qt::CaseInsensitive)); + ui->enableAutowahCheck->setChecked(!excludefx.contains("autowah", Qt::CaseInsensitive)); ui->enableChorusCheck->setChecked(!excludefx.contains("chorus", Qt::CaseInsensitive)); ui->enableCompressorCheck->setChecked(!excludefx.contains("compressor", Qt::CaseInsensitive)); ui->enableDistortionCheck->setChecked(!excludefx.contains("distortion", Qt::CaseInsensitive)); @@ -1046,6 +1048,8 @@ void MainWindow::saveConfig(const QString &fname) const strlist.append("eaxreverb"); if(!ui->enableStdReverbCheck->isChecked()) strlist.append("reverb"); + if(!ui->enableAutowahCheck->isChecked()) + strlist.append("autowah"); if(!ui->enableChorusCheck->isChecked()) strlist.append("chorus"); if(!ui->enableDistortionCheck->isChecked()) diff --git a/utils/alsoft-config/mainwindow.ui b/utils/alsoft-config/mainwindow.ui index 18a00659..9c89cbc7 100644 --- a/utils/alsoft-config/mainwindow.ui +++ b/utils/alsoft-config/mainwindow.ui @@ -53,7 +53,7 @@ </rect> </property> <property name="currentIndex"> - <number>0</number> + <number>5</number> </property> <widget class="QWidget" name="tab_3"> <attribute name="title"> @@ -131,8 +131,8 @@ to stereo output.</string> <rect> <x>380</x> <y>20</y> - <width>93</width> - <height>29</height> + <width>80</width> + <height>20</height> </rect> </property> <property name="toolTip"> @@ -1933,7 +1933,7 @@ be useful for preventing those extensions from being used.</string> <x>10</x> <y>100</y> <width>511</width> - <height>231</height> + <height>241</height> </rect> </property> <property name="toolTip"> @@ -2140,6 +2140,22 @@ added by the ALC_EXT_DEDICATED extension.</string> <bool>true</bool> </property> </widget> + <widget class="QCheckBox" name="enableAutowahCheck"> + <property name="geometry"> + <rect> + <x>70</x> + <y>210</y> + <width>131</width> + <height>21</height> + </rect> + </property> + <property name="text"> + <string>Autowah</string> + </property> + <property name="checked"> + <bool>true</bool> + </property> + </widget> </widget> <widget class="QLabel" name="label_13"> <property name="geometry"> @@ -2162,8 +2178,8 @@ added by the ALC_EXT_DEDICATED extension.</string> <rect> <x>160</x> <y>20</y> - <width>125</width> - <height>29</height> + <width>108</width> + <height>20</height> </rect> </property> <property name="sizeAdjustPolicy"> @@ -2332,7 +2348,7 @@ added by the ALC_EXT_DEDICATED extension.</string> <x>0</x> <y>0</y> <width>564</width> - <height>27</height> + <height>21</height> </rect> </property> <widget class="QMenu" name="menuFile"> |