On Sunday 13 Nov 2005 23:31, Guillaume Laurent wrote: > I don't understand what's the big fuss about this. getAudioPreviewData() is > normally called during a redraw as soon as a new part of an audio segment > has to be drawn. It doesn't recompute the whole audio preview, it merely > returns a pointer to the preview data cache, out of which the rectangles > are computed.
Computing the rectangles itself takes time, and in this case we should know that the segment hasn't changed. In fact, for most of the segments in the viewport (while scrolling vertically), the visible area and colour are also unchanged. I don't quite understand why they're being redrawn at all. (Perhaps your follow up email was a response to this -- if so, disregard.) Chris ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Rosegarden-devel mailing list [email protected] - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-devel
