On Tue, 2 Mar 2004, Manuel Jander wrote:

> By the way, is it really really necesary that "snd_pcm_period_elapsed()"
> is called exactly when one period has been playback ? Must that callback
> be called for every period ?
> After looking at the bt87x driver it seems that it doesn't matter after
> all (is that right ?). I was thinking in calling
> snd_pcm_period_elapsed() just after each page crossing, instead of
> period crossing, for simplicity.

It will create extra latency, because application will be woken up later
than expected. The driver should try to call this ack immediately when the
period transfer is finished.

                                                Jaroslav

-----
Jaroslav Kysela <[EMAIL PROTECTED]>
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to