summaryrefslogtreecommitdiff
path: root/libs/ardour/return.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2009-06-16 14:58:33 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2009-06-16 14:58:33 +0000
commit86f24d20e1616ffaafc97de65db49fd6a91270f8 (patch)
tree17f4ac15f4ec6124e82482624f57ed2ceb8f81ca /libs/ardour/return.cc
parent9c8ee46c764f036707f45ebfa8f6696a9a6e56c6 (diff)
first pass (ok, third really) at internal send+return - audio routing inside ardour without JACK. lots still to do, but at least the obvious works
git-svn-id: svn://localhost/ardour2/branches/3.0@5202 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/return.cc')
-rw-r--r--libs/ardour/return.cc9
1 files changed, 5 insertions, 4 deletions
diff --git a/libs/ardour/return.cc b/libs/ardour/return.cc
index 574b6736a0..5a44d3f6e6 100644
--- a/libs/ardour/return.cc
+++ b/libs/ardour/return.cc
@@ -36,8 +36,9 @@
using namespace ARDOUR;
using namespace PBD;
-Return::Return (Session& s)
- : IOProcessor (s, true, false, string_compose (_("return %1"), (_bitslot = s.next_return_id()) + 1))
+Return::Return (Session& s, bool internal)
+ : IOProcessor (s, (internal ? false : true), false,
+ string_compose (_("return %1"), (_bitslot = s.next_return_id()) + 1))
, _metering (false)
{
/* never muted */
@@ -48,8 +49,8 @@ Return::Return (Session& s)
ProcessorCreated (this); /* EMIT SIGNAL */
}
-Return::Return (Session& s, const XMLNode& node)
- : IOProcessor (s, true, false, "return")
+Return::Return (Session& s, const XMLNode& node, bool internal)
+ : IOProcessor (s, (internal ? false : true), false, "return")
, _metering (false)
{
/* never muted */