Hi,
Recently I'm trying to use MediaCodec and MediaExtractor to build a toy app for Android 4.1.
Audio data extracting and decoding are fine but , unlike video which can be rendered by MediaCodec.releaseOutputBuffer, I cannot find an api to render audio..
If I use audiotrack to play a data, I should at least know the audio source's sampling rate but nowhere can I find the api to get this information.
Do you guys have any idea on how to render audio decoding output ?