Method

AgsAudioMidiFileopen_from_data

since: 3.0.0

Declaration [src]

gboolean
ags_midi_file_open_from_data (
  AgsMidiFile* midi_file,
  unsigned char* data,
  guint buffer_length
)

Description [src]

Opens a virtual MIDI file residing in datas array.

Available since: 3.0.0

Parameters

data

Type: unsigned char*

The buffer to set.

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

Type: guint

The length of the buffer.

Return value

Type: gboolean

TRUE on success, otherwise FALSE.