[OpenWrt] soundplayer problems

Sten Kvamme sten at kvamme.se
Mon Jul 13 17:01:46 CEST 2009

mån 2009-07-13 klockan 13:49 +0200 skrev Lars-Peter Clausen:
> Sten Kvamme wrote:
> > aplay gets underrun errors on a simple mono au file so maybe it's
> > something else than slow FP that is the cause then.
> >   
> You have to pass aplay a buffer size which is a multiple of the period 
> size. Otherwise underruns are unavoidable. I'm not sure why aplay does 
> not choose a matching buffer size automatically, but it's on my TODO 
> list. Must be something in the driver.
> Those underruns also happen on older kernels, but due to changes in the 
> alsacore the underruns are now more visable

Thanks Mirko and Lars, can play sound now with the following parameters:

 aplay --period-size=2000 --buffer-size=10000 alarm.wav

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad
Url : http://lists.openmoko.org/pipermail/devel/attachments/20090713/f2b6826f/attachment.pgp 

More information about the devel mailing list