From 0b8415c61e321d032d62b5b1cbda65bab6f178d7 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 19 Sep 2007 21:16:18 +0000 Subject: 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 --- src/libs/engine/Node.hpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/libs/engine/Node.hpp') diff --git a/src/libs/engine/Node.hpp b/src/libs/engine/Node.hpp index 3114d369..470075a6 100644 --- a/src/libs/engine/Node.hpp +++ b/src/libs/engine/Node.hpp @@ -121,8 +121,10 @@ public: // FIXME: Only used by client senders. Remove? virtual const Raul::Array& ports() const = 0; - virtual uint32_t num_ports() const = 0; - virtual uint32_t poly() const = 0; + virtual uint32_t num_ports() const = 0; + + virtual bool polyphonic() const = 0; + virtual uint32_t polyphony() const = 0; /** Used by the process order finding algorithm (ie during connections) */ virtual bool traversed() const = 0; -- cgit v1.2.1