types.h | types.h | |||
---|---|---|---|---|
skipping to change at line 38 | skipping to change at line 38 | |||
/** (Data) Type of a port | /** (Data) Type of a port | |||
* | * | |||
* SLV2_UNKNOWN_PORT_TYPE means the Port is not of any type SLV2 understand s | * SLV2_UNKNOWN_PORT_TYPE means the Port is not of any type SLV2 understand s | |||
* (currently Control, Audio, MIDI, and OSC). | * (currently Control, Audio, MIDI, and OSC). | |||
* | * | |||
* Further class information can be using slv2_port_get_value(p, "rdf:type" ) | * Further class information can be using slv2_port_get_value(p, "rdf:type" ) | |||
* or a custom query. | * or a custom query. | |||
*/ | */ | |||
typedef enum _SLV2PortDataType { | typedef enum _SLV2PortDataType { | |||
SLV2_PORT_TYPE_UNKNOWN, | SLV2_PORT_DATA_TYPE_UNKNOWN, | |||
SLV2_PORT_TYPE_CONTROL, /**< One float per block */ | SLV2_PORT_DATA_TYPE_CONTROL, /**< One float per block */ | |||
SLV2_PORT_TYPE_AUDIO, /**< One float per frame */ | SLV2_PORT_DATA_TYPE_AUDIO, /**< One float per frame */ | |||
SLV2_PORT_TYPE_MIDI, /**< A buffer of MIDI data (LL extension) */ | SLV2_PORT_DATA_TYPE_MIDI, /**< A buffer of MIDI data (LL extensio | |||
SLV2_PORT_TYPE_OSC, /**< A buffer of OSC data (DR extension) */ | n) */ | |||
SLV2_PORT_DATA_TYPE_OSC, /**< A buffer of OSC data (DR extension | ||||
) */ | ||||
} SLV2PortDataType; | } SLV2PortDataType; | |||
/** Direction (input or output) of a port | /** Direction (input or output) of a port | |||
* | * | |||
* SLV2_UNKNOWN_PORT_DIRECTION means the Port is only of type lv2:Port | * SLV2_UNKNOWN_PORT_DIRECTION means the Port is only of type lv2:Port | |||
* (neither lv2:Input or lv2:Output) as far as SLV2 understands. | * (neither lv2:Input or lv2:Output) as far as SLV2 understands. | |||
* | * | |||
* Further class information can be using slv2_port_get_value(p, "rdf:type" ) | * Further class information can be using slv2_port_get_value(p, "rdf:type" ) | |||
* or a custom query. | * or a custom query. | |||
*/ | */ | |||
End of changes. 1 change blocks. | ||||
5 lines changed or deleted | 7 lines changed or added | |||