* Underrun errors in aplay
[not found] <mailman.3199.1205503800.2095.alsa-devel@alsa-project.org>
@ 2008-03-14 15:17 ` Barclay, Bruce
2008-03-14 15:23 ` Timur Tabi
0 siblings, 1 reply; 2+ messages in thread
From: Barclay, Bruce @ 2008-03-14 15:17 UTC (permalink / raw)
To: alsa-devel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Underrun errors in aplay
2008-03-14 15:17 ` Underrun errors in aplay Barclay, Bruce
@ 2008-03-14 15:23 ` Timur Tabi
0 siblings, 0 replies; 2+ messages in thread
From: Timur Tabi @ 2008-03-14 15:23 UTC (permalink / raw)
To: Barclay, Bruce; +Cc: alsa-devel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-03-14 15:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <mailman.3199.1205503800.2095.alsa-devel@alsa-project.org>
2008-03-14 15:17 ` Underrun errors in aplay Barclay, Bruce
2008-03-14 15:23 ` Timur Tabi
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.