1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

disable filteraudio, because it makes audio quality worse

This commit is contained in:
sudden6 2016-02-27 12:40:36 +01:00
parent ef5b9b8c1e
commit 17f13459b6

View File

@ -46,13 +46,16 @@ AVForm::AVForm() :
bodyUI->btnPlayTestSound->setToolTip(
tr("Play a test sound while changing the output volume."));
#ifdef QTOX_FILTER_AUDIO
bodyUI->filterAudio->setChecked(Settings::getInstance().getFilterAudio());
#else
bodyUI->filterAudio->setDisabled(true);
#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 qcbxIndexChangedInt = (void(QComboBox::*)(int)) &QComboBox::currentIndexChanged;
connect(bodyUI->inDevCombobox, qcbxIndexChangedStr, this, &AVForm::onInDevChanged);