From 972a3e8476687951e8af4e9c1d4f25014dab1b82 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 27 Jul 2007 00:26:40 +0000 Subject: Use uint32_t for num_ports (and poly), matches LV2 and size_t is excessive on 64-bit. Remove (linear) sorted assertion from Table, except in unit tests. git-svn-id: http://svn.drobilla.net/lad/ingen@643 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/engine/Node.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/libs/engine/Node.hpp') diff --git a/src/libs/engine/Node.hpp b/src/libs/engine/Node.hpp index 35edd201..e6c5316b 100644 --- a/src/libs/engine/Node.hpp +++ b/src/libs/engine/Node.hpp @@ -69,13 +69,13 @@ public: */ virtual void process(SampleCount nframes, FrameTime start, FrameTime end) = 0; - virtual void set_port_buffer(size_t voice, size_t port_num, Buffer* buf) = 0; + virtual void set_port_buffer(uint32_t voice, uint32_t port_num, Buffer* buf) = 0; // FIXME: Only used by client senders. Remove? virtual const Raul::Array& ports() const = 0; - virtual size_t num_ports() const = 0; - virtual size_t poly() const = 0; + virtual uint32_t num_ports() const = 0; + virtual uint32_t poly() const = 0; /** Used by the process order finding algorithm (ie during connections) */ virtual bool traversed() const = 0; -- cgit v1.2.1