mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-22 00:40:25 +00:00
speex_resampler: param quality was not respected
Although param was processed, DEFAULT_RESAMPLE_QUALITY (=10) was always set.
This commit is contained in:
@@ -373,7 +373,7 @@ bool audio_frame2::resample([[maybe_unused]] audio_frame2_resampler & resampler_
|
||||
}
|
||||
int err;
|
||||
resampler_state.resampler = speex_resampler_init(channels.size(), sample_rate,
|
||||
new_sample_rate, DEFAULT_RESAMPLE_QUALITY, &err);
|
||||
new_sample_rate, quality, &err);
|
||||
if(err) {
|
||||
abort();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user