Try including files with this approach .s. It is important to have a fallback implementation C, and I assume you have one. In Android.mkyour codec file
ifeq ($(TARGET_ARCH),arm)
LOCAL_SRC_FILES += \
src/asm/file1.s \
src/asm/file2.s \
src/asm/file3.s \
src/asm/file4.s
else
LOCAL_SRC_FILES += \
src/file1.cpp \
src/file2.cpp \
src/file3.cpp \
src/file4.cpp
endif
For example, you can refer to the method of creating a decoder MP3, as in this file Android.mk.
source
share