How to use Android MediaCodec to decode an aac audio file
I am using Android MediaCodec to decode an audio file formated in AAC.But the alway output a 0 bytes decodeFile. I have debuged my code, then i found outputBuffer?.remaining() ?: 0
always returns 0.
Could you help me? thanks!