Method

AgsAudioMidiSmfUtilput_header

since: 6.0.0

Declaration [src]

void
ags_midi_smf_util_put_header (
  AgsMidiSmfUtil* midi_smf_util,
  guchar* buffer,
  gint offset,
  gint format,
  gint track_count,
  gint division
)

Description [src]

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

format

Type: gint

Either 0, 1 or 2.

track_count

Type: gint

The number of tracks.

division

Type: gint

Timing division.