a) fix problems with multichannel tape tracks
[ardour.git] / gtk2_ardour / taperegionview.cc
index b5f0d6d46b751fcdb3bef6a4e3b45023c6e99c78..d08b985176672d2a1121b3713c39efcef362933b 100644 (file)
@@ -103,7 +103,7 @@ TapeAudioRegionView::init (double amplitude_above_axis, Gdk::Color& basic_color,
 
        /* every time the wave data changes and peaks are ready, redraw */
 
-
+       
        for (uint32_t n = 0; n < region.n_channels(); ++n) {
                region.source(n).PeaksReady.connect (bind (mem_fun(*this, &TapeAudioRegionView::update), n));
        }
@@ -117,6 +117,8 @@ TapeAudioRegionView::~TapeAudioRegionView()
 void
 TapeAudioRegionView::update (uint32_t n)
 {
+       cerr << "new peaks ready for channel " << n << endl;
+
        /* check that all waves are build and ready */
 
        if (!tmp_waves.empty()) {