summaryrefslogtreecommitdiff
path: root/libs/ardour/io_processor.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/io_processor.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/io_processor.cc')
-rw-r--r--libs/ardour/io_processor.cc22
1 files changed, 11 insertions, 11 deletions
diff --git a/libs/ardour/io_processor.cc b/libs/ardour/io_processor.cc
index 1408cdcafb..af07f7242a 100644
--- a/libs/ardour/io_processor.cc
+++ b/libs/ardour/io_processor.cc
@@ -1,5 +1,5 @@
/*
- Copyright (C) 2001 Paul Davis
+ Copyright (C) 2001 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
@@ -68,7 +68,7 @@ IOProcessor::IOProcessor (Session& s, bool with_input, bool with_output,
/* create an IOProcessor that proxies to an existing IO object */
-IOProcessor::IOProcessor (Session& s, boost::shared_ptr<IO> in, boost::shared_ptr<IO> out,
+IOProcessor::IOProcessor (Session& s, boost::shared_ptr<IO> in, boost::shared_ptr<IO> out,
const string& proc_name, DataType /*dtype*/)
: Processor(s, proc_name)
, _input (in)
@@ -114,7 +114,7 @@ XMLNode&
IOProcessor::state (bool full_state)
{
XMLNode& node (Processor::state (full_state));
-
+
if (_own_input) {
node.add_property ("own-input", "yes");
if (_input) {
@@ -128,7 +128,7 @@ IOProcessor::state (bool full_state)
node.add_property ("input", _input->name());
}
}
-
+
if (_own_output) {
node.add_property ("own-output", "yes");
if (_output) {
@@ -166,7 +166,7 @@ IOProcessor::set_state (const XMLNode& node)
XMLNodeList nlist = node.children();
XMLNodeIterator niter;
-
+
if (_own_input) {
for (niter = nlist.begin(); niter != nlist.end(); ++niter) {
if ((*niter)->name() == "input") {
@@ -174,21 +174,21 @@ IOProcessor::set_state (const XMLNode& node)
break;
}
}
-
+
if (io_node) {
_input->set_state(*io_node);
-
+
// legacy sessions: use IO name
if ((prop = node.property ("name")) == 0) {
set_name (_input->name());
}
-
+
} else {
/* no input */
}
}
-
+
if (_own_output) {
for (niter = nlist.begin(); niter != nlist.end(); ++niter) {
if ((*niter)->name() == "output") {
@@ -196,10 +196,10 @@ IOProcessor::set_state (const XMLNode& node)
break;
}
}
-
+
if (io_node) {
_output->set_state(*io_node);
-
+
// legacy sessions: use IO name
if ((prop = node.property ("name")) == 0) {
set_name (_output->name());