On Mon, 17 Sep 2001, Takashi Iwai wrote:
> Hi,
>
> in this weekend I worked on the ALSA timer stuffs, too.
> The attached patch includes:
>
> - use standard list struct for handling of timers.
It looks good.
> - removal of resolution in sequencer -- sequencer invokes timer with
> the highest possible interrupts (for the assigned source).
> so now it doesn't matter which timer source is.
I don't agree so much with it. For example: The GUS cards have one 80000us
and second 320000us timers with maximum up to 256 ticks. I think that it
would be better to use the user specified tick rate using the parameter
snd_seq_default_timer_resolution. I also don't see how your code affects
the slave timer. It must work as now, because period or base_period
members are not used in any time counting expression.
> Please give a try!
>
> BTW, I removed slave timer instance (not HW_SLAVE) from timer.c,
> because it was buggy. I'll try to put back if it's inevitablly
> necessary.. What do you think, Jaroslav?
I can easily imagine an application using same slave timer for
a sequencer queue and an user space task to run in sync.
Jaroslav
-----
Jaroslav Kysela <[EMAIL PROTECTED]>
SuSE Linux http://www.suse.com
ALSA project http://www.alsa-project.org
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel