Build the iSAC codec and the WebRTC echo canceller from the mswebrtc plugin.
This commit is contained in:
parent
ba44e3c0f7
commit
883d92f608
4 changed files with 22 additions and 26 deletions
|
@ -152,14 +152,12 @@ WEBRTC_BUILD_NEON_LIBS=false
|
|||
|
||||
# AECM
|
||||
ifneq ($(BUILD_WEBRTC_AECM),0)
|
||||
|
||||
ifeq ($(TARGET_ARCH_ABI), armeabi-v7a)
|
||||
$(info $(TARGET_ARCH_ABI): Build NEON modules for AECM)
|
||||
WEBRTC_BUILD_NEON_LIBS=true
|
||||
endif
|
||||
|
||||
$(info $(TARGET_ARCH_ABI): Build AECM from WebRTC)
|
||||
|
||||
include $(linphone-root-dir)/submodules/externals/build/webrtc/system_wrappers/Android.mk
|
||||
include $(linphone-root-dir)/submodules/externals/build/webrtc/modules/audio_processing/utility/Android.mk
|
||||
include $(linphone-root-dir)/submodules/externals/build/webrtc/modules/audio_processing/aecm/Android.mk
|
||||
|
@ -167,7 +165,6 @@ endif
|
|||
|
||||
# iSAC
|
||||
ifneq ($(BUILD_WEBRTC_ISAC),0)
|
||||
|
||||
# don't build for neon in x86
|
||||
ifeq ($(TARGET_ARCH_ABI), armeabi-v7a)
|
||||
$(info $(TARGET_ARCH_ABI): Build NEON modules for ISAC)
|
||||
|
@ -176,12 +173,11 @@ ifneq ($(BUILD_WEBRTC_ISAC),0)
|
|||
|
||||
$(info $(TARGET_ARCH_ABI): Build iSAC plugin for mediastreamer2)
|
||||
include $(linphone-root-dir)/submodules/externals/build/webrtc/modules/audio_coding/codecs/isac/fix/source/Android.mk
|
||||
include $(linphone-root-dir)/submodules/msisac/Android.mk
|
||||
endif
|
||||
|
||||
# common modules for ISAC and AECM
|
||||
ifneq ($(BUILD_WEBRTC_AECM)$(BUILD_WEBRTC_ISAC),00)
|
||||
$(info $(TARGET_ARCH_ABI): Build common modules for iSAC and AECM ($(BUILD_WEBRTC_AECM)$(BUILD_WEBRTC_ISAC)))
|
||||
include $(linphone-root-dir)/submodules/externals/build/webrtc/common_audio/signal_processing/Android.mk
|
||||
include $(linphone-root-dir)/submodules/mswebrtc/Android.mk
|
||||
endif
|
||||
|
||||
|
|
|
@ -100,14 +100,14 @@ APP_MODULES += libopus
|
|||
endif
|
||||
|
||||
ifneq ($(BUILD_WEBRTC_AECM), 0)
|
||||
APP_MODULES += libwebrtc_system_wrappers libwebrtc_spl libwebrtc_apm_utility libwebrtc_aecm
|
||||
APP_MODULES += libwebrtc_system_wrappers libwebrtc_spl libwebrtc_apm_utility libwebrtc_aecm libmswebrtc
|
||||
ifneq (,$(findstring armeabi,$(TARGET_ARCH_ABI)))
|
||||
APP_MODULES += libwebrtc_spl_neon libwebrtc_aecm_neon
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(BUILD_WEBRTC_ISAC), 1)
|
||||
APP_MODULES += libwebrtc_spl libwebrtc_isacfix libmsisac
|
||||
APP_MODULES += libwebrtc_spl libwebrtc_isacfix libmswebrtc
|
||||
ifneq (,$(findstring armeabi,$(TARGET_ARCH_ABI)))
|
||||
APP_MODULES += libwebrtc_spl_neon libwebrtc_isacfix_neon
|
||||
endif
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 8db55ea83e5b275dd28bf7cb6199d2541c88db49
|
||||
Subproject commit 7caaca64ff3e96d202ad9192a0e6dbf76f9deecc
|
|
@ -1 +1 @@
|
|||
Subproject commit a106bde1dd8fb195b3ada76ebf01f2d2fa5872f9
|
||||
Subproject commit 0c9d65c32431969e58f77e0c280d7ce601ca043b
|
Loading…
Reference in a new issue