summaryrefslogtreecommitdiff
path: root/libs/ardour/return.cc
diff options
context:
space:
mode:
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 */