XMLNode& get_state();
XMLNode& get_template();
- int set_state (const XMLNode&, int version);
+ virtual int set_state (const XMLNode&, int version);
static void zero_diskstream_id_in_xml (XMLNode&);
boost::shared_ptr<PBD::Controllable> rec_enable_control() { return _rec_enable_control; }
bool record_enabled() const;
void set_record_enabled (bool yn, void *src);
- /* XXX: unfortunate that this is exposed */
- PBD::ID const & diskstream_id () const;
+ bool using_diskstream_id (PBD::ID) const;
void set_block_size (pframes_t);
float capture_buffer_load () const;
int do_refill ();
int do_flush (RunContext, bool force = false);
- uint32_t read_data_count() const;
- uint32_t write_data_count() const;
void set_pending_overwrite (bool);
int seek (framepos_t, bool complete_refill = false);
bool hidden () const;
protected:
XMLNode& state (bool full);
- int _set_state (const XMLNode&, int version, bool);
boost::shared_ptr<Diskstream> _diskstream;
MeterPoint _saved_meter_point;
+ /** used to keep track of processors that we are deactivating during record,
+ if `do-not-record-plugins' is enabled.
+ */
+ std::list<boost::weak_ptr<Processor> > _deactivated_processors;
TrackMode _mode;
bool _needs_butler;
MonitorChoice _monitoring;
framecnt_t check_initial_delay (framecnt_t nframes, framecnt_t&);
private:
+
+ virtual boost::shared_ptr<Diskstream> diskstream_factory (XMLNode const &) = 0;
+
void diskstream_playlist_changed ();
void diskstream_record_enable_changed ();
void diskstream_speed_changed ();
void diskstream_alignment_style_changed ();
+
+ void parameter_changed (std::string);
+ void deactivate_visible_processors ();
+ void activate_deactivated_processors ();
};
}; /* namespace ARDOUR*/