diff options
author | Carl Hetherington <carl@carlh.net> | 2009-12-04 22:56:39 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2009-12-04 22:56:39 +0000 |
commit | bdf5dead24c16e23977d4b3d2561dbb0f8a7ae4e (patch) | |
tree | 7bd1c91ad524aa0d59efa69ddfbcddd2aff50686 | |
parent | 7703f0a76a82ec3fe21609c396ebf2f950803bf9 (diff) |
Make port inserts work.
git-svn-id: svn://localhost/ardour2/branches/3.0@6289 d708f5d6-7413-0410-9779-e7cbd77b26cf
-rw-r--r-- | libs/ardour/ardour/port_insert.h | 3 | ||||
-rw-r--r-- | libs/ardour/port_insert.cc | 16 |
2 files changed, 19 insertions, 0 deletions
diff --git a/libs/ardour/ardour/port_insert.h b/libs/ardour/ardour/port_insert.h index f013a6a442..97f930df6e 100644 --- a/libs/ardour/ardour/port_insert.h +++ b/libs/ardour/ardour/port_insert.h @@ -60,6 +60,9 @@ class PortInsert : public IOProcessor bool can_support_io_configuration (const ChanCount& in, ChanCount& out) const; bool configure_io (ChanCount in, ChanCount out); + void activate (); + void deactivate (); + uint32_t bit_slot() const { return bitslot; } private: diff --git a/libs/ardour/port_insert.cc b/libs/ardour/port_insert.cc index a70718bd3e..eccd5f29f9 100644 --- a/libs/ardour/port_insert.cc +++ b/libs/ardour/port_insert.cc @@ -188,3 +188,19 @@ PortInsert::set_name (const std::string& name) return ret; } + +void +PortInsert::activate () +{ + IOProcessor::activate (); + + _out->activate (); +} + +void +PortInsert::deactivate () +{ + IOProcessor::deactivate (); + + _out->deactivate (); +} |