Constructor

AgsAudioAutomationnew

since: 3.0.0

Declaration [src]

AgsAutomation*
ags_automation_new (
  GObject* audio,
  guint line,
  GType channel_type,
  gchar* control_name
)

Description [src]

Creates a new instance of AgsAutomation.

Available since: 3.0.0

Parameters

audio

Type: GObject

The AgsAudio.

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

Type: guint

The line to apply.

channel_type

Type: GType

The channel type.

control_name

Type: gchar*

The control name.

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

Return value

Type: AgsAutomation

The new AgsAutomation.

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