- Changed IO's vector<Port*>'s to PortList
[ardour.git] / gtk2_ardour / crossfade_edit.cc
index b2967dc4a9dfc60b453f8cc769ef176c377765f5..c56f51fcfae88d02786adc53de68d1b9ceb2c141 100644 (file)
@@ -1035,7 +1035,7 @@ CrossfadeEditor::make_waves (AudioRegion& region, WhichFade which)
                
                gdouble yoff = n * ht;
                
-               if (region.source(n).peaks_ready (bind (mem_fun(*this, &CrossfadeEditor::peaks_ready), &region, which), peaks_ready_connection)) {
+               if (region.audio_source(n).peaks_ready (bind (mem_fun(*this, &CrossfadeEditor::peaks_ready), &region, which), peaks_ready_connection)) {
                        
                        WaveView* waveview = new WaveView (*(canvas->root()));