19 #ifndef __SLV2_PORT_H__ 20 #define __SLV2_PORT_H__ 26 #include "slv2/types.h" 27 #include "slv2/plugin.h" 28 #include "slv2/port.h" 29 #include "slv2/collections.h" 53 const char* property_uri);
63 const char* property_uri);
82 SLV2Value property_uri);
148 SLV2Value port_class);
void slv2_port_get_range(SLV2Plugin plugin, SLV2Port port, SLV2Value *def, SLV2Value *min, SLV2Value *max)
Get the default, minimum, and maximum values of a port.
bool slv2_port_has_property(SLV2Plugin p, SLV2Port port, SLV2Value property_uri)
Return whether a port has a certain property.
SLV2Value slv2_port_get_name(SLV2Plugin plugin, SLV2Port port)
Get the name of a port.
SLV2Values slv2_port_get_value_by_qname(SLV2Plugin plugin, SLV2Port port, const char *property_uri)
Port analog of slv2_plugin_get_value_by_qname.
SLV2Values slv2_port_get_value_by_qname_i18n(SLV2Plugin plugin, SLV2Port port, const char *property_uri)
Port analog of slv2_plugin_get_value_by_qname_i18n.
SLV2Values slv2_port_get_value(SLV2Plugin plugin, SLV2Port port, SLV2Value predicate)
Port analog of slv2_plugin_get_value.
SLV2Value slv2_port_get_symbol(SLV2Plugin plugin, SLV2Port port)
Get the symbol of a port.
bool slv2_port_is_a(SLV2Plugin plugin, SLV2Port port, SLV2Value port_class)
Determine if a port is of a given class (input, output, audio, etc).
bool slv2_port_supports_event(SLV2Plugin p, SLV2Port port, SLV2Value event_uri)
Return whether a port is an event port and supports a certain event type.
SLV2Values slv2_port_get_classes(SLV2Plugin plugin, SLV2Port port)
Get all the classes of a port.
SLV2ScalePoints slv2_port_get_scale_points(SLV2Plugin plugin, SLV2Port port)
Get the scale points (enumeration values) of a port.
SLV2Values slv2_port_get_properties(SLV2Plugin plugin, SLV2Port port)
Return the LV2 port properties of a port.