diff options
author | David Robillard <d@drobilla.net> | 2008-01-20 02:41:04 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-01-20 02:41:04 +0000 |
commit | 5c48e8a43e13b5b0ce8ee56f4e7b6000a979b37b (patch) | |
tree | b8d8286f01336354db4fea37288926fad848bacf /slv2 | |
parent | 0a8cb65a8205f5a359c57ba4299ce9d9455bf68b (diff) | |
download | lilv-5c48e8a43e13b5b0ce8ee56f4e7b6000a979b37b.tar.gz lilv-5c48e8a43e13b5b0ce8ee56f4e7b6000a979b37b.tar.bz2 lilv-5c48e8a43e13b5b0ce8ee56f4e7b6000a979b37b.zip |
Fix syntax error in lv2_midi.ttl and lv2_event.ttl.
Add lv2ev:supportsEvent port property.
Add generic event port support to SLV2.
git-svn-id: http://svn.drobilla.net/lad/slv2@1081 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'slv2')
-rw-r--r-- | slv2/types.h | 14 |
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 |