I have been trying to port FFMPEG (for playing audio) into Android using NDK. I have had some success
- I could build FFMPEG and link it via NDK.
- I could call
avcodec_decode_audio3()
and decode a given audio file.
So here I have a audio buffer output from the function. How do I play this now? Any ffmpeg guys can tell me the exact steps to decode and play audio. I am really clueless of what to do with the audio buffers created I got from avcodec_decode_audio3()
.
thanks a lot.