On Sun, 10 Oct 1999, Andreas Beck wrote:

> Hi folks. I know its heavily OT, but the most clued people are here ...
> 
> How does one make sure sound and video keep in sync in a multimedia type
> application ?

        Use the new ALSA API.  It's sequencer support is much more
advanced than the old OSS sequencer.

> The problem is again the buffering. When recording, I have no problem, as the
> data gets readable as soon as the buffers are full enough, but when writing
> the writes will not block (as the buffers are bigger) and thus I have a
> constant delay between audio and video when playing back the stream by
> relying on the audio device to block.

        The new ALSA supports double buffering of PCM I/O.  IMHO that and
the new timer/synch support should solve your problem.

www.alsa-project.org has all the details.

Jon 

---
'Cloning and the reprogramming of DNA is the first serious step in 
becoming one with God.'
        - Scientist G. Richard Seed

Reply via email to