Plugin.portByDesignation
Get a port on plugin by its lv2:designation.
The designation of a port describes the meaning, assignment, allocation or role of the port, like “left channel” or “gain”. If found, the port with matching portClass and designation is returned. If port_class is null, any port with the given designation will be returned.
Parameters
portClass | Can be used to distinguish the input and output ports for a particular designation. Use null to return any port with the given designation. |
designation | The designation |
Returns
Matching port or null