mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 15:54:57 +01:00
Make port inserts work.
git-svn-id: svn://localhost/ardour2/branches/3.0@6289 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
7703f0a76a
commit
bdf5dead24
2 changed files with 19 additions and 0 deletions
|
|
@ -60,6 +60,9 @@ class PortInsert : public IOProcessor
|
||||||
bool can_support_io_configuration (const ChanCount& in, ChanCount& out) const;
|
bool can_support_io_configuration (const ChanCount& in, ChanCount& out) const;
|
||||||
bool configure_io (ChanCount in, ChanCount out);
|
bool configure_io (ChanCount in, ChanCount out);
|
||||||
|
|
||||||
|
void activate ();
|
||||||
|
void deactivate ();
|
||||||
|
|
||||||
uint32_t bit_slot() const { return bitslot; }
|
uint32_t bit_slot() const { return bitslot; }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
|
||||||
|
|
@ -188,3 +188,19 @@ PortInsert::set_name (const std::string& name)
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
PortInsert::activate ()
|
||||||
|
{
|
||||||
|
IOProcessor::activate ();
|
||||||
|
|
||||||
|
_out->activate ();
|
||||||
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
PortInsert::deactivate ()
|
||||||
|
{
|
||||||
|
IOProcessor::deactivate ();
|
||||||
|
|
||||||
|
_out->deactivate ();
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue