X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fardour%2Fardour%2Ftrack.h;h=5e05ec373c67173771dea9d10955c2633749b3c7;hb=0582221;hp=2a6d3f7ad4f391c7c07cacb11a532eecb341f25d;hpb=9aacefc17010a889222425f97b99050171165038;p=ardour.git diff --git a/libs/ardour/ardour/track.h b/libs/ardour/ardour/track.h index 2a6d3f7ad4..5e05ec373c 100644 --- a/libs/ardour/ardour/track.h +++ b/libs/ardour/ardour/track.h @@ -44,6 +44,7 @@ class LIBARDOUR_API Track : public Route, public PublicDiskstream int init (); bool set_name (const std::string& str); + void resync_track_name (); TrackMode mode () const { return _mode; } virtual int set_mode (TrackMode /*m*/) { return false; } @@ -96,7 +97,7 @@ class LIBARDOUR_API Track : public Route, public PublicDiskstream virtual boost::shared_ptr bounce_range (framepos_t start, framepos_t end, InterThreadInfo&, boost::shared_ptr endpoint, bool include_endpoint) = 0; virtual int export_stuff (BufferSet& bufs, framepos_t start_frame, framecnt_t nframes, - boost::shared_ptr endpoint, bool include_endpoint, bool for_export) = 0; + boost::shared_ptr endpoint, bool include_endpoint, bool for_export, bool for_freeze) = 0; XMLNode& get_state(); XMLNode& get_template(); @@ -120,7 +121,7 @@ class LIBARDOUR_API Track : public Route, public PublicDiskstream bool destructive () const; std::list > & last_capture_sources (); void set_capture_offset (); - std::list > steal_write_sources(); + std::string steal_write_source_name (); void reset_write_sources (bool, bool force = false); float playback_buffer_load () const; float capture_buffer_load () const; @@ -142,7 +143,7 @@ class LIBARDOUR_API Track : public Route, public PublicDiskstream void transport_stopped_wallclock (struct tm &, time_t, bool); bool pending_overwrite () const; double speed () const; - void prepare_to_stop (framepos_t); + void prepare_to_stop (framepos_t, framepos_t); void set_slaved (bool); ChanCount n_channels (); framepos_t get_capture_start_frame (uint32_t n = 0) const; @@ -228,6 +229,9 @@ private: void diskstream_record_enable_changed (); void diskstream_speed_changed (); void diskstream_alignment_style_changed (); + void parameter_changed (std::string const & p); + + std::string _diskstream_name; }; }; /* namespace ARDOUR*/