audioconvert: move some things around

To make it easier to add other implementations later.
Improve selection of resampler function
This commit is contained in:
Wim Taymans 2020-04-03 17:46:04 +02:00
parent bf3ebb67aa
commit 0d1cef6b3a
12 changed files with 172 additions and 131 deletions

View file

@ -59,4 +59,7 @@ struct resample {
#define resample_reset(r) (r)->reset(r)
#define resample_delay(r) (r)->delay(r)
int resample_native_init(struct resample *r);
int resample_peaks_init(struct resample *r);
#endif /* RESAMPLE_H */