mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-02-15 22:05:28 -05:00
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:
parent
06e4772864
commit
b4b057196d
2 changed files with 3 additions and 1 deletions
|
|
@ -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) \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue