WildMidi_OpenBuffer man page

WildMidi_OpenBuffer — Open a midi file buffer for processing

Library

libWildMidi

Synopsis

#include <wildmidi_lib.h>

midi *WildMidi_OpenBuffer (uint8_t *midibuffer, uint32_t size)

Description

Open a file, that you have buffered in memory, for processing.

midibuffer
The memory location of the buffered file. This buffer needs to be in either HMP, HMI, MIDI, or XMIDI file format. Once this function is called, any changes to the buffer will have no effect.
size
This is the size of the midi file in bytes that is stored in memory.

Return Value

Returns NULL on error, otherwise returns a handle for the midi buffer opened.

See Also

WildMidi_GetVersion(3), WildMidi_Init(3), WildMidi_MasterVolume(3), WildMidi_Open(3), WildMidi_SetOption(3), WildMidi_GetOutput(3), WildMidi_GetMidiOutput(3), WildMidi_GetInfo(3), WildMidi_FastSeek(3), WildMidi_Close(3), WildMidi_Shutdown(3), wildmidi.cfg(5)

Author

Chris Ison <chrisisonwildcode@gmail.com> Bret Curtis <psi29a@gmail.com>

Referenced By

WildMidi_ClearError(3), WildMidi_Close(3), WildMidi_ConvertBufferToMidi(3), WildMidi_ConvertToMidi(3), WildMidi_FastSeek(3), WildMidi_GetError(3), WildMidi_GetInfo(3), WildMidi_GetLyric(3), WildMidi_GetMidiOutput(3), WildMidi_GetOutput(3), WildMidi_GetString(3), WildMidi_GetVersion(3), WildMidi_Init(3), WildMidi_MasterVolume(3), WildMidi_Open(3), WildMidi_SetCvtOption(3), WildMidi_SetOption(3), WildMidi_Shutdown(3), WildMidi_SongSeek(3).

10 March 2016 WildMidi Programmer's Manual