Open source replacement for proprietary Qualcomm aptX libraries on Android
git clone https://github.com/notmyst33d/libaptX external/aptx
- Add following to your
device.mk
:
PRODUCT_PACKAGES += \
libaptX_encoder \
libaptXHD_encoder
You should have Android NDK installed on your system
git clone https://github.com/notmyst33d/libaptX
cd libaptX
mkdir build
cd build
cmake -DCMAKE_TOOLCHAIN_FILE=(path to Android NDK)/build/cmake/android.toolchain.cmake -DANDROID_PLATFORM=21 -DANDROID_ABI=arm64-v8a ..
make
After this you should get libaptX_encoder.so
and libaptXHD_encoder.so
library
Note: Change -DANDROID_ABI=arm64-v8a
to -DANDROID_ABI=armeabi-v7a
if you want to build this library for ARM instead of ARM64
libaptX_encoder: https://github.com/Arkq/openaptx/tree/master/src/aptx422
libaptXHD_encoder: https://github.com/Arkq/openaptx/tree/master/src/aptxhd100