channelmix: enable normalization by default

It is probably a better default to avoid clipping when downmixing.
This commit is contained in:
Wim Taymans 2022-01-11 10:40:42 +01:00
parent 982758ffed
commit 0ad318f61c
4 changed files with 5 additions and 3 deletions

View file

@ -1539,6 +1539,8 @@ impl_init(const struct spa_handle_factory *factory,
props_reset(&this->props);
this->mix.options = CHANNELMIX_OPTION_NORMALIZE;
for (i = 0; info && i < info->n_items; i++) {
const char *k = info->items[i].key;
const char *s = info->items[i].value;