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. a display problem when porting android on beagle-like board

Hi,

I have a dev board which is beagle board compatible, and I want to
port the new android release (Donut) on this board. The "ANDROID"
chars and the boot animation can be showed correctly, but the main
desktop interface can not be showed, replacing of a black screen. I
have the output message "binder: 691:698 transaction failed 29189,
size 60-0" on serial port and I don't know whether it is related to
the display problem. Does anyone have some good ideas for me to debug
this problem, or tell me why this problem happens?

Best regards,
Ray

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

2. Android on the LG Incite

I want to experiment, not afraid of losing my phone, just want to try
Android on it.  I've used the cooked WM6.5 ROM (very neat, with
issues) and would like to try to get Android on it.  Looking for
people who have done this with similar phones and people with
knowledge on using adb over usb.  Flashing is no challenge, as
outlined in the xda forums, and should allow me to reload a wm rom if
needed, so I'm not afraid to try.  Please post below if you have
pertinent knowledge.  I am not a programmer, but I have the source and
am able to edit code with some understanding of what it does.  Also,
if anyone knows which files are more germane to the porting process,
it would give me a head start to read them.

Thanks in advance; I'm sure I'm not the only Incite owner who wishes
for a Linux-based phone.

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

3. Does anyone who ever porting android on atmel arm 926x EK?

4. Porting Android to AT91SAM9261 (ATMEL)

5. How to use XML parsing through cpp code

6. request for sample code for taking pictures and sending them using http post

7. Checkout input forms good thru and ZIP code