MonitorState monitoring_state () const;
MeterState metering_state () const;
+ bool set_processor_state (XMLNode const & node, XMLProperty const* prop, ProcessorList& new_order, bool& must_configure);
+
virtual int no_roll (pframes_t nframes, framepos_t start_frame, framepos_t end_frame,
bool state_changing);
bool can_record();
void set_latency_compensation (framecnt_t);
-
+ void update_latency_information ();
enum FreezeState {
NoFreeze,
Frozen,
bool can_be_record_enabled ();
bool can_be_record_safe ();
+ void use_captured_sources (SourceList&, CaptureInfos const &);
+
void set_block_size (pframes_t);
boost::shared_ptr<Playlist> playlist ();
void ensure_input_monitoring (bool);
bool destructive () const;
std::list<boost::shared_ptr<Source> > & last_capture_sources ();
- void set_capture_offset ();
std::string steal_write_source_name ();
void reset_write_sources (bool, bool force = false);
float playback_buffer_load () const;
int do_flush (RunContext, bool force = false);
void set_pending_overwrite (bool);
int seek (framepos_t, bool complete_refill = false);
- bool hidden () const;
int can_internal_playback_seek (framecnt_t);
int internal_playback_seek (framecnt_t);
void non_realtime_locate (framepos_t);
- void non_realtime_set_speed ();
+ void realtime_handle_transport_stopped ();
+ void non_realtime_speed_change ();
int overwrite_existing_buffers ();
framecnt_t get_captured_frames (uint32_t n = 0) const;
int set_loop (ARDOUR::Location *);
void transport_looped (framepos_t);
- bool realtime_set_speed (double, bool);
+ bool realtime_speed_change ();
void transport_stopped_wallclock (struct tm &, time_t, bool);
bool pending_overwrite () const;
- double speed () const;
void prepare_to_stop (framepos_t, framepos_t);
void set_slaved (bool);
ChanCount n_channels ();
void adjust_playback_buffering ();
void adjust_capture_buffering ();
+ void set_disk_io_position (DiskIOPoint);
+ DiskIOPoint disk_io_point() const { return _disk_io_point; }
+
PBD::Signal0<void> FreezeChange;
PBD::Signal0<void> PlaylistChanged;
PBD::Signal0<void> SpeedChanged;
boost::shared_ptr<Playlist> _playlists[DataType::num_types];
MeterPoint _saved_meter_point;
+ DiskIOPoint _disk_io_point;
TrackMode _mode;
bool _needs_butler;
boost::shared_ptr<MonitorControl> _monitoring_control;
virtual void set_state_part_two () = 0;
- FreezeRecord _freeze_record;
- XMLNode* pending_state;
- bool _destructive;
+ FreezeRecord _freeze_record;
+ XMLNode* pending_state;
+ bool _destructive;
void maybe_declick (BufferSet&, framecnt_t, int);
framecnt_t check_initial_delay (framecnt_t nframes, framepos_t&);
virtual void monitoring_changed (bool, PBD::Controllable::GroupControlDisposition);
+ AlignChoice _alignment_choice;
+ void set_align_choice_from_io ();
+ void input_changed ();
+
+ void use_captured_audio_sources (SourceList&, CaptureInfos const &);
+ void use_captured_midi_sources (SourceList&, CaptureInfos const &);
+
private:
void parameter_changed (std::string const & p);
+ void setup_invisible_processors_oh_children_of_mine (ProcessorList&);
+ void add_processors_oh_children_of_mine ();
std::string _diskstream_name;
};