diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2009-06-16 14:58:33 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2009-06-16 14:58:33 +0000 |
commit | 86f24d20e1616ffaafc97de65db49fd6a91270f8 (patch) | |
tree | 17f4ac15f4ec6124e82482624f57ed2ceb8f81ca /libs/ardour/send.cc | |
parent | 9c8ee46c764f036707f45ebfa8f6696a9a6e56c6 (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/send.cc')
-rw-r--r-- | libs/ardour/send.cc | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/libs/ardour/send.cc b/libs/ardour/send.cc index ad66f73796..71685e1b88 100644 --- a/libs/ardour/send.cc +++ b/libs/ardour/send.cc @@ -36,8 +36,9 @@ using namespace ARDOUR; using namespace PBD; -Send::Send (Session& s, boost::shared_ptr<MuteMaster> mm) - : Delivery (s, mm, string_compose (_("send %1"), (_bitslot = s.next_send_id()) + 1), Delivery::Send) +Send::Send (Session& s, boost::shared_ptr<MuteMaster> mm, bool internal) + : Delivery (s, mm, string_compose (_("send %1"), (_bitslot = s.next_send_id()) + 1), + (internal ? Delivery::Listen : Delivery::Send)) , _metering (false) { _amp.reset (new Amp (_session, _mute_master)); @@ -46,8 +47,8 @@ Send::Send (Session& s, boost::shared_ptr<MuteMaster> mm) ProcessorCreated (this); /* EMIT SIGNAL */ } -Send::Send (Session& s, boost::shared_ptr<MuteMaster> mm, const XMLNode& node) - : Delivery (s, mm, "send", Delivery::Send) +Send::Send (Session& s, boost::shared_ptr<MuteMaster> mm, const XMLNode& node, bool internal) + : Delivery (s, mm, "send", (internal ? Delivery::Listen : Delivery::Send)) , _metering (false) { _amp.reset (new Amp (_session, _mute_master)); @@ -113,6 +114,7 @@ Send::state(bool full) { XMLNode& node = IOProcessor::state(full); char buf[32]; + node.add_property ("type", "send"); snprintf (buf, sizeof (buf), "%" PRIu32, _bitslot); node.add_property ("bitslot", buf); |