void run (BufferSet& bufs, framepos_t start_frame, framepos_t end_frame, pframes_t nframes, bool result_required);
bool configure_io (ChanCount in, ChanCount out);
bool can_support_io_configuration (const ChanCount& in, ChanCount& out) const;
+ virtual XMLNode& state (bool);
private:
namespace ARDOUR {
CapturingProcessor::CapturingProcessor (Session & session)
- : Processor (session, X_("capture point"))
- , block_size (session.engine().frames_per_cycle())
+ : Processor (session, X_("capture point"))
+ , block_size (session.engine().frames_per_cycle())
{
realloc_buffers ();
}
capture_buffers.ensure_buffers (_configured_input, block_size);
}
+XMLNode &
+CapturingProcessor::state (bool full)
+{
+ XMLNode& node = Processor::state (full);
+
+ node.add_property (X_("type"), X_("capture"));
+}
+
} // namespace ARDOUR
must_configure = true;
}
_monitor_control->set_state (**niter, Stateful::current_state_version);
+ } else if (prop->value() == "capture") {
+ _capturing_processor.reset (new CapturingProcessor (_session));
} else {
ProcessorList::iterator o;