mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-19 08:57:14 -05:00
audioconvert: move peaks functions to separate file
Make a peaks finder helper and use it in the peaks resampler.
This commit is contained in:
parent
323ec0b51b
commit
a579fc49ba
9 changed files with 380 additions and 202 deletions
|
|
@ -12,8 +12,8 @@ audioconvert_c = static_library('audioconvert_c',
|
|||
'biquad.c',
|
||||
'crossover.c',
|
||||
'volume-ops-c.c',
|
||||
'peaks-ops-c.c',
|
||||
'resample-native-c.c',
|
||||
'resample-peaks-c.c',
|
||||
'fmt-ops-c.c' ],
|
||||
c_args : ['-Ofast', '-ffast-math'],
|
||||
dependencies : [ spa_dep ],
|
||||
|
|
@ -24,8 +24,8 @@ simd_dependencies += audioconvert_c
|
|||
if have_sse
|
||||
audioconvert_sse = static_library('audioconvert_sse',
|
||||
['resample-native-sse.c',
|
||||
'resample-peaks-sse.c',
|
||||
'volume-ops-sse.c',
|
||||
'peaks-ops-sse.c',
|
||||
'channelmix-ops-sse.c' ],
|
||||
c_args : [sse_args, '-Ofast', '-DHAVE_SSE'],
|
||||
dependencies : [ spa_dep ],
|
||||
|
|
@ -101,6 +101,7 @@ endif
|
|||
audioconvert_lib = static_library('audioconvert',
|
||||
['fmt-ops.c',
|
||||
'channelmix-ops.c',
|
||||
'peaks-ops.c',
|
||||
'resample-native.c',
|
||||
'resample-peaks.c',
|
||||
'volume-ops.c' ],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue