Use a few shared_ptrs to make things slightly neater.
[ardour.git] / libs / ardour / ardour / silentfilesource.h
index 23128c40256abd86402fa28d50bbf2dfeea8dcca..5cdade3751da049a803136976f81e6b81676e488 100644 (file)
@@ -27,11 +27,11 @@ namespace ARDOUR {
 
 class SilentFileSource : public AudioFileSource {
 public:
-       int update_header (sframes_t /*when*/, struct tm&, time_t) { return 0; }
+       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 (nframes_t len) { _length = len; }
+       void set_length (framecnt_t len) { _length = len; }
 
        bool destructive() const { return false; }
        bool can_be_analysed() const { return false; }
@@ -55,7 +55,7 @@ protected:
        }
 
        framecnt_t write_unlocked (Sample */*dst*/, framecnt_t /*cnt*/) { return 0; }
-       
+
        void set_header_timeline_position () {}
 
        int read_peaks_with_fpp (PeakData *peaks, framecnt_t npeaks, framepos_t /*start*/, framecnt_t /*cnt*/,