I've been trying to look into using the OpenSL ES library that is available for doing native audio with android 2.3, but it appears that the header files and the 600 page pdf of the spec are the only available documentation.
Where should I be looking for examples, tutorials, or a brief overview of the capabilities?
There's an example app that comes with the NDK called NativeAudio. It has examples of nearly anything you would ever want to implement: effects, streaming, synthesis, etc. If you look at its code, you'll get a good head start.
You could also check victor lazzarini's audio programming blog, it has an android section: http://audioprograming.wordpress.com/category/android/
There you will find working examples, they were extremely useful to me to get started with openSL and can be used as a base to develop audio applications with ndk.
And also, don't overlook the specifications document, it's not so long after all, the first part is no more than fifty pages and gives you the needed perspective to understand how everything works, the rest is for reference use. Be careful that some things in android openSL implementation differ from the specifications: see in your-ndk-directory/docs/opensles/index.html for more informations about this.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With