mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2026-03-19 05:33:57 -04:00
Merge branch 'support-old-webrtc' into 'master'
echo-cancel: Support old webrtc-audio-processing library See merge request pulseaudio/pulseaudio!836
This commit is contained in:
commit
3722497c22
3 changed files with 610 additions and 4 deletions
|
|
@ -726,9 +726,15 @@ if get_option('daemon')
|
|||
cdata.set('HAVE_SOXR', 1)
|
||||
endif
|
||||
|
||||
webrtc_dep = dependency('webrtc-audio-processing-1', version : '>= 1.0', required : get_option('webrtc-aec'))
|
||||
webrtc_dep = dependency('webrtc-audio-processing-1', version : '>= 1.0', required : false)
|
||||
if webrtc_dep.found()
|
||||
cdata.set('HAVE_WEBRTC', 1)
|
||||
cdata.set('HAVE_WEBRTC1', 1)
|
||||
else
|
||||
webrtc_dep = dependency('webrtc-audio-processing', version : ['>= 0.2', '< 1.0'], required : get_option('webrtc-aec'))
|
||||
if webrtc_dep.found()
|
||||
cdata.set('HAVE_WEBRTC', 1)
|
||||
endif
|
||||
endif
|
||||
|
||||
systemd_dep = dependency('systemd', required : get_option('systemd'))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue