Commit b28c4e9a authored by Arnaud Rebillout's avatar Arnaud Rebillout Committed by Arun Raghavan
Browse files

meson: Make Adrian echo canceller optional


Signed-off-by: default avatarArnaud Rebillout <arnaud.rebillout@collabora.com>
parent 4b177239
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment