[alsa-devel] ASoC : underrun messages

Naveen Krishna Ch naveenkrishna.ch at gmail.com
Wed Jan 28 14:43:02 CET 2009


On Wed, Jan 28, 2009 at 7:09 PM, Naveen Krishna Ch <
naveenkrishna.ch at gmail.com> wrote:

> Hello,
>
> I am experiencing some audio issue
> While playing using aplay
> some times i see the following messages.
> (Sorry if the messages are too long)
>
> [root at OMAP3 audio_samples]#aplay sample_96K.wav
>  Playing WAVE 'sample_96K.wav' : Signed 16 bit Little Endian, Rate 96000
> Hz, Stereo
> underrun!!! (at least 1307.251 ms long)
> underrun!!! (at least 554.656 ms long)
> underrun!!! (at least 988.861 ms long)
> underrun!!! (at least 554.443 ms long)
> underrun!!! (at least 987.670 ms long)
> underrun!!! (at least 995.484 ms long)
> ^CAborted by signal Interrupt...
>
> [root at OMAP3 audio_samples]#aplay sample_48K.wav
> Playing WAVE 'sample_48K.wav' : Signed 16 bit Little Endian, Rate 48000 Hz,
> Stereo
> underrun!!! (at least 69.306 ms long)
> underrun!!! (at least 130.981 ms long)
> underrun!!! (at least 205.750 ms long)
> underrun!!! (at least 178.100 ms long)
> underrun!!! (at least 146.057 ms long)
> ^CAborted by signal Interrupt...
>
> [root at OMAP3 audio_samples]#aplay sample_8K.wav
> Playing WAVE 'sample_8K.wav' : Signed 16 bit Little Endian, Rate 8000 Hz,
> Stereo
> ^C^[[AAborted by signal Interrupt...
>
> [root at OMAP3 audio_samples]#aplay sample_22K.wav
> Playing WAVE 'sample_22K.wav' : Signed 16 bit Little Endian, Rate 22050 Hz,
> Stereo
> ^CAborted by signal Interrupt...
>
> [root at OMAP3 audio_samples]#aplay sample_44K.wav
> Playing WAVE 'sample_44K.wav' : Signed 16 bit Little Endian, Rate 44100 Hz,
> Stereo
> underrun!!! (at least 1602.264 ms long)
> underrun!!! (at least 873.078 ms long)
> underrun!!! (at least 1693.268 ms long)
> underrun!!! (at least 870.483 ms long)
> underrun!!! (at least 540.466 ms long)
> underrun!!! (at least 1122.711 ms long)
>
> I am using OMAP3430 + twl4030 ASoC audio codec drivers.
>
> I understand that the prints are coming from alsa-lib aplay.c file

sorry mistaken the print is from  .alsa-lib/src/pcm/pcm.c

>
> As a result of the client not reading the buffers fast enough.
>
> These are not conditionally reproducible, i see them uncertainly.
>
> I saw the same isue with 2.6.26 some one suggested me to find
> if there is any bug in the asoc layer.
> Now i am using 2.6.28 kernel from kernel.org but still got the same
>
> Can any one suggest me a way to find a fix for this..
> --
> Cheers
> (: Naveen Krishna Ch :)
>



-- 
Cheers
(: Naveen Krishna Ch :)


More information about the Alsa-devel mailing list