diff options
author | David Robillard <d@drobilla.net> | 2007-09-19 21:16:18 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-09-19 21:16:18 +0000 |
commit | 0b8415c61e321d032d62b5b1cbda65bab6f178d7 (patch) | |
tree | 7ed101634641999660e697cf2e6a5f1415b9b438 /src/libs/engine/Connection.cpp | |
parent | a054212abbdb26e03ca42c91d0c86819d445bc5f (diff) | |
download | ingen-0b8415c61e321d032d62b5b1cbda65bab6f178d7.tar.gz ingen-0b8415c61e321d032d62b5b1cbda65bab6f178d7.tar.bz2 ingen-0b8415c61e321d032d62b5b1cbda65bab6f178d7.zip |
Tidy up OSC namespace to use OSC true/false instead of C style boolean integers.
Fully separate concept of "polyphonic" (boolean node property) from "polyphony" (integer patch/node property).
Ability to add "polyphonic" nodes to poly=1 patches (in case poly is changed later).
git-svn-id: http://svn.drobilla.net/lad/ingen@732 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/Connection.cpp')
-rw-r--r-- | src/libs/engine/Connection.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libs/engine/Connection.cpp b/src/libs/engine/Connection.cpp index 637da891..bae72412 100644 --- a/src/libs/engine/Connection.cpp +++ b/src/libs/engine/Connection.cpp @@ -44,8 +44,8 @@ Connection::Connection(Port* src_port, Port* dst_port) assert(dst_port); assert(src_port->type() == dst_port->type()); - assert((src_port->parent_node()->poly() == dst_port->parent_node()->poly()) - || (src_port->parent_node()->poly() == 1 || dst_port->parent_node()->poly() == 1)); + /*assert((src_port->parent_node()->poly() == dst_port->parent_node()->poly()) + || (src_port->parent_node()->poly() == 1 || dst_port->parent_node()->poly() == 1));*/ if (_must_mix) _local_buffer = BufferFactory::create(dst_port->type(), dst_port->buffer(0)->size()); |