Hi together,
I was trying to write a small application which will use the new
OpenSL ES features to decode audio files to PCM. I was wondering if
there is anyone who can help us, as we have problems with it. One
question is for example, if it is possible to init the decoder and
than pull the decoded pcm data from the buffers. As for my
understanding it is working the other way around, which means that the
decoder will start and fill the different buffers and invokes the
callbacks. From within the callback method you should enqueue the next
buffer. This is more a push mechanism right?
There is one post
http://groups.google.com/group/android-ndk/browse_thread/thread/b795132da7e6a2d1
which is not answered and complete. Any ideas?
Cheers
Fritz