Welkom terug, Frank!

>I see 2 options for it (please correct me if I'm wrong since i've been away
>for too long):
>
>- sync the timer using SND_SEQ_EVENT_SETPOS_TIME events (and optionally
>  SND_SEQ_EVENT_QUEUE_SKEW). ALSA remains running it's own clock (system
>  clock, rtc, external clock), following your internal clock.
>
>- Use a PCM device as timing source (you'll need a reasonable small fragment
>  size though).
>
>- Add support for a userspace clock source eg. add some
>  "SND_SEQ_EVENT_CLOCK_ADVANCE" which would trigger a timer callback (hence
>  snd_seq_timer_interrupt()).

? :) That's three options, unless a PCM device already is a possible
trigger for the main sequencer timer as per first option.

Anyway, my favourite would be the last option. It would also allow
us to implement the kind of predelay soft synths need without a big
fuzz: a clock-master client would only need to advance the clock 
ahead of time.

Groetjes, Tim




-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to