summaryrefslogtreecommitdiffstats
path: root/src/engine/events
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-10-13 01:59:53 +0000
committerDavid Robillard <d@drobilla.net>2008-10-13 01:59:53 +0000
commitb2d51e16571190becea1476080cff1b0a258a4f6 (patch)
tree14fc29ec1408a43b3a9688cc09aec8733f3d3d54 /src/engine/events
parentef8f39fedbd51f414f19d1282b21ea4de46cf449 (diff)
downloadingen-b2d51e16571190becea1476080cff1b0a258a4f6.tar.gz
ingen-b2d51e16571190becea1476080cff1b0a258a4f6.tar.bz2
ingen-b2d51e16571190becea1476080cff1b0a258a4f6.zip
Fix various problems with subpatch connecting/disconnecting (and probably introduce new ones).
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1668 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine/events')
-rw-r--r--src/engine/events/ConnectionEvent.cpp21
-rw-r--r--src/engine/events/DisconnectionEvent.cpp20
2 files changed, 20 insertions, 21 deletions
diff --git a/src/engine/events/ConnectionEvent.cpp b/src/engine/events/ConnectionEvent.cpp
index 772679fa..22bda824 100644
--- a/src/engine/events/ConnectionEvent.cpp
+++ b/src/engine/events/ConnectionEvent.cpp
@@ -15,7 +15,6 @@
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-
#include <string>
#include <boost/format.hpp>
#include <raul/Maid.hpp>
@@ -37,16 +36,16 @@ namespace Ingen {
ConnectionEvent::ConnectionEvent(Engine& engine, SharedPtr<Responder> responder, SampleCount timestamp, const string& src_port_path, const string& dst_port_path)
-: QueuedEvent(engine, responder, timestamp),
- _src_port_path(src_port_path),
- _dst_port_path(dst_port_path),
- _patch(NULL),
- _src_port(NULL),
- _dst_port(NULL),
- _compiled_patch(NULL),
- _patch_listnode(NULL),
- _port_listnode(NULL),
- _error(NO_ERROR)
+ : QueuedEvent(engine, responder, timestamp)
+ , _src_port_path(src_port_path)
+ , _dst_port_path(dst_port_path)
+ , _patch(NULL)
+ , _src_port(NULL)
+ , _dst_port(NULL)
+ , _compiled_patch(NULL)
+ , _patch_listnode(NULL)
+ , _port_listnode(NULL)
+ , _error(NO_ERROR)
{
}
diff --git a/src/engine/events/DisconnectionEvent.cpp b/src/engine/events/DisconnectionEvent.cpp
index d98718e9..fa045639 100644
--- a/src/engine/events/DisconnectionEvent.cpp
+++ b/src/engine/events/DisconnectionEvent.cpp
@@ -37,16 +37,16 @@ namespace Ingen {
DisconnectionEvent::DisconnectionEvent(Engine& engine, SharedPtr<Responder> responder, SampleCount timestamp, const string& src_port_path, const string& dst_port_path)
-: QueuedEvent(engine, responder, timestamp),
- _src_port_path(src_port_path),
- _dst_port_path(dst_port_path),
- _patch(NULL),
- _src_port(NULL),
- _dst_port(NULL),
- _lookup(true),
- _patch_connection(NULL),
- _compiled_patch(NULL),
- _error(NO_ERROR)
+ : QueuedEvent(engine, responder, timestamp)
+ , _src_port_path(src_port_path)
+ , _dst_port_path(dst_port_path)
+ , _patch(NULL)
+ , _src_port(NULL)
+ , _dst_port(NULL)
+ , _lookup(true)
+ , _patch_connection(NULL)
+ , _compiled_patch(NULL)
+ , _error(NO_ERROR)
{
}