summaryrefslogtreecommitdiff
path: root/libs/ardour/send.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2009-07-17 22:12:21 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2009-07-17 22:12:21 +0000
commit7884727e78f9e2253b2b6d8ef441fa07272fe950 (patch)
tree4423ba4629082439a5c1be07e94682c1d3d41f80 /libs/ardour/send.cc
parent0102b1dc93f0ad0a5ba5516cd3cc24b9cd8e240b (diff)
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
Diffstat (limited to 'libs/ardour/send.cc')
-rw-r--r--libs/ardour/send.cc22
1 files changed, 6 insertions, 16 deletions
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.