Here is an OpenSL-ES project on Android. I use it to test the Android audio delay on devices. It's based on one of Victor Lazzarini's audio programming blog on android section:  http://audioprograming.wordpress.com/2012/03/03/android-audio-streaming-with-opensl-es-and-the-ndk/