meson: Enable echo-cancel module, add libwebrtc_util lib, add speex and webrtc dependencies

Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
This commit is contained in:
Arnaud Rebillout 2018-10-01 11:01:47 +07:00 committed by Arun Raghavan
parent 31fd820702
commit 88d77ff852
4 changed files with 80 additions and 2 deletions

View file

@ -279,11 +279,21 @@ if sbc_dep.found() and dbus_dep.found()
cdata.set('HAVE_BLUEZ_5', 1)
endif
speex_dep = dependency('speexdsp', version : '>= 1.2', required : false)
if speex_dep.found()
cdata.set('HAVE_SPEEX', 1)
endif
udev_dep = dependency('libudev', version : '>= 143', required : false)
if udev_dep.found()
cdata.set('HAVE_UDEV', 1)
endif
webrtc_dep = dependency('webrtc-audio-processing', version : '>= 0.2', required : false)
if webrtc_dep.found()
cdata.set('HAVE_WEBRTC', 1)
endif
# Now generate config.h from everything above
configure_file(output : 'config.h', configuration : cdata)