MediaPlayer stops playing when streaming over 3G on the Nexus One

by henrik » Fri, 23 Apr 2010 16:02:36 GMT

Sponsored Links

I am maintaining a streaming music player, and I'm running into a
similar problem as +Android/forum/114391/_/593575

My player stop after roughly 1-2 minutes, and there are no log
messages except for "I/AudioHardwareQSD( 52): AudioHardware pcm
playback is going to standby" just after the playback stops.

This happens when I run it on the Nexus One over 3G.  It does not
happen over Wifi, and it does not happen on my HTC Hero with android
1.5 over 3G.

Do you guys have any hints on how to debug this? Is it e.g. possible
to monitor the memory available to the media player object?

All help is appreciated :)

Best regards,


Other Threads

1. udah pake manup NEXDESIRE v1.0r2...and now app2sd gue blom jalan kaenya..

Free ram lu brapa wol? Jangan kagrt kalo internal phone storage turun
terus... memory eater

Renner nyaranin pake cachemate, sama advance task killer supaya balik sehat

Liat partisi lu pake command dari terminal

busybox df -h

powered by snapdragontil

as subject.
tidur ah
teler bow!

*td ngoprek sambil ntn justice league crisis on two earth hasil
donlotan...*halah jd abg lg**

"Indonesian Android Community [id-android]"

2. AudioTrack.getPlaybackHeadPosition() is buggy????


does anybody use AudioTrack.getPlaybackHeadPosition()?

i found that, if i call AudioTrack.pause() in the middle of playing
audio frames, at end of playback getPlaybackHeadPosition() always
returns hundreds of frames less than the number of frames fed into the
AudioTrack object .

did anybody also run into the same issue?

if you did, how did you work around this unexpected behavior?

thank u~


3. glDeleteBuffers crashes

4. first call to setContentView taking more than 10 seconds

5. Opening main.xml causes Eclipse to crash out

6. Showoff: manup NEXDESIRE v1.0r2

7. Trying to start the Hello World tutorial - can't create an AVD. Help!