summaryrefslogtreecommitdiffstats
path: root/slv2/plugininstance.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2006-07-26 03:25:08 +0000
committerDavid Robillard <d@drobilla.net>2006-07-26 03:25:08 +0000
commit2cd84e4209633e59439c445f821bed8410347bab (patch)
treeba34505505795cff5cf35c2958ed21933b822e12 /slv2/plugininstance.h
parentdeca2cc89850dffc051d0a0aafc9d681af838934 (diff)
downloadlilv-2cd84e4209633e59439c445f821bed8410347bab.tar.gz
lilv-2cd84e4209633e59439c445f821bed8410347bab.tar.bz2
lilv-2cd84e4209633e59439c445f821bed8410347bab.zip
- Removed all the unsigned char garbage from the API
- Updated types in lv2.h to be non-machine-dependant (removed unsigned long in favour of uint32_t) - Updated schema - Updated example plugin to work with the above (partially) git-svn-id: http://svn.drobilla.net/lad/libslv2@101 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'slv2/plugininstance.h')
-rw-r--r--slv2/plugininstance.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/slv2/plugininstance.h b/slv2/plugininstance.h
index 5fd9393..1867c5e 100644
--- a/slv2/plugininstance.h
+++ b/slv2/plugininstance.h
@@ -58,7 +58,7 @@ typedef const struct _Instance SLV2Instance;
*/
SLV2Instance*
slv2_plugin_instantiate(const SLV2Plugin* plugin,
- unsigned long sample_rate,
+ uint32_t sample_rate,
const LV2_Host_Feature** host_features);
@@ -94,7 +94,7 @@ slv2_instance_get_uri(SLV2Instance* instance)
*/
inline void
slv2_instance_connect_port(SLV2Instance* instance,
- unsigned long port_index,
+ uint32_t port_index,
void* data_location)
{
assert(instance);
@@ -130,7 +130,7 @@ slv2_instance_activate(SLV2Instance* instance)
*/
inline void
slv2_instance_run(SLV2Instance* instance,
- unsigned long sample_count)
+ uint32_t sample_count)
{
assert(instance);
assert(instance->descriptor);