android/audio: add AAudio
https://developer.android.com/ndk/guides/audio/aaudio/aaudio AAudio is a native PCM-only audio API starting Android 8.0 (but enabled in VLC starting Android 9.0 due to some bugs). Having tested it with few device. The latency reported by this new API is correct and without any irregularity, contrary to the AudioTrack.getTimeStamp() API that is very broken. Plus side, a huge gain of performance due to the absence of JNI C->JAVA->C++.
Showing
- modules/audio_output/Makefile.am 1 addition, 0 deletionsmodules/audio_output/Makefile.am
- modules/audio_output/android/aaudio.c 625 additions, 0 deletionsmodules/audio_output/android/aaudio.c
- modules/audio_output/android/device.c 5 additions, 0 deletionsmodules/audio_output/android/device.c
- modules/audio_output/android/device.h 3 additions, 0 deletionsmodules/audio_output/android/device.h
Loading
Please register or sign in to comment