mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-03 09:01:54 -05:00
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:
parent
eaffb25cc2
commit
c8d3d475bb
12 changed files with 271 additions and 141 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue