I’m looking at doing a C++ implementation for OpenSL ES, and need to get hold of possible buffer sizes to use (for the enqueued buffers), i.e. I don’t want to use JNI for accessing
properties like “android media property OUTPUT_FRAMES_PER_BUFFER”.
For sample rates, I suppose I can use SLAudioInputDescriptor and SLAudioOutputDescriptor to get available rates, and then use 48000 as default rate (as it is a required rate in Android).
But how can I get hold of the default and possible buffer sizes ?? Or do I even need to care ?