Function

AgsAudioLv2PortPresetalloc

since: 3.0.0

Declaration [src]

AgsLv2PortPreset*
ags_lv2_port_preset_alloc (
  gchar* port_symbol,
  GType port_type
)

Description [src]

Allocated AgsLv2PortPreset-struct.

Available since: 3.0.0

Parameters

port_symbol

Type: gchar*

The port symbol.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
port_type

Type: GType

The port type.

Return value

Type: AgsLv2PortPreset*

The new AgsLv2PortPreset-struct.

The data is owned by the called function.
The return value can be NULL.