2022-06-25 00:23:03 +08:00

54 lines
1.7 KiB
Makefile

LOCAL_PATH := $(call my-dir)
#New AudioEngine
include $(CLEAR_VARS)
LOCAL_MODULE := audioengine_static
LOCAL_MODULE_FILENAME := libaudioengine
LOCAL_SRC_FILES := AudioEngine-inl.cpp \
../AudioEngine.cpp \
AssetFd.cpp \
AudioDecoder.cpp \
AudioDecoderProvider.cpp \
AudioDecoderSLES.cpp \
AudioDecoderOgg.cpp \
AudioDecoderMp3.cpp \
AudioDecoderWav.cpp \
AudioPlayerProvider.cpp \
AudioResampler.cpp \
AudioResamplerCubic.cpp \
PcmBufferProvider.cpp \
PcmAudioPlayer.cpp \
UrlAudioPlayer.cpp \
PcmData.cpp \
AudioMixerController.cpp \
AudioMixer.cpp \
PcmAudioService.cpp \
Track.cpp \
audio_utils/format.c \
audio_utils/minifloat.cpp \
audio_utils/primitives.c \
utils/Utils.cpp \
mp3reader.cpp \
tinysndfile.cpp
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../include
LOCAL_EXPORT_LDLIBS := -lOpenSLES
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../include \
$(LOCAL_PATH)/../.. \
$(LOCAL_PATH)/../../platform/android \
$(LOCAL_PATH)/../../../external \
$(LOCAL_PATH)/../../../external/sources
LOCAL_STATIC_LIBRARIES += libvorbisidec libpvmp3dec
include $(BUILD_STATIC_LIBRARY)
$(call import-module,sources/tremolo)
$(call import-module,sources/pvmp3dec)