Method

AgsAudioMidiSmfUtilget_song_position

since: 6.0.0

Declaration [src]

guint
ags_midi_smf_util_get_song_position (
  AgsMidiSmfUtil* midi_smf_util,
  guchar* buffer,
  gint* delta_time,
  gint* song_position
)

Description [src]

Get song position.

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

Type: gint*

The return location of the song position.

The argument will be set by the function.

Return value

Type: guint

The number of bytes read.