summaryrefslogtreecommitdiff
path: root/libs/ardour/internal_send.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2010-03-08 02:14:23 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2010-03-08 02:14:23 +0000
commitb2bc408cef1715de0009c65ff082c6e914de1991 (patch)
tree5a030e0aaa469a0670c97480366dbcf26958860d /libs/ardour/internal_send.cc
parent2085cddab3b1c8155b63c3c48304fffaa72c4e6c (diff)
remove yesterday's mayhem with MainListen and get afl/pfl sorta-kinda working
git-svn-id: svn://localhost/ardour2/branches/3.0@6742 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/internal_send.cc')
-rw-r--r--libs/ardour/internal_send.cc9
1 files changed, 4 insertions, 5 deletions
diff --git a/libs/ardour/internal_send.cc b/libs/ardour/internal_send.cc
index 5944677934..9cfc8d9702 100644
--- a/libs/ardour/internal_send.cc
+++ b/libs/ardour/internal_send.cc
@@ -17,8 +17,6 @@
*/
-#include <iostream>
-
#include "pbd/error.h"
#include "pbd/failed_constructor.h"
@@ -32,6 +30,7 @@
using namespace PBD;
using namespace ARDOUR;
+using namespace std;
InternalSend::InternalSend (Session& s, boost::shared_ptr<MuteMaster> mm, boost::shared_ptr<Route> sendto, Delivery::Role role)
: Send (s, mm, role)
@@ -96,7 +95,7 @@ InternalSend::run (BufferSet& bufs, sframes_t start_frame, sframes_t end_frame,
Amp::apply_gain (mixbufs, nframes, _current_gain, tgain);
_current_gain = tgain;
-
+
} else if (tgain == 0.0) {
/* we were quiet last time, and we're still supposed to be quiet.
@@ -242,13 +241,13 @@ InternalSend::configure_io (ChanCount in, ChanCount out)
}
bool
-InternalSend::set_name (const std::string& str)
+InternalSend::set_name (const string& str)
{
/* rules for external sends don't apply to us */
return IOProcessor::set_name (str);
}
-std::string
+string
InternalSend::display_name () const
{
if (_role == Aux) {