mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-05 13:30:02 -05:00
channelmix: enable normalization by default
It is probably a better default to avoid clipping when downmixing.
This commit is contained in:
parent
982758ffed
commit
0ad318f61c
4 changed files with 5 additions and 3 deletions
|
|
@ -1539,6 +1539,8 @@ impl_init(const struct spa_handle_factory *factory,
|
||||||
|
|
||||||
props_reset(&this->props);
|
props_reset(&this->props);
|
||||||
|
|
||||||
|
this->mix.options = CHANNELMIX_OPTION_NORMALIZE;
|
||||||
|
|
||||||
for (i = 0; info && i < info->n_items; i++) {
|
for (i = 0; info && i < info->n_items; i++) {
|
||||||
const char *k = info->items[i].key;
|
const char *k = info->items[i].key;
|
||||||
const char *s = info->items[i].value;
|
const char *s = info->items[i].value;
|
||||||
|
|
|
||||||
|
|
@ -75,7 +75,7 @@ stream.properties = {
|
||||||
#node.latency = 1024/48000
|
#node.latency = 1024/48000
|
||||||
#node.autoconnect = true
|
#node.autoconnect = true
|
||||||
#resample.quality = 4
|
#resample.quality = 4
|
||||||
#channelmix.normalize = false
|
#channelmix.normalize = true
|
||||||
#channelmix.mix-lfe = true
|
#channelmix.mix-lfe = true
|
||||||
#channelmix.upmix = false
|
#channelmix.upmix = false
|
||||||
#channelmix.lfe-cutoff = 0
|
#channelmix.lfe-cutoff = 0
|
||||||
|
|
|
||||||
|
|
@ -65,7 +65,7 @@ stream.properties = {
|
||||||
#node.latency = 1024/48000
|
#node.latency = 1024/48000
|
||||||
#node.autoconnect = true
|
#node.autoconnect = true
|
||||||
#resample.quality = 4
|
#resample.quality = 4
|
||||||
#channelmix.normalize = false
|
#channelmix.normalize = true
|
||||||
#channelmix.mix-lfe = false
|
#channelmix.mix-lfe = false
|
||||||
#channelmix.upmix = false
|
#channelmix.upmix = false
|
||||||
#channelmix.lfe-cutoff = 0
|
#channelmix.lfe-cutoff = 0
|
||||||
|
|
|
||||||
|
|
@ -73,7 +73,7 @@ stream.properties = {
|
||||||
#node.latency = 1024/48000
|
#node.latency = 1024/48000
|
||||||
#node.autoconnect = true
|
#node.autoconnect = true
|
||||||
#resample.quality = 4
|
#resample.quality = 4
|
||||||
#channelmix.normalize = false
|
#channelmix.normalize = true
|
||||||
#channelmix.mix-lfe = false
|
#channelmix.mix-lfe = false
|
||||||
#channelmix.upmix = false
|
#channelmix.upmix = false
|
||||||
#channelmix.lfe-cutoff = 0
|
#channelmix.lfe-cutoff = 0
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue