On Tuesday 06 Dec 2005 23:56, Guillaume Laurent wrote:
> Please test and report problems.

OK.  I updated from CVS just now and rebuilt (with debug).

I started RG, set the composition end marker to 1100 bars, and then added two 
audio files.  One came out to about 100 bars; the other (the final movement 
of Mahler's symphony no 2) to just over 1000 bars.

Neither of them got a preview when first added.   Terminal output (and the 
long pause before the GUI responds again) suggests that Rosegarden is trying 
to generate previews, with lines like

rosegarden: AudioPreviewPainter::paintPreviewImage width = 9975
rosegarden: CompositionView::slotUpdate() rect [100,552 - 9975x24] - valid : 
true
rosegarden: AudioPreviewPainter::paintPreviewImage width = 103500
rosegarden: CompositionView::slotUpdate() rect [100,600 - 103500x24] - valid : 
true

but no preview appears, at the initial zoom level, on either file.

Reducing the zoom to 50% gets me an apparently correct preview on the shorter 
file.  The output for that is:

rosegarden: AudioPreviewPainter::paintPreviewImage width = 4988
rosegarden: CompositionView::slotUpdate() rect [50,552 - 4988x24] - valid : 
true

Continuing to reduce the zoom level, I finally get a preview for the longer 
file at a zoom of 5%.  Raising it to 10% again loses me the preview.

I don't see any garbage (the segment is just blank apart from its label), and 
I don't see any X errors on the terminal, except for one BadPixmap error in 
X_FreePixmap when I exit the program.

btw, I believe this change _does_ improve the performance when updating 
segments during recording (which was the original aim).  I'm still dubious 
about the idea of trying to store pixmaps for the entire segment, in terms of 
memory consumption on the X server, though.


Chris


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Rosegarden-devel mailing list
Rosegarden-devel@lists.sourceforge.net - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel

Reply via email to