1WildMidi_OpenBuffer(3)   WildMidi Programmer's Manual   WildMidi_OpenBuffer(3)
2
3
4

NAME

6       WildMidi_OpenBuffer - Open a midi file buffer for processing
7

LIBRARY

9       libWildMidi
10

SYNOPSIS

12       #include <wildmidi_lib.h>
13
14       midi *WildMidi_OpenBuffer (uint8_t *midibuffer, uint32_t size)
15

DESCRIPTION

17       Open a file, that you have buffered in memory, for processing.
18
19       midibuffer
20              The  memory  location of the buffered file. This buffer needs to
21              be in either HMP, HMI, MIDI, or XMIDI  file  format.  Once  this
22              function  is  called,  any  changes  to  the buffer will have no
23              effect.
24
25       size   This is the size of the midi file in bytes  that  is  stored  in
26              memory.
27

RETURN VALUE

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

SEE ALSO

33       WildMidi_GetVersion(3),   WildMidi_Init(3),   WildMidi_MasterVolume(3),
34       WildMidi_Open(3),  WildMidi_SetOption(3),  WildMidi_GetOutput(3), Wild‐
35       Midi_GetMidiOutput(3), WildMidi_GetInfo(3), WildMidi_FastSeek(3), Wild‐
36       Midi_Close(3), WildMidi_Shutdown(3), wildmidi.cfg(5)
37

AUTHOR

39       Chris Ison <chrisisonwildcode@gmail.com> Bret Curtis <psi29a@gmail.com>
40
42       Copyright (C) WildMidi Developers 2001-2016
43
44       This file is part of WildMIDI.
45
46       WildMIDI  is  free  software:  you  can  redistribute and/or modify the
47       player under the terms of the GNU General Public License  and  you  can
48       redistribute  and/or  modify  the  library  under  the terms of the GNU
49       Lesser General Public License as published by the Free Software Founda‐
50       tion,  either  version  3 of the licenses, or(at your option) any later
51       version.
52
53       WildMIDI is distributed in the hope that it will be useful, but WITHOUT
54       ANY  WARRANTY;  without even the implied warranty of MERCHANTABILITY or
55       FITNESS FOR A PARTICULAR PURPOSE. See the GNU  General  Public  License
56       and the GNU Lesser General Public License for more details.
57
58       You  should  have received a copy of the GNU General Public License and
59       the GNU Lesser General Public License along with WildMIDI. If not,  see
60       <http://www.gnu.org/licenses/>.
61
62       This  manpage  is licensed under the Creative Commons Attribution-Share
63       Alike 3.0 Unported License. To view  a  copy  of  this  license,  visit
64       http://creativecommons.org/licenses/by-sa/3.0/ or send a letter to Cre‐
65       ative Commons, 171 Second Street, Suite 300, San Francisco, California,
66       94105, USA.
67
68                                 10 March 2016          WildMidi_OpenBuffer(3)
Impressum