From af707897735a34ab1a82c7307dc61b12c14027a9 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 14 Mar 2006 03:43:54 +0000 Subject: improvements (!) to waveform display for destructive tracks, plus a generic fix that avoid waveview attemting to read peaks before they are ready git-svn-id: svn://localhost/trunk/ardour2@388 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/ardour/source.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libs/ardour/ardour/source.h') diff --git a/libs/ardour/ardour/source.h b/libs/ardour/ardour/source.h index 9a9bccfc58..7a5e2eb23a 100644 --- a/libs/ardour/ardour/source.h +++ b/libs/ardour/ardour/source.h @@ -64,6 +64,8 @@ class Source : public Stateful, public sigc::trackable return _length; } + virtual jack_nframes_t available_peaks (double zoom) const; + virtual jack_nframes_t read (Sample *dst, jack_nframes_t start, jack_nframes_t cnt, char * workbuf) const { return 0; } -- cgit v1.2.3