You're going to want to do that in native code. I'm sure there are some open mp3 decompressors that you will be able to get to compile in C with some adaptations. You probably won't have enough memory to decode the whole thing into ram but you can do portions at a time. I believe mp3s are frame-based so it should work.
On Dec 9, 10:10 am, purvi <[email protected]> wrote: > Hi, > > I am streaming an MP3 audio and instead making this MP3 audio to play, > I want it to be converted to PCM format and pass this PCM audio to > AudioTrack(as it takes PCM data as input.) instead of passing my MP3 > stream to MediaPlayer. > Can anyone please help me to convert the MP3 to PCM stream? > > Thanks. > Regards, > Purvi -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

