Underrun errors in aplay
A message that is not in the archive (sent off-list or not yet received): [email protected]
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
Quoted 2 lines · Bruce
I am wondering if I am calling
snd_pcm_period_elapsedtoo often. I am calling that when I have free H/W buffers.
I believe that function is only supposed to be called once, and only after a period has been played.
Signature · 2 lines
Timur Tabi Linux kernel developer at Freescale