Method

AgsAudioMidiUtilget_key_pressure

since: 3.13.0

Declaration [src]

gboolean
ags_midi_util_get_key_pressure (
  AgsMidiUtil* midi_util,
  guchar* buffer,
  gint* channel,
  gint* key,
  gint* pressure
)

Description [src]

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

Type: gint*

The return location of pressure.

The argument will be set by the function.

Return value

Type: gboolean

TRUE if successful, otherwise FALSE.