On Monday 31 March 2008 19:39:32 Yair K. wrote: > 3. Don't call SNDCTL_DSP_SYNC at end of playing each file, since it > doesn't work well with loop mode when playing a single file and I didn't > find any problems with the line commented out.
Futher testing showed this isn't entirely a good idea, but the previous code still needs work. The manual (http://manuals.opensound.com/developer/SNDCTL_DSP_SYNC.html) suggests: "The sync operation will always cause a more or less noticeable pause or click in the output. So it's recommended to output few samples of silence before and after making this call." I'll write something to this end, and work around loop issue in a different way. Yours, Yair K. _______________________________________________ oss-devel mailing list oss-devel@mailman.opensound.com http://mailman.opensound.com/mailman/listinfo/oss-devel