summaryrefslogtreecommitdiff
path: root/libs/ardour/return.cc
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2009-10-14 16:10:01 +0000
committerDavid Robillard <d@drobilla.net>2009-10-14 16:10:01 +0000
commitbb9cc45cd22af67ac275a5e73accbe14fee664d8 (patch)
treee52977d3eae6ff07b856088041a080a2fa3e5b79 /libs/ardour/return.cc
parent8c4ce1e2ce35571aed5a686671431fdfffae7f8c (diff)
Strip trailing whitespace and fix other whitespace errors (e.g. space/tab mixing). Whitespace changes only.
Vimmers, try let c_space_errors = 1 in your .vimrc to highlight this kind of stuff in red. I don't know the emacs equivalent... git-svn-id: svn://localhost/ardour2/branches/3.0@5773 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/return.cc')
-rw-r--r--libs/ardour/return.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/libs/ardour/return.cc b/libs/ardour/return.cc
index e5af719afd..858d658c9c 100644
--- a/libs/ardour/return.cc
+++ b/libs/ardour/return.cc
@@ -1,5 +1,5 @@
/*
- Copyright (C) 2000 Paul Davis
+ Copyright (C) 2000 Paul Davis
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -37,7 +37,7 @@ using namespace ARDOUR;
using namespace PBD;
Return::Return (Session& s, bool internal)
- : IOProcessor (s, (internal ? false : true), false,
+ : IOProcessor (s, (internal ? false : true), false,
string_compose (_("return %1"), (_bitslot = s.next_return_id()) + 1))
, _metering (false)
{
@@ -113,7 +113,7 @@ Return::set_state(const XMLNode& node)
// _io->set_automation_state (*(*niter), Evoral::Parameter(GainAutomation));
}
}
-
+
IOProcessor::set_state (*insert_node);
return 0;
@@ -125,7 +125,7 @@ Return::run (BufferSet& bufs, sframes_t start_frame, sframes_t end_frame, nframe
if ((!_active && !_pending_active) || _input->n_ports() == ChanCount::ZERO) {
return;
}
-
+
_input->collect_input (bufs, nframes, _configured_input);
bufs.set_count(_configured_output);
@@ -133,7 +133,7 @@ Return::run (BufferSet& bufs, sframes_t start_frame, sframes_t end_frame, nframe
// so that we don't overwrite the main automation data for the route amp
// _amp->setup_gain_automation (start_frame, end_frame, nframes);
_amp->run (bufs, start_frame, end_frame, nframes);
-
+
if (_metering) {
if (_amp->gain_control()->get_value() == 0) {
_meter->reset();
@@ -184,7 +184,7 @@ Return::make_unique (XMLNode &state, Session &session)
state.property("bitslot")->set_value (buf);
std::string const name = string_compose (_("return %1"), bitslot);
-
+
state.property("name")->set_value (name);
XMLNode* io = state.child ("IO");