Method

AgsAudioMidiSmfUtilget_text_event

since: 6.0.0

Declaration [src]

guint
ags_midi_smf_util_get_text_event (
  AgsMidiSmfUtil* midi_smf_util,
  guchar* buffer,
  gint* delta_time,
  gchar** text,
  gint* length
)

Description [src]

Get text event.

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

Type: gchar**

The return location of the text.

The argument will be set by the function.
The caller of the method takes ownership of the returned data, and is responsible for freeing it.
The value is a NUL terminated UTF-8 string.
length

Type: gint*

The return location of the length.

The argument will be set by the function.

Return value

Type: guint

The number of bytes read.