Use PBD::copy_file in Session::create() to copy the template file.
[ardour.git] / libs / ardour / ardour / track.h
index a2b0b9b90e970eb615703cb622449791e405d518..eee04d9bfa35cc53b8522f0b02074954400c4a7b 100644 (file)
@@ -55,7 +55,7 @@ class Track : public Route
 
        void toggle_monitor_input ();
 
-       virtual bool can_record();
+       bool can_record();
 
        boost::shared_ptr<Diskstream> diskstream() const { return _diskstream; }
 
@@ -98,11 +98,6 @@ class Track : public Route
 
        virtual XMLNode& state (bool full) = 0;
 
-       virtual void passthru_silence (nframes_t start_frame, nframes_t end_frame, 
-               nframes_t nframes, nframes_t offset, int declick, bool meter) = 0;
-
-       virtual uint32_t n_process_buffers () = 0;
-       
        boost::shared_ptr<Diskstream> _diskstream;
        MeterPoint  _saved_meter_point;
        TrackMode   _mode;
@@ -120,13 +115,12 @@ class Track : public Route
 
        struct FreezeRecord {
            FreezeRecord()
-               : playlist(0)
-               , have_mementos(false)
+               : have_mementos(false)
            {}
 
            ~FreezeRecord();
 
-           Playlist*                       playlist;
+           boost::shared_ptr<Playlist>     playlist;
            vector<FreezeRecordInsertInfo*> insert_info;
            bool                            have_mementos;
            FreezeState                     state;