MP3 Decoding on Android
- by Rob Szumlakowski
Hi. We're implementing a program for Android phones that plays audio streamed from the internet. Here's approximately what we do:
Download a custom encrypted format.
Decrypt to get chunks of regular MP3 data.
Decode MP3 data to raw PCM data in a memory buffer.
Pipe the raw PCM data to an AudioTrack
Our target devices so far are Droid and…