Jan Depner <[EMAIL PROTECTED]> writes: > On Sun, 2003-12-14 at 08:07, Chris Cannam wrote: >> >> While trying to track down the source of some poor timing in >> sequencing, I've noticed that my ALSA sequencer queue timer has a >> tendency to fall suddenly behind. >> >> I have a little test program (available on request) that just starts a >> queue and every second or so compares the queue timer against real >> time as returned by gettimeofday(). It doesn't mind if the two don't >> quite match, but it does complain if the difference between the two >> timers changes dramatically between two sample points. When I run >> it, it never lasts for more than about a minute before the ALSA queue >> timer suddenly slips by anything from 10 to 60 milliseconds. > > If I'm not mistaken the timing for your audio is coming from your sound > card not your system clock. The gettimeofday is from the system clock. > They probably won't match.
That's true. However, you typically see a gradual drift, not a sudden jump. -- Måns Rullgård [EMAIL PROTECTED] ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel