WildMidi_ConvertBufferToMidi3
Convert a midi-like buffer into a new midi buffer.
Usage
#include <wildmidi_lib.h>
WildMidi_ConvertBufferToMidi (uint8_t *in, uint8_t insize, uint8_t **out, uint32_t *outsize)
Library
libWildMidi
Overview
Takes a MIDI-like memory buffer as input and tries to detect, convert and write to a memory buffer in MIDI format.
- in
-
The input buffer that contains MIDI-like content: XMI, MUS, HMP or HMI.
- insize
-
The size of the input buffer.
- out
-
The output buffer. It will be allocated with
malloc() and must befree()d by the caller when it is no longer needed.
- outsize
-
The size of the output buffer.
Releases
6 releases since Debian 9 (Stretch); the text changed 1 time.