diff --git a/libs/ardour/ardour/triggerbox.h b/libs/ardour/ardour/triggerbox.h index 24f002a36a..719b93fbdd 100644 --- a/libs/ardour/ardour/triggerbox.h +++ b/libs/ardour/ardour/triggerbox.h @@ -76,6 +76,9 @@ class LIBARDOUR_API TriggerBox : public Processor bool queue_trigger (Trigger*); void add_trigger (Trigger*); + XMLNode& get_state (void); + int set_state (const XMLNode&, int version); + private: PBD::RingBuffer _trigger_queue; diff --git a/libs/ardour/triggerbox.cc b/libs/ardour/triggerbox.cc index 8e26123393..f352e6d712 100644 --- a/libs/ardour/triggerbox.cc +++ b/libs/ardour/triggerbox.cc @@ -177,6 +177,19 @@ TriggerBox::run (BufferSet& bufs, samplepos_t start_sample, samplepos_t end_samp } } +XMLNode& +TriggerBox::get_state (void) +{ + return Processor::get_state (); +} + +int +TriggerBox::set_state (const XMLNode&, int version) +{ + return 0; +} + + /*--------------------*/ AudioTrigger::AudioTrigger (boost::shared_ptr r)