mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
resample: add resample.quality property
This commit is contained in:
parent
3fab544d3d
commit
dbd483cb46
1 changed files with 2 additions and 0 deletions
|
|
@ -923,6 +923,8 @@ impl_init(const struct spa_handle_factory *factory,
|
|||
this->resample.cpu_flags = spa_cpu_get_flags(this->cpu);
|
||||
|
||||
if (info != NULL) {
|
||||
if ((str = spa_dict_lookup(info, "resample.quality")) != NULL)
|
||||
this->props.quality = atoi(str);
|
||||
if ((str = spa_dict_lookup(info, "resample.peaks")) != NULL)
|
||||
this->peaks = atoi(str);
|
||||
if ((str = spa_dict_lookup(info, "factory.mode")) != NULL) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue