By "fastest," I mean lowest-latency.
The 2 methods of which I am aware are:
- use android.media.AudioTrack
- use OpenSL ES with NDK/C++
Of the two, which is faster? If there are other alternatives, please enlighten me.
Further details: Assume that my application will be playing sounds that are predisposed to the native hardware's format. E.G., if the native playback sample rate is 44.1KHz, I will feed it a 44.1K sound. If instead the native sample rate is 48KHz, I will feed it a 48KHz sound. No system mixer or re-sampler should be necessary.