Method

AgsAudioMidiUtilget_song_position

since: 3.13.0

Declaration [src]

gboolean
ags_midi_util_get_song_position (
  AgsMidiUtil* midi_util,
  guchar* buffer,
  gint* song_position
)

Description [src]

Get song position fields of buffer.

Available since: 3.13.0

Parameters

buffer

Type: guchar*

The MIDI buffer.

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

Type: gint*

The return location of song position.

The argument will be set by the function.

Return value

Type: gboolean

TRUE if successful, otherwise FALSE.