Method

AgsAudioMidiSmfUtilget_key_pressure

since: 6.0.0

Declaration [src]

guint
ags_midi_smf_util_get_key_pressure (
  AgsMidiSmfUtil* midi_smf_util,
  guchar* buffer,
  gint* delta_time,
  gint* channel,
  gint* key,
  gint* pressure
)

Description [src]

Get the key-pressure message from buffer.

Available since: 6.0.0

Parameters

buffer

Type: guchar*

The MIDI buffer.

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

Type: gint*

The return location of timing information.

The argument will be set by the function.
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: guint

The number of bytes read.