summaryrefslogtreecommitdiffstats
path: root/slv2
diff options
context:
space:
mode:
Diffstat (limited to 'slv2')
-rw-r--r--slv2/portsignature.h4
-rw-r--r--slv2/template.h8
2 files changed, 12 insertions, 0 deletions
diff --git a/slv2/portsignature.h b/slv2/portsignature.h
index 700b572..d35d63e 100644
--- a/slv2/portsignature.h
+++ b/slv2/portsignature.h
@@ -32,12 +32,16 @@ extern "C" {
/** Get the direction (input or output) of the port.
+ *
+ * Time = O(1)
*/
SLV2PortDirection
slv2_port_signature_get_direction(SLV2PortSignature sig);
/** Get the type (e.g. audio, midi) of the port.
+ *
+ * Time = O(1)
*/
SLV2PortDataType
slv2_port_signature_get_type(SLV2PortSignature sig);
diff --git a/slv2/template.h b/slv2/template.h
index a65ae40..47aac30 100644
--- a/slv2/template.h
+++ b/slv2/template.h
@@ -32,12 +32,16 @@ extern "C" {
/** Free an SLV2Template.
+ *
+ * Time = O(1) + free()
*/
void
slv2_template_free(SLV2Template);
/** Get the signature (direction and type) of a port
+ *
+ * Time = O(1)
*/
SLV2PortSignature
slv2_template_get_port(SLV2Template t,
@@ -45,12 +49,16 @@ slv2_template_get_port(SLV2Template t,
/** Get the total number of ports.
+ *
+ * Time = O(1)
*/
uint32_t
slv2_template_get_num_ports(SLV2Template t);
/** Get the number of ports of a given direction and type.
+ *
+ * Time = O(1)
*/
uint32_t
slv2_template_get_num_ports_of_type(SLV2Template t,