mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-17 08:56:49 -05:00
resample: make quality configurable
This commit is contained in:
parent
f726a77385
commit
454e743d1a
5 changed files with 14 additions and 3 deletions
|
|
@ -161,6 +161,7 @@ static int setup_convert(struct impl *this,
|
|||
this->resample.i_rate = src_info->info.raw.rate;
|
||||
this->resample.o_rate = dst_info->info.raw.rate;
|
||||
this->resample.log = this->log;
|
||||
this->resample.quality = RESAMPLE_DEFAULT_QUALITY;
|
||||
|
||||
if (this->peaks)
|
||||
err = impl_peaks_init(&this->resample);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue