mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
audioconvert: compile c version with right flags
This commit is contained in:
parent
28b0da626e
commit
6937ec5e63
1 changed files with 13 additions and 12 deletions
|
|
@ -10,18 +10,6 @@ audioconvert_sources = ['audioadapter.c',
|
||||||
simd_cargs = []
|
simd_cargs = []
|
||||||
simd_dependencies = []
|
simd_dependencies = []
|
||||||
|
|
||||||
audioconvert_c = static_library('audioconvert_c',
|
|
||||||
['fmt-ops.c',
|
|
||||||
'channelmix-ops.c',
|
|
||||||
'channelmix-ops-c.c',
|
|
||||||
'resample-native.c',
|
|
||||||
'resample-peaks.c',
|
|
||||||
'fmt-ops-c.c' ],
|
|
||||||
c_args : ['-O3'],
|
|
||||||
include_directories : [spa_inc],
|
|
||||||
install : false
|
|
||||||
)
|
|
||||||
simd_dependencies += audioconvert_c
|
|
||||||
|
|
||||||
if have_sse
|
if have_sse
|
||||||
audioconvert_sse = static_library('audioconvert_sse',
|
audioconvert_sse = static_library('audioconvert_sse',
|
||||||
|
|
@ -99,6 +87,19 @@ if have_neon
|
||||||
simd_dependencies += audioconvert_neon
|
simd_dependencies += audioconvert_neon
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
audioconvert_c = static_library('audioconvert_c',
|
||||||
|
['fmt-ops.c',
|
||||||
|
'channelmix-ops.c',
|
||||||
|
'channelmix-ops-c.c',
|
||||||
|
'resample-native.c',
|
||||||
|
'resample-peaks.c',
|
||||||
|
'fmt-ops-c.c' ],
|
||||||
|
c_args : [simd_cargs, '-O3'],
|
||||||
|
include_directories : [spa_inc],
|
||||||
|
install : false
|
||||||
|
)
|
||||||
|
simd_dependencies += audioconvert_c
|
||||||
|
|
||||||
audioconvertlib = shared_library('spa-audioconvert',
|
audioconvertlib = shared_library('spa-audioconvert',
|
||||||
audioconvert_sources,
|
audioconvert_sources,
|
||||||
c_args : simd_cargs,
|
c_args : simd_cargs,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue