Method

AgsAudioMidiUtilto_smf

since: 3.0.0

Declaration [src]

guchar*
ags_midi_util_to_smf (
  AgsMidiUtil* midi_util,
  guchar* midi_buffer,
  guint buffer_length,
  gint delta_time,
  guint* smf_buffer_length
)

Description [src]

Convert real-time MIDI to SMF.

Available since: 3.0.0

Parameters

midi_buffer

Type: guchar*

The MIDI buffer.

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

Type: guint

The buffer length.

delta_time

Type: gint

The delta time.

smf_buffer_length

Type: guint*

The return location of resulting length.

The data is owned by the caller of the method.

Return value

Type: guchar*

The SMF buffer.

The returned data is owned by the instance.