Re: [Alsa-devel] Sync between MIDI and audio

2003-09-02 Thread Steve deRosier
Paul, Ah, well that explains it. Thanks. Can you point me to some info on how I would link the two clocks (I guess it would be to make the seq use the PCM clock)? As far as using kernel 2.5/2.6 or the backport of the hi-res timers code... unfortunately this isn't an option for me. I can't c

Re: [Alsa-devel] Sync between MIDI and audio

2003-08-29 Thread Paul Davis
>The problem: the MIDI and audio start synced up, but after a while they >start to drift further and further apart. I've checked my stuff >exaustively to make sure that it's not the fault of my program, so I'm >figuring it is caused by me not setting up something properly in alsa to >make the

[Alsa-devel] Sync between MIDI and audio

2003-08-29 Thread Steve deRosier
I'm writting an app that plays a special format and uses both the Alsa seq and pcm interfaces to output MIDI and audio data together. I'm almost done, but I've got one problem that is plaugeing me: I can't get the two to stay in sync. Basically, what I'm doing is using writei() to send frames