mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
meson: Make Adrian echo canceller optional
Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
This commit is contained in:
parent
4b17723928
commit
b28c4e9aea
2 changed files with 11 additions and 7 deletions
|
|
@ -65,6 +65,9 @@ option('x11',
|
|||
|
||||
# Echo cancellation
|
||||
|
||||
option('adrian-aec',
|
||||
type : 'boolean',
|
||||
description : 'Optional Adrian\'s echo canceller')
|
||||
option('webrtc-aec',
|
||||
type : 'feature', value : 'auto',
|
||||
description : 'Optional WebRTC-based echo canceller')
|
||||
|
|
|
|||
|
|
@ -200,13 +200,14 @@ module_echo_cancel_flags = []
|
|||
module_echo_cancel_deps = []
|
||||
module_echo_cancel_libs = []
|
||||
|
||||
# FIXME: Adrian support should be optional
|
||||
module_echo_cancel_sources += [
|
||||
'echo-cancel/adrian.c', 'echo-cancel/adrian.h',
|
||||
'echo-cancel/adrian-aec.c', 'echo-cancel/adrian-aec.h',
|
||||
]
|
||||
module_echo_cancel_flags += ['-DHAVE_ADRIAN_EC=1']
|
||||
module_echo_cancel_deps = [libm_dep]
|
||||
if get_option('adrian-aec')
|
||||
module_echo_cancel_sources += [
|
||||
'echo-cancel/adrian.c', 'echo-cancel/adrian.h',
|
||||
'echo-cancel/adrian-aec.c', 'echo-cancel/adrian-aec.h',
|
||||
]
|
||||
module_echo_cancel_flags += ['-DHAVE_ADRIAN_EC=1']
|
||||
module_echo_cancel_deps = [libm_dep]
|
||||
endif
|
||||
|
||||
# FIXME: support ORC (depends on Adrian)
|
||||
#ORC_SOURCE += modules/echo-cancel/adrian-aec
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue