summaryrefslogtreecommitdiffstats
path: root/slv2
diff options
context:
space:
mode:
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
*