Suvitruf Suvitruf - 1 year ago 110
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.

Answer Source

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

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download