fixes for destructive track offsets of various kinds; move from jack_nframes_t -...
[ardour.git] / libs / ardour / ardour / coreaudiosource.h
index 49009caf53d8139e0f207852aa1a939767fe2c8a..668fe61102c5e9630646987faecee7e85e1e3b44 100644 (file)
@@ -33,24 +33,21 @@ class CoreAudioSource : public AudioFileSource {
        ~CoreAudioSource ();
 
        float sample_rate() const;
-       int update_header (jack_nframes_t when, struct tm&, time_t);
+       int update_header (nframes_t when, struct tm&, time_t);
 
        int flush_header () {return 0;};
        void set_header_timeline_position () {};
 
   protected:
-       jack_nframes_t read_unlocked (Sample *dst, jack_nframes_t start, jack_nframes_t cnt) const;
-       
-       jack_nframes_t write_unlocked (Sample *dst, jack_nframes_t cnt) 
-       { return 0; }
-       
+       nframes_t read_unlocked (Sample *dst, nframes_t start, nframes_t cnt) const;
+       nframes_t write_unlocked (Sample *dst, nframes_t cnt) { return 0; }
 
   private:
        mutable CAAudioFile af;
        uint16_t n_channels;
 
        mutable float *tmpbuf;
-       mutable jack_nframes_t tmpbufsize;
+       mutable nframes_t tmpbufsize;
        mutable Glib::Mutex _tmpbuf_lock;
 
        void init (const string &str);