mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-12-14 08:56:34 -05:00
echo-cancel: Update webrtc-audio-processing usage to new API
The code now needs C++11 support to compile with the updated webrtc-audio-processing library.
This commit is contained in:
parent
93822f98f4
commit
f8beaae238
5 changed files with 630 additions and 27 deletions
|
|
@ -85,6 +85,7 @@ AM_PROG_CC_C_O
|
|||
# Only required if you want the WebRTC canceller -- no runtime dep on
|
||||
# libstdc++ otherwise
|
||||
AC_PROG_CXX
|
||||
AX_CXX_COMPILE_STDCXX_11
|
||||
AC_PROG_GCC_TRADITIONAL
|
||||
AC_USE_SYSTEM_EXTENSIONS
|
||||
|
||||
|
|
@ -1397,7 +1398,7 @@ AC_ARG_ENABLE([webrtc-aec],
|
|||
AS_HELP_STRING([--enable-webrtc-aec], [Enable the optional WebRTC-based echo canceller]))
|
||||
|
||||
AS_IF([test "x$enable_webrtc_aec" != "xno"],
|
||||
[PKG_CHECK_MODULES(WEBRTC, [ webrtc-audio-processing ], [HAVE_WEBRTC=1], [HAVE_WEBRTC=0])],
|
||||
[PKG_CHECK_MODULES(WEBRTC, [ webrtc-audio-processing >= 0.2 ], [HAVE_WEBRTC=1], [HAVE_WEBRTC=0])],
|
||||
[HAVE_WEBRTC=0])
|
||||
|
||||
AS_IF([test "x$enable_webrtc_aec" = "xyes" && test "x$HAVE_WEBRTC" = "x0"],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue