[alsa-devel] Underrun errors in aplay

Barclay, Bruce bruce.barclay at intel.com
Fri Mar 14 16:17:36 CET 2008

I have written a driver for Alsa and I think the sound is correct but I
do get underrun errors.  I don't understand how aplay would know if I am
starved.  This doesn't make sense to me.  I would only think that the
driver should know about underruns but maybe I am confused with this.  

I am wondering if I am calling snd_pcm_period_elapsed too often.  I am
calling that when I have free H/W buffers.  
Thanks, Bruce

More information about the Alsa-devel mailing list