I noticed the same thing when playing OGG files through the
MediaPlayer.  In my game FRG, the draw/update thread probably swallows
a large portion of CPU time causing the occasional skip.  Music also
tends to skip when the garbage collector runs.  The problem doesn't
happen for me if I play MP3s through the MediaPlayer.  Unfortunately
MP3s seem to have a fraction of a second delay when starting while
OGGs do not.

I've also noticed the AudioFlinger issues but they don't seem to
correlate with the pauses I experience.  I've never had write blocks
for the amount of times you've listed though.

Anybody else have similar issues?

  Ernest Woo
  Woo Games
  http://www.woogames.com

On Sep 5, 12:23 am, schwiz <[email protected]> wrote:
> I am constantly getting horrible playback on music on my g1, It will
> cut out constantly for a second or two, I finally caught it happen
> while I had log cat running, anyone know what this error is from and
> how to fix it?  I am running the latest cyanogen mod but this was
> happening to me way back when I was running regular tmobile cupcake
> (actually the reason I rooted, because I thought It was a memory
> issue)  anyways here is the log message.
>
> 09-04 23:18:09.953: WARN/AudioFlinger(123): write blocked for 156
> msecs
> 09-04 23:18:10.363: WARN/AudioFlinger(123): write blocked for 412
> msecs
> 09-04 23:18:10.604: WARN/AudioFlinger(123): write blocked for 235 msecs
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Android Discuss" 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-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to