Paul, Thank you for your clear explanation. I've submitted a small documentation patch to the sf.net project which might prevent the next person who comes along from falling into the same trap.
>the basic problem is that you are going about this in the wrong >way. there have been many discussions here and on LAD about how to do >this sort of thing. its not easy. your first and most basic problem is >that you are trying to sync two clocks (the video frame clock and the >audio frame clock) that do *not* run in sync. any solution that starts >with this as its approach is going to fail, for better or for worse. We've gone back to our standby method of timing everything off the audio, using polling to trigger the RTC for a per-frame delay. It's CPU intensive, but works well enough for our purposes. (Although definitely sub-optimal and quite nasty.) -R ------------------------------------------------------- This SF.net email is sponsored by: Get the new Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel