Method

AgsAudioMidiUtilget_key_off

since: 3.13.0

Declaration [src]

gboolean
ags_midi_util_get_key_off (
  AgsMidiUtil* midi_util,
  guchar* buffer,
  gint* channel,
  gint* key,
  gint* velocity
)

Description [src]

Get key off 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.
key

Type: gint*

The return location of key.

The argument will be set by the function.
velocity

Type: gint*

The return location of velocity.

The argument will be set by the function.

Return value

Type: gboolean

TRUE if successful, otherwise FALSE.