mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
Revert "disable filteraudio, because it makes audio quality worse"
This reverts commit 17f13459b6
.
This commit is contained in:
parent
17f13459b6
commit
e5cc004edf
|
@ -46,16 +46,13 @@ AVForm::AVForm() :
|
||||||
|
|
||||||
bodyUI->btnPlayTestSound->setToolTip(
|
bodyUI->btnPlayTestSound->setToolTip(
|
||||||
tr("Play a test sound while changing the output volume."));
|
tr("Play a test sound while changing the output volume."));
|
||||||
|
|
||||||
#ifdef QTOX_FILTER_AUDIO
|
#ifdef QTOX_FILTER_AUDIO
|
||||||
bodyUI->filterAudio->setChecked(Settings::getInstance().getFilterAudio());
|
bodyUI->filterAudio->setChecked(Settings::getInstance().getFilterAudio());
|
||||||
#else
|
#else
|
||||||
bodyUI->filterAudio->setDisabled(true);
|
bodyUI->filterAudio->setDisabled(true);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// temporary remove audio filtering, because it makes audio quality worse
|
|
||||||
Settings::getInstance().setFilterAudio(false);
|
|
||||||
bodyUI->filterAudio->hide();
|
|
||||||
|
|
||||||
auto qcbxIndexChangedStr = (void(QComboBox::*)(const QString&)) &QComboBox::currentIndexChanged;
|
auto qcbxIndexChangedStr = (void(QComboBox::*)(const QString&)) &QComboBox::currentIndexChanged;
|
||||||
auto qcbxIndexChangedInt = (void(QComboBox::*)(int)) &QComboBox::currentIndexChanged;
|
auto qcbxIndexChangedInt = (void(QComboBox::*)(int)) &QComboBox::currentIndexChanged;
|
||||||
connect(bodyUI->inDevCombobox, qcbxIndexChangedStr, this, &AVForm::onInDevChanged);
|
connect(bodyUI->inDevCombobox, qcbxIndexChangedStr, this, &AVForm::onInDevChanged);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user