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

Commit af242070 authored by Eric Laurent's avatar Eric Laurent Committed by Android Git Automerger
Browse files

am 73fb11d9: audio: add voice processing effect wrapper

* commit '73fb11d9':
  audio: add voice processing effect wrapper
parents a9d5c825 73fb11d9
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
ifneq ($(filter msm8960 msm8226 msm8x26 msm8974 msm8x74,$(TARGET_BOARD_PLATFORM)),)

LOCAL_PATH := $(call my-dir)
MY_LOCAL_PATH := $(call my-dir)

ifeq ($(BOARD_USES_LEGACY_ALSA_AUDIO),true)
include $(LOCAL_PATH)/legacy/Android.mk
include $(MY_LOCAL_PATH)/legacy/Android.mk
else
include $(LOCAL_PATH)/hal/Android.mk
include $(MY_LOCAL_PATH)/hal/Android.mk
include $(MY_LOCAL_PATH)/voice_processing/Android.mk
endif

endif
+23 −0
Original line number Diff line number Diff line
LOCAL_PATH:= $(call my-dir)

# audio preprocessing wrapper
include $(CLEAR_VARS)

LOCAL_MODULE:= libqcomvoiceprocessing
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/soundfx

LOCAL_SRC_FILES:= \
    voice_processing.c

LOCAL_C_INCLUDES += \
    $(call include-path-for, audio-effects)

LOCAL_SHARED_LIBRARIES := \
    libcutils

LOCAL_SHARED_LIBRARIES += libdl

LOCAL_CFLAGS += -fvisibility=hidden

include $(BUILD_SHARED_LIBRARY)
+725 −0

File added.

Preview size limit exceeded, changes collapsed.