mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-16 08:56:45 -05:00
audioconvert: use cpu detection interface
This commit is contained in:
parent
e984c19f6c
commit
4dfe1011a6
6 changed files with 65 additions and 20 deletions
|
|
@ -25,6 +25,7 @@
|
|||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include <spa/support/cpu.h>
|
||||
#include <spa/utils/defs.h>
|
||||
|
||||
#define VOLUME_MIN 0.0f
|
||||
|
|
@ -423,8 +424,7 @@ static const struct channelmix_info {
|
|||
uint64_t dst_mask;
|
||||
|
||||
channelmix_func_t func;
|
||||
#define FEATURE_SSE (1<<0)
|
||||
#define FEATURE_DEFAULT FEATURE_SSE
|
||||
#define FEATURE_SSE SPA_CPU_FLAG_SSE
|
||||
uint32_t features;
|
||||
} channelmix_table[] =
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue