resample: make quality configurable

This commit is contained in:
Wim Taymans 2020-02-12 13:31:03 +01:00
parent f726a77385
commit 454e743d1a
5 changed files with 14 additions and 3 deletions

View file

@ -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);