mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-03 09:01:54 -05:00
audioconvert: reset props before parsing config
Or else we undo all settings from the config params.
This commit is contained in:
parent
d61d787afa
commit
974ab5348e
1 changed files with 2 additions and 1 deletions
|
|
@ -2614,6 +2614,8 @@ impl_init(const struct spa_handle_factory *factory,
|
|||
this->max_align = SPA_MIN(MAX_ALIGN, spa_cpu_get_max_align(this->cpu));
|
||||
}
|
||||
|
||||
props_reset(&this->props);
|
||||
|
||||
this->mix.options = CHANNELMIX_OPTION_UPMIX;
|
||||
this->mix.upmix = CHANNELMIX_UPMIX_PSD;
|
||||
this->mix.log = this->log;
|
||||
|
|
@ -2666,7 +2668,6 @@ impl_init(const struct spa_handle_factory *factory,
|
|||
|
||||
this->volume.cpu_flags = this->cpu_flags;
|
||||
volume_init(&this->volume);
|
||||
props_reset(&this->props);
|
||||
|
||||
this->rate_scale = 1.0;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue