[alsa-devel] ALSA underruns for S32_LE format

kuldeep ghan ghankp at gmail.com
Mon Aug 22 08:21:07 CEST 2011


On Sat, Aug 20, 2011 at 12:40 AM, Jassi Brar <jassisinghbrar at gmail.com>wrote:

> On Sat, Aug 20, 2011 at 12:03 AM, kuldeep ghan <ghankp at gmail.com> wrote:
> > Hi,
> >  Thanks Jassi, I dont my System is too slow, I have dual core processor,
> > 1.5GHz. no CPU consuming process running on it.
> It sure is not slow. Most probably I can't help anyways.
>
> >  I Shall confirm if it does not support S32_LE.. Is  there any means by
> > which I can confirm the same without
> >  going through Codec Driver??
> Generally, if the following works fine
>  $ speaker-test -Dhw -c 2 -t sine -f 200 -r 48000 -F S32_LE
>
Speaker-test mentioned above results into write error -32. I tried googling
it but did not get the right reason yet.
what does the write error -32. error imply?

*#  speaker-test -Dhw -c 2 -t sine -f 200 -r 48000 -F S32_LE*
*
*
*speaker-test 1.0.23*
*
*
*Playback device is hw*
*Stream parameters are 48000Hz, S32_LE, 2 channels*
*Sine wave rate is 200.0000Hz*
*Rate set to 48000Hz (requested 48000Hz)*
*Buffer size range from 1024 to 6144*
*Period size range from 512 to 3072*
*Using max buffer size 6144*
*Periods = 4*
*was set period_size = 3072*
*was set buffer_size = 6144*
* 0 - Front Left*
*Write error: -32,Broken pipe*
*Write error: -32,Broken pipe*
*Write error: -32,Broken pipe*
*Write error: -32,Broken pipe*


> >> > *underrun!!! (at least 0.055 ms long)*
> >> > *underrun!!! (at least 0.043 ms long)*
> >> > *underrun!!! (at least 0.040 ms long)*
> >> > *underrun!!! (at least 0.043 ms long)*
> >> > *underrun!!! (at least 0.043 ms long)*
> >> > *underrun!!! (at least 0.043 ms long)*
> >> > *underrun!!! (at least 0.040 ms long)*
> Btw, these uniform skips seem interesting. Some expert might dissect
> better.
>


More information about the Alsa-devel mailing list