1WildMidi_ConvertBufferToMiWdiil(d3M)idi Programmer's MWainludaMlidi_ConvertBufferToMidi(3)
2
3
4
6 WildMidi_ConvertBufferToMidi - Convert a MIDI-like buffer into a new
7 MIDI buffer.
8
10 libWildMidi
11
13 #include <wildmidi_lib.h>
14
15 WildMidi_ConvertBufferToMidi (uint8_t *in, uint8_t insize, uint8_t
16 **out, uint32_t *outsize)
17
19 Takes a MIDI-like memory buffer as input and tries to detect, convert
20 and write to a memory buffer in MIDI format.
21
22 in The input buffer that contains MIDI-like content: XMI or MUS.
23
24 insize The size of the input buffer.
25
26 out The output buffer. It will be allocated with malloc() and must
27 be free()d by the caller when it is no longer needed.
28
29 outsize
30 The size of the output buffer.
31
33 WildMidi_GetVersion(3), WildMidi_MasterVolume(3), WildMidi_Open(3),
34 WildMidi_OpenBuffer(3), WildMidi_SetOption(3), WildMidi_GetOutput(3),
35 WildMidi_GetMidiOutput(3), WildMidi_GetInfo(3), WildMidi_FastSeek(3),
36 WildMidi_Close(3), WildMidi_Shutdown(3), wildmidi.cfg(5)
37
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_ConvertBufferToMidi(3)