Revert "flip default for enable filter to be disable filter to work around settings bug"

This reverts commit 2a9d8d9238.
This commit is contained in:
ZappoMan 2014-09-17 08:52:23 -07:00
parent e3f573d05b
commit c30ef9c331
2 changed files with 8 additions and 10 deletions

View file

@ -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";

View file

@ -55,12 +55,6 @@
"type": "checkbox",
"label": "Print Stream Stats:",
"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": {
@ -68,6 +62,12 @@
"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
}
}
}