From 2c231282baa596219506c1ee4632708977cc0714 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 7 May 2009 17:31:18 +0000 Subject: 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 --- libs/ardour/port_insert.cc | 31 ++----------------------------- 1 file changed, 2 insertions(+), 29 deletions(-) (limited to 'libs/ardour/port_insert.cc') 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; } + -- cgit v1.2.3