summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/DSSINode.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-07-27 00:26:40 +0000
committerDavid Robillard <d@drobilla.net>2007-07-27 00:26:40 +0000
commit972a3e8476687951e8af4e9c1d4f25014dab1b82 (patch)
treeb20e1827a15a4309679fa68c7f8764e2381bde6b /src/libs/engine/DSSINode.hpp
parentf36e709b68144191d51959d6a2224cd9c3ad7871 (diff)
downloadingen-972a3e8476687951e8af4e9c1d4f25014dab1b82.tar.gz
ingen-972a3e8476687951e8af4e9c1d4f25014dab1b82.tar.bz2
ingen-972a3e8476687951e8af4e9c1d4f25014dab1b82.zip
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
Diffstat (limited to 'src/libs/engine/DSSINode.hpp')
-rw-r--r--src/libs/engine/DSSINode.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libs/engine/DSSINode.hpp b/src/libs/engine/DSSINode.hpp
index f54e75f8..aa309089 100644
--- a/src/libs/engine/DSSINode.hpp
+++ b/src/libs/engine/DSSINode.hpp
@@ -40,7 +40,7 @@ public:
typedef std::map<int, string> Bank;
- DSSINode(const Plugin* plugin, const string& name, size_t poly, Patch* parent, DSSI_Descriptor* descriptor, SampleRate srate, size_t buffer_size);
+ DSSINode(const Plugin* plugin, const string& name, uint32_t poly, Patch* parent, DSSI_Descriptor* descriptor, SampleRate srate, size_t buffer_size);
~DSSINode();
bool instantiate();
@@ -50,13 +50,13 @@ public:
void set_ui_url(const string& url);
void send_update();
- void set_control(size_t port_num, Sample val);
+ void set_control(uint32_t port_num, Sample val);
void configure(const string& key, const string& val);
void program(int bank, int program);
void process(SampleCount nframes, FrameTime start, FrameTime end);
- void set_port_buffer(size_t voice, size_t port_num, Buffer* buf);
+ void set_port_buffer(uint32_t voice, uint32_t port_num, Buffer* buf);
bool update_programs(bool send_events);
void set_default_program();