Method

AgsAudioMidiUtilget_change_program

since: 3.13.0

Declaration [src]

gboolean
ags_midi_util_get_change_program (
  AgsMidiUtil* midi_util,
  guchar* buffer,
  gint* channel,
  gint* program
)

Description [src]

Get change program fields of buffer.

Available since: 3.13.0

Parameters

buffer

Type: guchar*

The MIDI buffer.

The data is owned by the caller of the method.
channel

Type: gint*

The return location of channel.

The argument will be set by the function.
program

Type: gint*

The return location of program.

The argument will be set by the function.

Return value

Type: gboolean

TRUE if successful, otherwise FALSE.