Constructor

AgsAudioMidinew

since: 3.0.0

Declaration [src]

AgsMidi*
ags_midi_new (
  GObject* audio,
  guint audio_channel
)

Description [src]

Creates a new instance of AgsMidi.

Available since: 3.0.0

Parameters

audio

Type: GObject

The assigned AgsAudio.

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

Type: guint

The audio channel to be used.

Return value

Type: AgsMidi

The new AgsMidi.

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