#ifndef __ardour_silentfilesource_h__
#define __ardour_silentfilesource_h__
+#include <cstring>
#include <ardour/audiofilesource.h>
namespace ARDOUR {
void set_length (nframes_t len);
- int read_peaks (PeakData *peaks, nframes_t npeaks, nframes_t start, nframes_t cnt, double samples_per_unit) const {
- memset (peaks, 0, sizeof (PeakData) * npeaks);
- return 0;
- }
-
bool destructive() const { return false; }
+ bool can_be_analysed() const { return false; }
protected:
void set_header_timeline_position () {}
+ int read_peaks_with_fpp (PeakData *peaks, nframes_t npeaks, nframes_t start, nframes_t cnt, double samples_per_unit, nframes_t fpp) const {
+ memset (peaks, 0, sizeof (PeakData) * npeaks);
+ return 0;
+ }
+
};
} // namespace ARDOUR