pipewire/spa/plugins/audioconvert/meson.build
Wim Taymans 9c8913437b audioconvert: add simple and faster resampler
Add a sinc based resampler that, unlike speex, avoids memcpy and
works directly on the source data. It also allows for ssse3
optimizations and aligned loads. It will later switch to table
interpolation when doing variable rate.
2019-03-26 12:58:26 +01:00

47 lines
1.2 KiB
Meson

audioconvert_sources = ['fmtconvert.c',
'channelmix.c',
'resample.c',
'splitter.c',
'merger.c',
'audioconvert.c',
'plugin.c']
audioconvertlib = shared_library('spa-audioconvert',
audioconvert_sources,
include_directories : [spa_inc],
dependencies : [ speexdsp_dep, mathlib ],
install : true,
install_dir : '@0@/spa/audioconvert/'.format(get_option('libdir')))
test_apps = [
'test-fmt-ops',
'test-resample',
]
foreach a : test_apps
test(a,
executable(a, a + '.c',
dependencies : [dl_lib, pthread_lib, mathlib ],
include_directories : [spa_inc ],
c_args : [ '-D_GNU_SOURCE' ],
install : false),
env : [
'SPA_PLUGIN_DIR=@0@/spa/plugins/'.format(meson.build_root()),
])
endforeach
benchmark_apps = [
'benchmark-fmt-ops',
]
foreach a : benchmark_apps
benchmark(a,
executable(a, a + '.c',
dependencies : [dl_lib, pthread_lib, mathlib ],
include_directories : [spa_inc ],
c_args : [ '-D_GNU_SOURCE' ],
install : false),
env : [
'SPA_PLUGIN_DIR=@0@/spa/plugins/'.format(meson.build_root()),
])
endforeach