summaryrefslogtreecommitdiffstats
path: root/slv2/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'slv2/types.h')
-rw-r--r--slv2/types.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/slv2/types.h b/slv2/types.h
index 1342934..d6442b3 100644
--- a/slv2/types.h
+++ b/slv2/types.h
@@ -29,18 +29,18 @@ extern "C" {
/** (Data) Type of a port
*
- * SLV2_UNKNOWN_PORT_TYPE means the Port is not of any type SLV2 understands
- * (currently Control, Audio, MIDI, and OSC).
- *
- * Further class information can be using slv2_port_get_value(p, "rdf:type")
- * or a custom query.
+ * SLV2_PORT_DATA_TYPE_UNKNOWN means the Port is not of any type SLV2
+ * understands. This does not mean the port is unusable with slv2
+ * however:further class information can be using
+ * slv2_port_get_value(p, "rdf:type") or a custom query.
*/
typedef enum _SLV2PortDataType {
SLV2_PORT_DATA_TYPE_UNKNOWN,
SLV2_PORT_DATA_TYPE_CONTROL, /**< One float per block */
SLV2_PORT_DATA_TYPE_AUDIO, /**< One float per frame */
- SLV2_PORT_DATA_TYPE_MIDI, /**< A buffer of MIDI data (LL extension) */
- SLV2_PORT_DATA_TYPE_OSC, /**< A buffer of OSC data (DR extension) */
+ SLV2_PORT_DATA_TYPE_MIDI, /**< DEPRECATED: A buffer of MIDI data (LL extension) */
+ SLV2_PORT_DATA_TYPE_OSC, /**< DEPRECATED: A buffer of OSC data (DR extension) */
+ SLV2_PORT_DATA_TYPE_EVENT, /**< Generic event port */
} SLV2PortDataType;
/** Direction (input or output) of a port