Hello,

I have a widget that has nothing to do with sound and I got report
from one user that my widget causes lags in MP3 playing. He sent me
log where is time relationship between update of my widget update and
ALSA buffer underrun.

To be honest, I have no idea how application can affect ALSA as I
believe that multitasking is matter of Linux/Android and ALSA should
have higher priority than update of home screen widgets. I'm updating
my widget in service so I believe that I can't fix this issue.

Can anybody comment on this and/or explain me how ALSA can be affected
by widget.

Thanks a lot
Tom

----- Here is the log fragment ---------

I/n.h.a.g.GaugeBatteryWidget( 2559): Creating dial painter with scale
1.5
I/n.h.a.g.GaugeBatteryWidget( 2559): updateAppWidget(130,class
net.hubalek.andro
id.gaugebattwidget.widget.BatteryWidget_2x1,ComponentInfo{net.hubalek.android.ga
ugebattwidget/
net.hubalek.android.gaugebattwidget.widget.BatteryWidget_2x1}) cal
led...
I/AlarmManager( 2249): mWakeLock.acquire(500);
D/libgps  ( 2249): sec_gps_inject_location: latitude: 1202315965,
longitude: 107
7554202, accuracy: 370810296
E/ALSALib ( 2185): external/alsa-lib/src/pcm/pcm.c:7231:
(snd_pcm_recover) underr
un occured
D/AudioHardwareALSA( 2185): Write : Error = [0], mHandle =[110704]!!
W/AudioFlinger( 2185): write blocked for 301 msecs, 2 delayed writes,
thread 0x2
84b8
I/POWER_OFF_TEST( 2249): mBatteryLevel = 41   mBatteryDecimalPoint =

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to