Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

WildMidi_OpenBuffer - Open a midi file buffer for processing

Author

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

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.

Library

libWildMidi

Name

       WildMidi_OpenBuffer - Open a midi file buffer for processing

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)

Synopsis

#include<wildmidi_lib.h>midi*WildMidi_OpenBuffer(uint8_t*midibuffer,uint32_tsize)

See Also