mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
meson: Make webrtc optional
Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
This commit is contained in:
parent
90eec5ab36
commit
7b748483a1
2 changed files with 7 additions and 1 deletions
|
|
@ -314,7 +314,7 @@ if udev_dep.found()
|
|||
cdata.set('HAVE_UDEV', 1)
|
||||
endif
|
||||
|
||||
webrtc_dep = dependency('webrtc-audio-processing', version : '>= 0.2', required : false)
|
||||
webrtc_dep = dependency('webrtc-audio-processing', version : '>= 0.2', required : get_option('webrtc-aec'))
|
||||
if webrtc_dep.found()
|
||||
cdata.set('HAVE_WEBRTC', 1)
|
||||
endif
|
||||
|
|
|
|||
|
|
@ -62,3 +62,9 @@ option('udev',
|
|||
option('x11',
|
||||
type : 'feature', value : 'auto',
|
||||
description : 'Optional X11 support')
|
||||
|
||||
# Echo cancellation
|
||||
|
||||
option('webrtc-aec',
|
||||
type : 'feature', value : 'auto',
|
||||
description : 'Optional WebRTC-based echo canceller')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue