mirror of
https://github.com/overte-org/overte.git
synced 2025-04-22 03:04:33 +02:00
Revert "flip default for enable filter to be disable filter to work around settings bug"
This reverts commit 2a9d8d9238
.
This commit is contained in:
parent
e3f573d05b
commit
c30ef9c331
2 changed files with 8 additions and 10 deletions
|
@ -690,12 +690,10 @@ void AudioMixer::run() {
|
|||
qDebug() << "Stream stats will be printed to stdout";
|
||||
}
|
||||
|
||||
const QString FILTER_KEY = "J-disable-filter";
|
||||
_enableFilter = !audioGroupObject[FILTER_KEY].toBool();
|
||||
const QString FILTER_KEY = "J-enable-filter";
|
||||
_enableFilter = audioGroupObject[FILTER_KEY].toBool();
|
||||
if (_enableFilter) {
|
||||
qDebug() << "Filter enabled";
|
||||
} else {
|
||||
qDebug() << "Filter disabled";
|
||||
}
|
||||
|
||||
const QString UNATTENUATED_ZONE_KEY = "Z-unattenuated-zone";
|
||||
|
|
|
@ -57,17 +57,17 @@
|
|||
"help": "If enabled, audio upstream and downstream stats of each agent will be printed each second to stdout",
|
||||
"default": false
|
||||
},
|
||||
"J-disable-filter": {
|
||||
"type": "checkbox",
|
||||
"label": "Disable Positional Filter",
|
||||
"help": "If checked the positional audio stream will not use a lowpass filter",
|
||||
"default": false
|
||||
},
|
||||
"Z-unattenuated-zone": {
|
||||
"label": "Unattenuated Zone",
|
||||
"help": "Boxes for source and listener (corner x, corner y, corner z, size x, size y, size z, corner x, corner y, corner z, size x, size y, size z)",
|
||||
"placeholder": "no zone",
|
||||
"default": ""
|
||||
},
|
||||
"J-enable-filter": {
|
||||
"type": "checkbox",
|
||||
"label": "Enable Positional Filter",
|
||||
"help": "If enabled, positional audio stream uses lowpass filter",
|
||||
"default": true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue