diff options
Diffstat (limited to 'libs/ardour/ardour/port_insert.h')
-rw-r--r-- | libs/ardour/ardour/port_insert.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/libs/ardour/ardour/port_insert.h b/libs/ardour/ardour/port_insert.h index 2ff9031afa..f42294b2b4 100644 --- a/libs/ardour/ardour/port_insert.h +++ b/libs/ardour/ardour/port_insert.h @@ -45,6 +45,8 @@ class PortInsert : public IOProcessor { public: PortInsert (Session&, boost::shared_ptr<Pannable>, boost::shared_ptr<MuteMaster> mm); + PortInsert (Session&, const std::string&, uint32_t bitslot, + boost::shared_ptr<Pannable>, boost::shared_ptr<MuteMaster> mm); ~PortInsert (); XMLNode& state(bool full); @@ -63,7 +65,7 @@ class PortInsert : public IOProcessor void activate (); void deactivate (); - uint32_t bit_slot() const { return bitslot; } + uint32_t bit_slot() const { return _bitslot; } void start_latency_detection (); void stop_latency_detection (); @@ -72,13 +74,16 @@ class PortInsert : public IOProcessor void set_measured_latency (framecnt_t); framecnt_t latency () const; + static void make_unique (XMLNode &); + static std::string name_and_id_new_insert (Session&, uint32_t&); + private: /* disallow copy construction */ PortInsert (const PortInsert&); boost::shared_ptr<Delivery> _out; - uint32_t bitslot; + uint32_t _bitslot; MTDM* _mtdm; bool _latency_detect; framecnt_t _latency_flush_frames; |