[alsa-devel] Underrun errors in aplay
14 Mar
2008
14 Mar
'08
4:17 p.m.
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
14 Mar
14 Mar
4:23 p.m.
Barclay, Bruce wrote:
I am wondering if I am calling snd_pcm_period_elapsed too 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.
--
Timur Tabi
Linux kernel developer at Freescale
6127
Age (days ago)
6127
Last active (days ago)
1 comments
2 participants
participants (2)
-
Barclay, Bruce
-
Timur Tabi