Suvitruf Suvitruf - 7 months ago 57
Android Question

NDK OpenSL ES looping sound with a buffer queue

I'm using SLDataLocator_AndroidSimpleBufferQueue for all audio files.
It works good, but...
It doesnt support seek and loop.

OpenSL can't require SL_IID_SEEK with a buffer queue data source

How can i use looping for files? Cant use streaming - low latency.


As it turned out, this is not possible with SLDataLocator_AndroidSimpleBufferQueue. Had to use SLDataLocator_AndroidFD...