audioconvert: add volume ops

Add volume helpers and use this for the monitor output ports so
that we can add volumes to the monitor output signal as well.
This commit is contained in:
Wim Taymans 2021-02-05 15:08:26 +01:00
parent 972e740519
commit 6249b00b9a
6 changed files with 211 additions and 5 deletions

View file

@ -14,6 +14,7 @@ if have_sse
audioconvert_sse = static_library('audioconvert_sse',
['resample-native-sse.c',
'resample-peaks-sse.c',
'volume-ops-sse.c',
'channelmix-ops-sse.c' ],
c_args : [sse_args, '-O3', '-DHAVE_SSE'],
include_directories : [spa_inc],
@ -92,7 +93,9 @@ audioconvert = static_library('audioconvert',
'channelmix-ops-c.c',
'resample-native.c',
'resample-peaks.c',
'fmt-ops-c.c' ],
'fmt-ops-c.c',
'volume-ops.c',
'volume-ops-c.c' ],
c_args : [ simd_cargs, '-O3'],
link_with : simd_dependencies,
include_directories : [spa_inc],