AudioTrack and MP3 data

by Zach Hobbs » Wed, 29 Apr 2009 05:24:07 GMT


Sponsored Links
 I have been streaming MP3 audio tracks using the Apache Commons
libraries to create a local HTTP server and then connecting to it with
MediaPlayer.  This is a very cumbersome setup, and has tons of
overhead...that's why I was excited about the introduction of
AudioTrack.

Unfortunately I just realized that AudioTrack only supports PCM
audio.  Is it worth decoding the MP3 data in Java? Or is there anyway
to use the MediaPlayer's native decoding?

Just trying to figure out what is worse, running a local HTTP server,
or decoding MP3 audio to PCM in java....

-Zach
--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Automatically fetch another app from market

Hi Guys,

Is there a way for a user to click a link in my app to take them to the 
market and automatically install another one of my apps?

I don't want them to have to do anything once the link has been clicked if 
possible - rather I would like the app automatically downloaded to their 
handset.

Any help would be really appreciated
cheers
Optom04

-- 

2. Papago android ga bisa landscape?

Halo,
Saya coba trial papago buat android tapi kok ga bisa landscape ya?
Apakah benar atau versi saya yang salah?

Thx

-- 
===============
"

3. How I save xml file with Elemnt Node type

4. Help needed with MediaRecorder - first time dev

5. openGL problem

6. EditText not able to regain focus.

7. Help needed on streaming aac+ stream on Android