Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d38f1758 authored by Ramjee Singh's avatar Ramjee Singh Committed by Steve Kondik
Browse files

audioflinger: Compile 192k resampler for 32 bit environment

Current makefile compiles the resampler only for 64 bit environment.
Allow compilation for 32 bit environment as well.

CRs-Fixed: 735776
Change-Id: I626725551af73fc5ea98a7dbf87cacea9dbbc0ef
parent 804eeffb
Loading
Loading
Loading
Loading
+9 −2
Original line number Diff line number Diff line
@@ -162,10 +162,17 @@ LOCAL_SHARED_LIBRARIES := \
#QTI Resampler
ifeq ($(call is-vendor-board-platform,QCOM),true)
ifeq ($(strip $(AUDIO_FEATURE_ENABLED_EXTN_RESAMPLER)),true)
ifdef TARGET_2ND_ARCH
LOCAL_SRC_FILES_$(TARGET_2ND_ARCH) += AudioResamplerQTI.cpp.arm
LOCAL_C_INCLUDES_$(TARGET_2ND_ARCH) += $(TARGET_OUT_HEADERS)/mm-audio/audio-src
LOCAL_SHARED_LIBRARIES_$(TARGET_2ND_ARCH) += libqct_resampler
LOCAL_CFLAGS_$(TARGET_2ND_ARCH) += -DQTI_RESAMPLER
else
LOCAL_SRC_FILES += AudioResamplerQTI.cpp.arm
LOCAL_C_INCLUDES += $(TARGET_OUT_HEADERS)/mm-audio/audio-src
LOCAL_SHARED_LIBRARIES += libqct_resampler
LOCAL_CFLAGS += -DQTI_RESAMPLER
endif
endif
endif
#QTI Resampler