Function

AgsAudioMidiBufferUtilget_header

since: 3.0.0

Declaration [src]

guint
ags_midi_buffer_util_get_header (
  guchar* buffer,
  glong* offset,
  glong* format,
  glong* track_count,
  glong* division
)

Description [src]

Gets the midi header.

Available since: 3.0.0

Parameters

buffer

Type: guchar*

The character buffer.

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

Type: glong*

Start delta-time.

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

Type: glong*

Either 0, 1 or 2.

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

Type: glong*

The number of tracks.

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

Type: glong*

Timing division.

The data is owned by the caller of the function.

Return value

Type: guint

The number of bytes read.