I now have perfectly synced playback of MIDI and PCM with current CVS
alsa + one minor patch.

I'm not sure if this patch is correct, but seems to make sense.

In snd_seq_timer_set_position_tick()
(alsa-driver/kernel/seq/seq_timer.c), you are prevented from adjusting
the tick counter while the timer is running.  When using the PCM timer,
I believe that the timer is _always_ running, and so one is never able
to adjust the tick counter.

I deleted the lines:

if (tmr->running)
  return -EBUSY;

which fixes the problem here.  It looks like some of the timer functions
have this, and some don't.

It seems like a perfectly reasonable thing to be able to modify while
running.

jack.

_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to