diff options
author | David Robillard <d@drobilla.net> | 2007-10-13 18:01:56 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-10-13 18:01:56 +0000 |
commit | 4d440f54870cd3934a49bab1ae98fad3f13f00d4 (patch) | |
tree | ca9d31bfc41215e2b80e4b6fd980a7ef5801a0a4 /src/libs/engine/ObjectSender.cpp | |
parent | 7ca2e0c1a67c12954e04d2175cbb488efc426a85 (diff) | |
download | ingen-4d440f54870cd3934a49bab1ae98fad3f13f00d4.tar.gz ingen-4d440f54870cd3934a49bab1ae98fad3f13f00d4.tar.bz2 ingen-4d440f54870cd3934a49bab1ae98fad3f13f00d4.zip |
Send polyphonic state on object creation.
git-svn-id: http://svn.drobilla.net/lad/ingen@881 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/ObjectSender.cpp')
-rw-r--r-- | src/libs/engine/ObjectSender.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libs/engine/ObjectSender.cpp b/src/libs/engine/ObjectSender.cpp index 4b2497e6..bb1b5c54 100644 --- a/src/libs/engine/ObjectSender.cpp +++ b/src/libs/engine/ObjectSender.cpp @@ -34,6 +34,7 @@ void ObjectSender::send_patch(ClientInterface* client, const PatchImpl* patch, bool recursive) { client->new_patch(patch->path(), patch->internal_polyphony()); + client->polyphonic(patch->path(), patch->polyphonic()); if (recursive) { @@ -91,6 +92,7 @@ ObjectSender::send_node(ClientInterface* client, const NodeImpl* node, bool recu client->bundle_begin(); client->new_node(node->plugin()->uri(), node->path(), node->polyphonic(), node->num_ports()); + client->polyphonic(node->path(), node->polyphonic()); // Send variable const GraphObjectImpl::Variables& data = node->variables(); @@ -115,6 +117,7 @@ ObjectSender::send_port(ClientInterface* client, const PortImpl* port) client->bundle_begin(); client->new_port(port->path(), port->type().uri(), port->is_output()); + client->polyphonic(port->path(), port->polyphonic()); // Send variable const GraphObjectImpl::Variables& data = port->variables(); |