resample: add bool to force inter resampler

Don't rely on the out_rate vs n_phases to decide on when to use the
inter resampler because the out_rate can change when we activate the
adaptive resampler.

Instead use a boolean that we can set at the start.
This commit is contained in:
Wim Taymans 2026-01-16 11:01:01 +01:00
parent 06e4772864
commit b4b057196d
2 changed files with 3 additions and 1 deletions

View file

@ -59,6 +59,7 @@ struct native_data {
float *filter;
float *hist_mem;
const struct resample_info *info;
bool force_inter;
};
#define DEFINE_RESAMPLER(type,arch) \