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

Commit 7bf07b34 authored by Ramjee Singh's avatar Ramjee Singh Committed by Linux Build Service Account
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 204fe106
Loading
Loading
Loading
Loading
+10 −3
Original line number Diff line number Diff line
@@ -144,17 +144,24 @@ 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

LOCAL_MODULE := libaudioresampler

LOCAL_CFLAGS := -Werror -Wall
LOCAL_CFLAGS += -Werror -Wall

# uncomment to disable NEON on architectures that actually do support NEON, for benchmarking
#LOCAL_CFLAGS += -DUSE_NEON=false