mirror of
https://github.com/lubosz/overte.git
synced 2025-08-07 17:41:12 +02:00
Merge branch 'master' of https://github.com/highfidelity/hifi into metavoxels
This commit is contained in:
commit
ab04fb1c2f
2 changed files with 5 additions and 3 deletions
|
@ -75,7 +75,7 @@ InboundAudioStream::Settings AudioMixer::_streamSettings;
|
||||||
|
|
||||||
bool AudioMixer::_printStreamStats = false;
|
bool AudioMixer::_printStreamStats = false;
|
||||||
|
|
||||||
bool AudioMixer::_enableFilter = false;
|
bool AudioMixer::_enableFilter = true;
|
||||||
|
|
||||||
AudioMixer::AudioMixer(const QByteArray& packet) :
|
AudioMixer::AudioMixer(const QByteArray& packet) :
|
||||||
ThreadedAssignment(packet),
|
ThreadedAssignment(packet),
|
||||||
|
@ -710,7 +710,9 @@ void AudioMixer::run() {
|
||||||
}
|
}
|
||||||
|
|
||||||
const QString FILTER_KEY = "J-enable-filter";
|
const QString FILTER_KEY = "J-enable-filter";
|
||||||
_enableFilter = audioGroupObject[FILTER_KEY].toBool();
|
if (audioGroupObject[FILTER_KEY].isBool()) {
|
||||||
|
_enableFilter = audioGroupObject[FILTER_KEY].toBool();
|
||||||
|
}
|
||||||
if (_enableFilter) {
|
if (_enableFilter) {
|
||||||
qDebug() << "Filter enabled";
|
qDebug() << "Filter enabled";
|
||||||
}
|
}
|
||||||
|
|
|
@ -67,7 +67,7 @@
|
||||||
"type": "checkbox",
|
"type": "checkbox",
|
||||||
"label": "Enable Positional Filter",
|
"label": "Enable Positional Filter",
|
||||||
"help": "If enabled, positional audio stream uses lowpass filter",
|
"help": "If enabled, positional audio stream uses lowpass filter",
|
||||||
"default": false
|
"default": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue