Constructor
AgsAudioLv2Pluginnew
since: 3.0.0
Declaration [src]
AgsLv2Plugin*
ags_lv2_plugin_new (
AgsTurtle* turtle,
gchar* filename,
gchar* effect,
gchar* uri,
guint effect_index
)
Parameters
turtle
-
Type:
AgsTurtle
The
AgsTurtle
.The data is owned by the caller of the function. filename
-
Type:
gchar*
The plugin .so.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. effect
-
Type:
gchar*
The effect’s string representation.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. uri
-
Type:
gchar*
The effect’s uri.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. effect_index
-
Type:
guint
The effect’s index.
Return value
Type: AgsLv2Plugin
A new AgsLv2Plugin
.
The caller of the function takes ownership of the data, and is responsible for freeing it. |