Method

AgsAudioMidiSmfUtilget_header

since: 6.0.0

Declaration [src]

guint
ags_midi_smf_util_get_header (
  AgsMidiSmfUtil* midi_smf_util,
  guchar* buffer,
  gint* offset,
  gint* format,
  gint* track_count,
  gint* division
)

Description [src]

Gets the midi header.

Available since: 6.0.0

Parameters

buffer

Type: guchar*

The MIDI buffer.

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

Type: gint*

Start delta-time.

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

Type: gint*

Either 0, 1 or 2.

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

Type: gint*

The number of tracks.

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

Type: gint*

Timing division.

The data is owned by the caller of the method.

Return value

Type: guint

The number of bytes read.