AudioFlinger, "que pasa" ?

Common bugs/problems with the Android SDK the Emulator and the ADT-Plugin.

AudioFlinger, "que pasa" ?

Postby Jompe71 » Fri Nov 21, 2008 3:25 pm

When I develop my app I use different PC's and one one of then a lot of logging like this from the adb logcat:
Code: Select all
W/AudioFlinger(   24): write blocked for 53 msecs
W/AudioFlinger(   24): write blocked for 49 msecs
W/AudioFlinger(   24): write blocked for 53 msecs
W/AudioFlinger(   24): write blocked for 90 msecs
W/AudioFlinger(   24): write blocked for 226 msecs
W/AudioFlinger(   24): write blocked for 122 msecs
W/AudioFlinger(   24): write blocked for 90 msecs
W/AudioFlinger(   24): write blocked for 86 msecs
W/AudioFlinger(   24): write blocked for 245 msecs
W/AudioFlinger(   24): write blocked for 198 msecs
W/AudioFlinger(   24): write blocked for 146 msecs
W/AudioFlinger(   24): write blocked for 185 msecs
W/AudioFlinger(   24): write blocked for 60 msecs
W/AudioFlinger(   24): write blocked for 89 msecs
W/AudioFlinger(   24): write blocked for 72 msecs
W/AudioFlinger(   24): write blocked for 48 msecs
W/AudioFlinger(   24): write blocked for 46 msecs


Is this a local hardware "problem" related so sound cards or something, since the game is running fine on other computer EMU's but not at home. As you can see from the times waisted on each call this really affects the game performance.
There is no school like old school gaming.
Jompe71
Experienced Developer
Experienced Developer
 
Posts: 69
Joined: Sat Oct 25, 2008 2:21 pm
Location: Stockholm Sweden

Top

Postby edwinkcw » Fri Feb 27, 2009 11:52 am

have you solve the problem? I got the same problem with you. Can you tell me the solution?
edwinkcw
Developer
Developer
 
Posts: 38
Joined: Wed Feb 18, 2009 2:04 pm

Postby Jompe71 » Sat Feb 28, 2009 10:22 am

No, I never solved it. As a matter a fact the problem seemed to solve itself.

This was so long ago, so I really cannot tell if it fixed itself by code changes, or if it was a hardware problem on the local PC or if it was an old Android API issue. :?

Some times when coding I can see some "Flinger" lines in the adb -logcat console but never is such scale as I described in the post.
There is no school like old school gaming.
Jompe71
Experienced Developer
Experienced Developer
 
Posts: 69
Joined: Sat Oct 25, 2008 2:21 pm
Location: Stockholm Sweden

Postby edwinkcw » Sat Feb 28, 2009 1:45 pm

Oh, i see.
I still got this warning message, but I just simply ignore it since the media player works well.
I may try to update my sdk.
edwinkcw
Developer
Developer
 
Posts: 38
Joined: Wed Feb 18, 2009 2:04 pm

Postby Jompe71 » Sat Mar 07, 2009 12:49 pm

Here we go again... a little flingering with the audio!

W/AudioFlinger( 25): write blocked for 48 msecs
W/AudioTrack( 25): obtainBuffer timed out (is the CPU pegged?) user=0001c100,
server=0001c000
W/AudioTrack( 25): *** SERIOUS WARNING *** obtainBuffer() timed out but didn't
need to be locked. We recovered, but this shouldn't happen (user=0001c100, serv
er=0001c001)
W/AudioFlinger( 25): write blocked for 46 msecs
W/AudioFlinger( 25): write blocked for 50 msecs
W/AudioFlinger( 25): write blocked for 52 msecs
W/AudioFlinger( 25): write blocked for 51 msecs
W/AudioFlinger( 25): write blocked for 47 msecs


Seems to me it happens due to some bug... which according to the log message should never happen. :D
Still don't know how to reproduce it on demand.
There is no school like old school gaming.
Jompe71
Experienced Developer
Experienced Developer
 
Posts: 69
Joined: Sat Oct 25, 2008 2:21 pm
Location: Stockholm Sweden

Postby xiangyong » Thu Dec 17, 2009 6:52 am

Hi ,i meet the same question. when i play game, the background music can play,but sometimes the background music can't stop. anyone know the answer?
xiangyong
Junior Developer
Junior Developer
 
Posts: 12
Joined: Mon Nov 10, 2008 4:39 am

Top

Return to SDK/ADT/Emulator Problems

Who is online

Users browsing this forum: No registered users and 5 guests