#include <boost/shared_ptr.hpp>
+#include "ardour/interthread_info.h"
#include "ardour/route.h"
#include "ardour/public_diskstream.h"
virtual void set_monitoring (MonitorChoice);
MonitorChoice monitoring_choice() const { return _monitoring; }
- MonitorState monitoring_state();
+ MonitorState monitoring_state () const;
PBD::Signal0<void> MonitoringChanged;
+ MeterState metering_state () const;
+
virtual int no_roll (pframes_t nframes, framepos_t start_frame, framepos_t end_frame,
bool state_changing);
virtual void freeze_me (InterThreadInfo&) = 0;
virtual void unfreeze () = 0;
+ /** @return true if the track can be bounced, or false otherwise.
+ */
+ virtual bool bounceable (boost::shared_ptr<Processor> endpoint, bool include_endpoint) const = 0;
virtual boost::shared_ptr<Region> bounce (InterThreadInfo&) = 0;
- virtual boost::shared_ptr<Region> bounce_range (framepos_t start, framepos_t end, InterThreadInfo&, bool enable_processing = true) = 0;
+ virtual boost::shared_ptr<Region> bounce_range (framepos_t start, framepos_t end, InterThreadInfo&,
+ boost::shared_ptr<Processor> endpoint, bool include_endpoint) = 0;
+ virtual int export_stuff (BufferSet& bufs, framepos_t start_frame, framecnt_t nframes,
+ boost::shared_ptr<Processor> endpoint, bool include_endpoint, bool for_export) = 0;
XMLNode& get_state();
XMLNode& get_template();
void set_block_size (pframes_t);
- /** @return true if the track can be bounced, or false if it cannot because
- * it has more outputs than diskstream channels.
- */
- virtual bool bounceable () const = 0;
-
/* PublicDiskstream interface */
boost::shared_ptr<Playlist> playlist ();
void request_jack_monitors_input (bool);
PBD::Signal0<void> DiskstreamChanged;
PBD::Signal0<void> FreezeChange;
+ /* Emitted when our diskstream is set to use a different playlist */
PBD::Signal0<void> PlaylistChanged;
PBD::Signal0<void> RecordEnableChanged;
PBD::Signal0<void> SpeedChanged;
void maybe_declick (BufferSet&, framecnt_t, int);
- virtual bool send_silence () const;
-
boost::shared_ptr<RecEnableControllable> _rec_enable_control;
framecnt_t check_initial_delay (framecnt_t nframes, framecnt_t&);