13
0

Make port inserts work.

git-svn-id: svn://localhost/ardour2/branches/3.0@6289 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2009-12-04 22:56:39 +00:00
parent 7703f0a76a
commit bdf5dead24
2 changed files with 19 additions and 0 deletions

View File

@ -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:

View File

@ -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 ();
}