summaryrefslogtreecommitdiffstats
path: root/slv2
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-08-07 23:46:09 +0000
committerDavid Robillard <d@drobilla.net>2007-08-07 23:46:09 +0000
commitf95cf059a72e6185c4d72696e0620a673c3683cd (patch)
tree15893a57cb2c5765e2b04043eb73171ddea87982 /slv2
parenta3ed37433cd283109b2593c7f47421e9e61327c5 (diff)
downloadlilv-f95cf059a72e6185c4d72696e0620a673c3683cd.tar.gz
lilv-f95cf059a72e6185c4d72696e0620a673c3683cd.tar.bz2
lilv-f95cf059a72e6185c4d72696e0620a673c3683cd.zip
Changed slv2_port_get_type to slv2_port_get_data_type, and SLV2PortType to SLV2PortDataType.
Fixed autoconf warning. git-svn-id: http://svn.drobilla.net/lad/slv2@682 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'slv2')
-rw-r--r--slv2/port.h8
-rw-r--r--slv2/types.h4
2 files changed, 6 insertions, 6 deletions
diff --git a/slv2/port.h b/slv2/port.h
index 08c1e45..3eef680 100644
--- a/slv2/port.h
+++ b/slv2/port.h
@@ -105,13 +105,13 @@ SLV2PortDirection
slv2_port_get_direction(SLV2Plugin plugin,
SLV2Port port);
-/** Get the (data) type of a port.
+/** Get the data type of a port.
*
* Time = Query
*/
-SLV2PortType
-slv2_port_get_type(SLV2Plugin plugin,
- SLV2Port port);
+SLV2PortDataType
+slv2_port_get_data_type(SLV2Plugin plugin,
+ SLV2Port port);
/** Get the default value of a port.
diff --git a/slv2/types.h b/slv2/types.h
index 4b1782d..275d7c4 100644
--- a/slv2/types.h
+++ b/slv2/types.h
@@ -35,13 +35,13 @@ extern "C" {
* Further class information can be using slv2_port_get_value(p, "rdf:type")
* or a custom query.
*/
-typedef enum _SLV2PortType {
+typedef enum _SLV2PortDataType {
SLV2_PORT_TYPE_UNKNOWN,
SLV2_PORT_TYPE_CONTROL, /**< One float per block */
SLV2_PORT_TYPE_AUDIO, /**< One float per frame */
SLV2_PORT_TYPE_MIDI, /**< A buffer of MIDI data (LL extension) */
SLV2_PORT_TYPE_OSC, /**< A buffer of OSC data (DR extension) */
-} SLV2PortType;
+} SLV2PortDataType;
/** Direction (input or output) of a port
*