Remove declaration of unused and undefined method in Session class
[ardour.git] / gtk2_ardour / tape_region_view.cc
index 0cf50b87e635ad32da248ed9c48810c1695f3c43..f46d1c05dc9e8e6ac9c09c4d9692519a2eba5fd9 100644 (file)
@@ -15,7 +15,6 @@
     along with this program; if not, write to the Free Software
     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
-    $Id$
 */
 
 #include <cmath>
@@ -68,7 +67,7 @@ TapeAudioRegionView::init (Gdk::Color& basic_color, bool wfw)
        /* every time the wave data changes and peaks are ready, redraw */
        
        for (uint32_t n = 0; n < audio_region()->n_channels(); ++n) {
-               audio_region()->source(n)->PeaksReady.connect (bind (mem_fun(*this, &TapeAudioRegionView::update), n));
+               audio_region()->audio_source(n)->PeaksReady.connect (bind (mem_fun(*this, &TapeAudioRegionView::update), n));
        }
        
 }