mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-05 13:30:02 -05:00
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:
parent
0ba3e7c5db
commit
419517fd55
8 changed files with 156 additions and 95 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue