audio flinger :(

by schwiz » Sat, 05 Sep 2009 12:24:15 GMT

Sponsored Links
 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
09-04 23:18:10.363: WARN/AudioFlinger(123): write blocked for 412
09-04 23:18:10.604: WARN/AudioFlinger(123): write blocked for 235 msecs

audio flinger :(

by ernestw » Sat, 05 Sep 2009 20:19:01 GMT

 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 


Sponsored Links

audio flinger :(

by Jay » Mon, 07 Sep 2009 01:42:32 GMT

 I have a similar problem when piping music through bluetooth to my
motorcycle helmet.  I get a lot of skips and pauses sometimes.  It
also happened to me both before I rooted, and while I was on JF &
Cyanogen's ROMs.  I'm not sure how to run a log, but if you can give
me the steps I'll be happy to do so.


audio flinger :(

by schwiz » Mon, 07 Sep 2009 08:53:20 GMT

 if you are rooted you can open the terminal and type

logcat -help

to show a list of logcat commands, to save the file i think its
logcat -c "filename"  or something

I use eclipse and the sdk to view the logcat, which is much easier and
color codes and you can copy lines out of it, but if you don't have
eclipse set up its a lot to go through to explain how but you can
visit the android sdk site for detailed instructions on how to it all


audio flinger :(

by schwiz » Mon, 07 Sep 2009 08:57:56 GMT

 also, you can search logcat on the market and there is an app called
logcollector that will email the log to you , doesn't require root


Other Threads

1. Android lost file issue

I have support U disk in my android2.1,but when android boot with udisk
insert in slot,if some files in udisk,will rmdir automatically by Android.

"D/        ( 1015): unable to rmdir -tommy-debug-0519'/udisk/test': Is a
directory (errno=21)"
LOGD("unable to rmdir -tommy-debug-0519'%s': %s (errno=%d)\n")

what's going on in this background?

Hope you can reply me ,thanks!


our psychological growth is the movement from dependence to independence  to


2. Google Docs Access

My app is mainly self-contained, interacting only with the user's 
databases, and does not use any web or cloud technology to do its thing. 
However, I'd like to add functionality to download database files from 
the user's Google Docs account to make it easier to transfer data.

There are docs online for the required APIs, but it really seems 
complicated and assumes prior knowledge of various web technologies 
(XML, JSON, HTTP headers, etc.) that are outside my realm of knowledge. 
It looks like a very steep learning curve just to perform this basic 
operation: obtain authentication, get a list of available docs to 
display, download selected doc file to the SD card.

Is there anyplace where I can find a tutorial on what I need to know, or 
possibly sample code? My experience in the past is that the 
documentation can make it seem more complex than it actually is: 20 
pages of confusing text, and then you see a sample implementation and 
it's just a couple dozen lines of code!

Any help getting me started on this would be appreciated!

  Doug Gordon
  GHCS Software


3. from which API level there have been support for W3C Geolocation API?

4. a wacky workaround to get Nexus One usb driver installed on windows 7

5. help for listview?

6. Job Opportunity NYC

7. Need Help