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. How to achieve dynamic installation in Android system

How to achieve dynamic installation in Android system,Like
platformRequest(String URL) in J2ME System.
thanks .
goto.

--~--~---------~--~----~------------~-------~--~----~

2. how to change system timezone setting?

I called TimeZone.setDefault() for changing system's timezone, but
failed.
Is there an API for me to change system's timezone?
--~--~---------~--~----~------------~-------~--~----~

3. Adding audio files to res/raw fails to add them to R.java

4. Adding audio files to res/raw fails to add them to R.java

5. SQL replication?

6. adb tool connects to real H/W?

7. Button and PopupWindow