introduce the notion that note additions and property changes can cause the removal...
[ardour.git] / libs / ardour / ardour / audio_track.h
index d74f5e53b99f5a0d9805bdd0a6419818374628f8..c2428339c7bc61eda69bb3dee61c9e210b69d314 100644 (file)
@@ -42,8 +42,6 @@ class AudioTrack : public Track
        int roll (nframes_t nframes, framepos_t start_frame, framepos_t end_frame,
                   int declick, bool can_record, bool rec_monitors_input, bool& need_butler);
 
-       boost::shared_ptr<AudioDiskstream> audio_diskstream() const;
-
        void use_new_diskstream ();
         void set_diskstream (boost::shared_ptr<Diskstream>);
 
@@ -60,6 +58,7 @@ class AudioTrack : public Track
        boost::shared_ptr<AudioFileSource> write_source (uint32_t n = 0);
 
   protected:
+       boost::shared_ptr<AudioDiskstream> audio_diskstream () const;
        XMLNode& state (bool full);
        
        int _set_state (const XMLNode&, int, bool call_base);