From deca2cc89850dffc051d0a0aafc9d681af838934 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 22 Jul 2006 19:19:05 +0000 Subject: Removed data type enumeration in favour of using the URI directly git-svn-id: http://svn.drobilla.net/lad/libslv2@100 a436a847-0d15-0410-975c-d299462d15a1 --- slv2/port.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'slv2/port.h') diff --git a/slv2/port.h b/slv2/port.h index 749ea4e..601aa49 100644 --- a/slv2/port.h +++ b/slv2/port.h @@ -46,7 +46,7 @@ extern "C" { /** Get a property of a port, by port index. * - * Return value must be free()'d by caller. + * Return value must be freed by caller with slv2_property_free. */ SLV2Property slv2_port_get_property(SLV2Plugin* plugin, @@ -73,9 +73,12 @@ slv2_port_get_class(SLV2Plugin* plugin, unsigned long index); -/** Get the data type of a port. +/** Get the data type of a port (as a URI). + * + * The only data type included in the core LV2 specification is lv2:float. + * Compare this return value with @ref SLV2_DATA_TYPE_FLOAT to check for it. */ -enum SLV2DataType +uchar* slv2_port_get_data_type(SLV2Plugin* plugin, unsigned long index); -- cgit v1.2.1