mirror of
https://github.com/overte-org/overte.git
synced 2025-04-22 17:53:32 +02:00
flip default for enable filter to be disable filter to work around settings bug
This commit is contained in:
parent
e8f5c46589
commit
2a9d8d9238
2 changed files with 10 additions and 8 deletions
|
@ -690,10 +690,12 @@ void AudioMixer::run() {
|
|||
qDebug() << "Stream stats will be printed to stdout";
|
||||
}
|
||||
|
||||
const QString FILTER_KEY = "J-enable-filter";
|
||||
_enableFilter = audioGroupObject[FILTER_KEY].toBool();
|
||||
const QString FILTER_KEY = "J-disable-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