Merge remote-tracking branch 'remotes/origin/exportvis' into windows+cc
[ardour.git] / libs / ardour / ardour / silentfilesource.h
index 25e94d6134b51fa9d4eb9c2aac12e8d17b6a1076..cf6462247ae05ca1d07d8a7894e53bfddaf23fab 100644 (file)
 
 namespace ARDOUR {
 
-class SilentFileSource : public AudioFileSource {
+class LIBARDOUR_API SilentFileSource : public AudioFileSource {
 public:
        int update_header (framepos_t /*when*/, struct tm&, time_t) { return 0; }
        int flush_header () { return 0; }
        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; }