On Saturday 30 July 2005 12:18, Chris Cannam wrote:
> Tried with my big test file & it crashed.
> Trace below. Haven't managed to get it to do it again yet.
Looks like a problem with how the size of the peak values array is computed :
int position = int(channels * i * sampleScaleFactor);
if (position < 0) continue;
if (position >= values.size() - channels) break;
if (channels == 1) {
h1 = values[position++]; <<<<---- crashes here
> Behaviour somewhat different from 1.0 also (1.0 puts each preview up as
> it's ready, current CVS all at once).
I did this because calling repaint() for every preview was causing too much
flicker, so I ended up calling it only when the preview queue was emptied.
However now that it seems calling update() works, I can get the old behavior
back if you prefer.
--
Guillaume.
http://www.telegraph-road.org
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Rosegarden-devel mailing list
[email protected] - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel