From 7884727e78f9e2253b2b6d8ef441fa07272fe950 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 17 Jul 2009 22:12:21 +0000 Subject: massive changes to waf build scripts so that nearly everything "should" be working now except for i18n (OSC is not quite right) ; some preliminary work on post-main-out handling, incomplete; a couple of fixes from -Wall and valgrind git-svn-id: svn://localhost/ardour2/branches/3.0@5371 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/send.cc | 22 ++++++---------------- 1 file changed, 6 insertions(+), 16 deletions(-) (limited to 'libs/ardour/send.cc') diff --git a/libs/ardour/send.cc b/libs/ardour/send.cc index 3d44070e68..a4db60fc68 100644 --- a/libs/ardour/send.cc +++ b/libs/ardour/send.cc @@ -147,22 +147,12 @@ Send::set_state(const XMLNode& node) bool Send::can_support_io_configuration (const ChanCount& in, ChanCount& out) const { - if (_output->n_ports() == ChanCount::ZERO) { - - /* not configured yet, we can support anything */ - - out = in; - return true; /* we can support anything the first time we're asked */ - - } else { - - /* for a send, processor input corresponds to IO output */ - - out = in; - return true; - } - - return false; + /* sends have no impact at all on the channel configuration of the + streams passing through the route. so, out == in. + */ + + out = in; + return true; } /** Set up the XML description of a send so that its name is unique. -- cgit v1.2.3