audioconvert: handle more optimizations

Compile an optimized library for the given CPU with the right flags,
then link it with the main library.
This commit is contained in:
Wim Taymans 2019-03-27 17:58:48 +01:00
parent eaffb25cc2
commit c8d3d475bb
12 changed files with 271 additions and 141 deletions

View file

@ -22,6 +22,9 @@
* DEALINGS IN THE SOFTWARE.
*/
#ifndef RESAMPLE_H
#define RESAMPLE_H
#include <spa/support/cpu.h>
struct resample {
@ -45,3 +48,5 @@ struct resample {
#define resample_process(r,...) (r)->process(r,__VA_ARGS__)
#define resample_reset(r) (r)->reset(r)
#define resample_delay(r) (r)->delay(r)
#endif /* RESAMPLE_H */