Constructor

AgsAudioLv2Presetnew

since: 3.0.0

Declaration [src]

AgsLv2Preset*
ags_lv2_preset_new (
  GObject* lv2_plugin,
  AgsTurtle* turtle,
  gchar* uri
)

Description [src]

Create a new instance of AgsLv2Preset.

Available since: 3.0.0

Parameters

lv2_plugin

Type: GObject

An AgsLv2Plugin.

The data is owned by the caller of the function.
turtle

Type: AgsTurtle

The AgsTurtle.

The data is owned by the caller of the function.
uri

Type: gchar*

The URI as string.

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

Return value

Type: AgsLv2Preset

The new AgsLv2Preset.

The caller of the function takes ownership of the data, and is responsible for freeing it.