channelmix: enable upmixing by default, disable normalization

This commit is contained in:
Wim Taymans 2022-03-03 12:33:02 +01:00
parent 5a55e1a47a
commit d25bb89cc0
5 changed files with 29 additions and 26 deletions

View file

@ -1627,9 +1627,12 @@ impl_init(const struct spa_handle_factory *factory,
props_reset(&this->props);
this->mix.options = CHANNELMIX_OPTION_NORMALIZE;
this->mix.options = CHANNELMIX_OPTION_UPMIX;
this->mix.log = this->log;
this->mix.lfe_cutoff = 120.0f;
this->mix.fc_cutoff = 6000.0f;
this->mix.rear_delay = 12.0f;
this->mix.widen = 0.1f;
for (i = 0; info && i < info->n_items; i++) {
const char *k = info->items[i].key;