Bug#393471: [Pkg-alsa-devel] Bug#393471: useless message about
underruns
Elimar Riesebieter
riesebie at lxtec.de
Wed Oct 18 21:44:45 UTC 2006
reassign 393471 libao2
quit
On Wed, 18 Oct 2006 the mental interface of
Jan Christoph Nordholz told:
> Hi,
>
> I was able to track it down...
>
> ] jcn at hejre:~$ mpg321 -q favourite.mp3
> ]
> ] [1]+ Stopped mpg321 -q favourite.mp3
> ] jcn at hejre:~$ fg
> ] mpg321 -q favourite.mp3
> ] ALSA: underrun, at least 0ms.
> ]
> ] [1]+ Stopped mpg321 -q favourite.mp3
> ] jcn at hejre:~$ cd /proc/$(pidof mpg321)
> ] jcn at hejre:/proc/384$ cat maps
> ] 08048000-08050000 r-xp 00000000 21:42 976285 /usr/bin/mpg321
> ] [...]
> ] b7dc2000-b7dc5000 r-xp 00000000 21:42 1497146 /usr/lib/ao/plugins-2/libalsa09.so
> ] b7dc5000-b7dc6000 rwxp 00002000 21:42 1497146 /usr/lib/ao/plugins-2/libalsa09.so
> ] [...]
> ] jcn at hejre:/proc/384$ strings /usr/lib/ao/plugins-2/libalsa09.so | grep under
> ] ALSA: underrun, at least %dms.
> ] underrun recovery: snd_pcm_prepare
> ] jcn at hejre:/proc/384$
>
> The ALSA plugin of libao2 seems to be unable to get the proper
> amount of ms that output was delayed. aplay does fine:
>
> ] jcn at hejre:~$ aplay favourite.wav
> ] Playing WAVE 'favourite.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono
> ]
> ] [2]+ Stopped aplay favourite.wav
> ] jcn at hejre:~$ fg
> ] aplay favourite.wav
> ] underrun!!! (at least 1088.797 ms long)
> ]
> ] [2]+ Stopped aplay favourite.wav
> ] jcn at hejre:~$ fg
> ] aplay favourite.wav
> ] underrun!!! (at least 914.463 ms long)
> ]
> ] [2]+ Stopped aplay favourite.wav
> ] jcn at hejre:~$
>
> Reassign to libao2?
Cool, thanks for help. Indeed ist is in the libao source code:
src/plugins/alsa09/ao_alsa09.c:417: \
fprintf(stderr,"ALSA: underrun, at least %dms.\n", 0);
Elimar
--
The path to source is always uphill!
-unknown-
More information about the Pkg-alsa-devel
mailing list