summaryrefslogtreecommitdiffstats
path: root/slv2/plugininstance.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-01-25 06:55:57 +0000
committerDavid Robillard <d@drobilla.net>2008-01-25 06:55:57 +0000
commit6f4460aee9962a49ae872eef42ba75a439ea6e59 (patch)
treedd08af14a835d0d6f77aa6a3c4c9047ceb4b307f /slv2/plugininstance.h
parent361f21b9e1f59bd602d0e1ed8b80f726605995be (diff)
downloadlilv-6f4460aee9962a49ae872eef42ba75a439ea6e59.tar.gz
lilv-6f4460aee9962a49ae872eef42ba75a439ea6e59.tar.bz2
lilv-6f4460aee9962a49ae872eef42ba75a439ea6e59.zip
Overhaul SLV2 API to return/take SLV2Value (instead of strings or primitives) wherever possible.
Make 'index' a fundemental property of ingen ports. git-svn-id: http://svn.drobilla.net/lad/slv2@1113 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'slv2/plugininstance.h')
-rw-r--r--slv2/plugininstance.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/slv2/plugininstance.h b/slv2/plugininstance.h
index 8f2b7fd..383e404 100644
--- a/slv2/plugininstance.h
+++ b/slv2/plugininstance.h
@@ -30,6 +30,8 @@ extern "C" {
typedef struct _InstanceImpl* SLV2InstanceImpl;
+/** \cond IGNORE */
+
/* Instance of a plugin.
*
* The LV2 descriptor and handle of this are exposed to allow inlining of
@@ -44,6 +46,8 @@ typedef struct _Instance {
SLV2InstanceImpl pimpl; ///< Private implementation
}* SLV2Instance;
+/** \endcond */
+
/** \defgroup slv2_library Plugin library access
*
@@ -147,7 +151,7 @@ slv2_instance_run(SLV2Instance instance,
assert(instance->lv2_descriptor);
assert(instance->lv2_handle);
- if (instance->lv2_descriptor->run)
+ /*if (instance->lv2_descriptor->run)*/
instance->lv2_descriptor->run(instance->lv2_handle, sample_count);
}