audioconvert: build C versions with -Ofast and -ffast-math

Move resampler implementations to a -c version.
Compile some of the functions with other flags to make them more
optimized.
This commit is contained in:
Wim Taymans 2022-07-14 10:07:07 +02:00
parent 0ba3e7c5db
commit 419517fd55
8 changed files with 156 additions and 95 deletions

View file

@ -34,6 +34,9 @@ struct peaks_data {
float max_f[];
};
void resample_peaks_process_c(struct resample *r,
const void * SPA_RESTRICT src[], uint32_t *in_len,
void * SPA_RESTRICT dst[], uint32_t *out_len);
#if defined (HAVE_SSE)
void resample_peaks_process_sse(struct resample *r,
const void * SPA_RESTRICT src[], uint32_t *in_len,