Introduce global default-fade-shape configuration variable
[ardour.git] / libs / ardour / ardour / silentfilesource.h
index 27d0efd9943a26fb57b6e03406f3cce17bfcbbde..cf6462247ae05ca1d07d8a7894e53bfddaf23fab 100644 (file)
@@ -32,6 +32,7 @@ public:
        float sample_rate () const { return _sample_rate; }
 
        void set_length (framecnt_t len) { _length = len; }
+       void flush () {}
 
        bool destructive() const { return false; }
        bool can_be_analysed() const { return false; }
@@ -59,7 +60,7 @@ protected:
        void set_header_timeline_position () {}
 
        int read_peaks_with_fpp (PeakData *peaks, framecnt_t npeaks, framepos_t /*start*/, framecnt_t /*cnt*/,
-                                double /*samples_per_unit*/, framecnt_t /*fpp*/) const {
+                                double /*frames_per_pixel*/, framecnt_t /*fpp*/) const {
                memset (peaks, 0, sizeof (PeakData) * npeaks);
                return 0;
        }