diff options
author | David Robillard <d@drobilla.net> | 2009-05-07 17:31:18 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-05-07 17:31:18 +0000 |
commit | 2c231282baa596219506c1ee4632708977cc0714 (patch) | |
tree | b5dd7dedd8b5c9b7740b444711d26cdeb114687a /libs/ardour/port_insert.cc | |
parent | 80c8866303c405fb6230eb96f2a8cd7f181b57da (diff) |
Returns (i.e. sidechains).
And lo, upon the revision of our hoarde 5061, was the last Big Feature
committed to Three Poino, who, now more than ever, lurks imposingly on
the sidelines, heir to the throne, and eventual ruler of the realm.
His eventual succession all but guaranteed, only time and the number
of heads that must roll remain mysteries.
git-svn-id: svn://localhost/ardour2/branches/3.0@5061 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/port_insert.cc')
-rw-r--r-- | libs/ardour/port_insert.cc | 31 |
1 files changed, 2 insertions, 29 deletions
diff --git a/libs/ardour/port_insert.cc b/libs/ardour/port_insert.cc index 606b055dab..73a70861ea 100644 --- a/libs/ardour/port_insert.cc +++ b/libs/ardour/port_insert.cc @@ -162,23 +162,7 @@ PortInsert::signal_latency() const bool PortInsert::configure_io (ChanCount in, ChanCount out) { - /* do not allow configuration to be changed outside the range of - the last request config. or something like that. - */ - - /* this is a bit odd: - - the number of inputs we are required to handle corresponds - to the number of output ports we need. - - the number of outputs we are required to have corresponds - to the number of input ports we need. - */ - - /*_io->set_output_maximum (in); - _io->set_output_minimum (in); - _io->set_input_maximum (out); - _io->set_input_minimum (out);*/ + /* for an insert, processor input corresponds to IO output, and vice versa */ if (_io->ensure_io (out, in, false, this) != 0) { return false; @@ -187,21 +171,10 @@ PortInsert::configure_io (ChanCount in, ChanCount out) return Processor::configure_io (in, out); } -ChanCount -PortInsert::output_streams() const -{ - return _io->n_inputs (); -} - -ChanCount -PortInsert::input_streams() const -{ - return _io->n_outputs (); -} - bool PortInsert::can_support_io_configuration (const ChanCount& in, ChanCount& out) const { out = in; return true; } + |