summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/ObjectSender.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-08-17 04:05:30 +0000
committerDavid Robillard <d@drobilla.net>2008-08-17 04:05:30 +0000
commitfa067527fe00b66b85d71955e152e9ef9215c9cd (patch)
tree382a8e9e58259929415e7188992252ac1ca2ea9b /src/libs/engine/ObjectSender.cpp
parent3019b09099371b3fe568b7dcc3bb92203d800b1f (diff)
downloadingen-fa067527fe00b66b85d71955e152e9ef9215c9cd.tar.gz
ingen-fa067527fe00b66b85d71955e152e9ef9215c9cd.tar.bz2
ingen-fa067527fe00b66b85d71955e152e9ef9215c9cd.zip
Replace imperative polyphony/polyphonic stuff with properties (kill more API).
git-svn-id: http://svn.drobilla.net/lad/ingen@1412 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/ObjectSender.cpp')
-rw-r--r--src/libs/engine/ObjectSender.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libs/engine/ObjectSender.cpp b/src/libs/engine/ObjectSender.cpp
index 82500446..3a716a28 100644
--- a/src/libs/engine/ObjectSender.cpp
+++ b/src/libs/engine/ObjectSender.cpp
@@ -36,7 +36,7 @@ ObjectSender::send_patch(ClientInterface* client, const PatchImpl* patch, bool r
client->bundle_begin();
client->new_patch(patch->path(), patch->internal_polyphony());
- client->polyphonic(patch->path(), patch->polyphonic());
+ client->set_property(patch->path(), "ingen:polyphonic", patch->polyphonic());
// Send variable
const GraphObjectImpl::Variables& data = patch->variables();
@@ -94,8 +94,8 @@ ObjectSender::send_node(ClientInterface* client, const NodeImpl* node, bool recu
client->bundle_begin();
- client->new_node(node->path(), node->plugin()->uri(), node->polyphonic());
- client->polyphonic(node->path(), node->polyphonic());
+ client->new_node(node->path(), node->plugin()->uri());
+ client->set_property(node->path(), "ingen:polyphonic", node->polyphonic());
// Send variable
const GraphObjectImpl::Variables& data = node->variables();
@@ -120,7 +120,7 @@ ObjectSender::send_port(ClientInterface* client, const PortImpl* port)
client->bundle_begin();
client->new_port(port->path(), port->index(), port->type().uri(), port->is_output());
- client->polyphonic(port->path(), port->polyphonic());
+ client->set_property(port->path(), "ingen:polyphonic", port->polyphonic());
// Send variable
const GraphObjectImpl::Variables& data = port->variables();