The implementation you suggested seems to work very well. I've committed it to CVS. On Thursday 21 December 2000 17:00, Stefan Westerfeld wrote: > Hi! > > The best implementation depends on what it is used for. Conceptually, the > number of "unmixed" bytes, i.e. bytes that have been written and maybe > been sent to aRts, but not yet mixed into the output stream is the > difference of two stream parameters, that is: > > ARTS_P_BUFFER_SIZE - ARTS_P_BUFFER_SPACE > > If the value is used for synchronization between video and audio, it is > probably a good idea to add the number of bytes corresponding to the > ARTS_P_SERVER_LATENCY parameter to the result (you'll need to compute that > depending on the sampling rate and things like that). > > Of course, native aRts support in RealPlayer would be nice, too ;). _______________________________________________ Kde-multimedia mailing list Kde-multimedia@master.kde.org http://master.kde.org/mailman/listinfo/kde-multimedia