Method

AgsAudioMidiSmfUtilget_key_signature

since: 6.0.0

Declaration [src]

guint
ags_midi_smf_util_get_key_signature (
  AgsMidiSmfUtil* midi_smf_util,
  guchar* buffer,
  gint* delta_time,
  gint* sf,
  gint* mi
)

Description [src]

Get key signature.

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.
sf

Type: gint*

The return location of flats or sharps.

The argument will be set by the function.
mi

Type: gint*

The return location of minor or major.

The argument will be set by the function.

Return value

Type: guint

The number of bytes read.