|
@@ -34,7 +34,6 @@ PULSEAUDIO_DEPENDENCIES = \
|
|
|
$(if $(BR2_PACKAGE_BLUEZ_UTILS),bluez_utils) \
|
|
|
$(if $(BR2_PACKAGE_OPENSSL),openssl) \
|
|
|
$(if $(BR2_PACKAGE_FFTW),fftw) \
|
|
|
- $(if $(BR2_PACKAGE_WEBRTC_AUDIO_PROCESSING),webrtc-audio-processing) \
|
|
|
$(if $(BR2_PACKAGE_SYSTEMD),systemd)
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_GDBM),y)
|
|
@@ -88,6 +87,13 @@ else
|
|
|
PULSEAUDIO_CONF_OPTS += --disable-udev
|
|
|
endif
|
|
|
|
|
|
+ifeq ($(BR2_PACKAGE_WEBRTC_AUDIO_PROCESSING),y)
|
|
|
+PULSEAUDIO_CONF_OPTS += --enable-webrtc-aec
|
|
|
+PULSEAUDIO_DEPENDENCIES += webrtc-audio-processing
|
|
|
+else
|
|
|
+PULSEAUDIO_CONF_OPTS += --disable-webrtc-aec
|
|
|
+endif
|
|
|
+
|
|
|
ifneq ($(BR2_INSTALL_LIBSTDCPP),y)
|
|
|
# The optional webrtc echo canceller is written in C++, causing auto* to want
|
|
|
# to link module-echo-cancel.so with CXX even if webrtc ISN'T used.
|