1WildMidi_SetCvtOption(3) WildMidi Programmer's Manual WildMidi_SetCvtOption(3)
2
3
4
6 WildMidi_SetCvtOption - Set a conversion option for a specific midi
7
9 libWildMidi
10
12 #include <wildmidi_lib.h>
13
14 int WildMidi_SetCvtOption (uint16_t *tag, uint16_t setting)
15
17 Set a conversion option for a specific midi.
18
19 tag The type of option you wish to change.
20
21 WM_CO_XMI_TYPE
22 The the conversion type of an XMI to MIDI.
23
24 WM_CO_FREQUENCY
25 The frequency to be used for a MUS file.
26
27 setting
28 Value for the particular tag.
29
31 Returns -1 on error, otherwise returns 0.
32
34 WildMidi_GetVersion(3), WildMidi_Init(3), WildMidi_MasterVolume(3),
35 WildMidi_Open(3), WildMidi_OpenBuffer(3), WildMidi_SetCvtOption(3),
36 WildMidi_GetOutput(3), WildMidi_GetMidiOutput(3), WildMidi_GetInfo(3),
37 WildMidi_FastSeek(3), WildMidi_Close(3), WildMidi_Shutdown(3), wild‐
38 midi.cfg(5)
39
41 Chris Ison <chrisisonwildcode@gmail.com> Bret Curtis <psi29a@gmail.com>
42
44 Copyright (C) WildMidi Developers 2001-2016
45
46 This file is part of WildMIDI.
47
48 WildMIDI is free software: you can redistribute and/or modify the
49 player under the terms of the GNU General Public License and you can
50 redistribute and/or modify the library under the terms of the GNU
51 Lesser General Public License as published by the Free Software Founda‐
52 tion, either version 3 of the licenses, or(at your option) any later
53 version.
54
55 WildMIDI is distributed in the hope that it will be useful, but WITHOUT
56 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
57 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
58 and the GNU Lesser General Public License for more details.
59
60 You should have received a copy of the GNU General Public License and
61 the GNU Lesser General Public License along with WildMIDI. If not, see
62 <http://www.gnu.org/licenses/>.
63
64 This manpage is licensed under the Creative Commons Attribution-Share
65 Alike 3.0 Unported License. To view a copy of this license, visit
66 http://creativecommons.org/licenses/by-sa/3.0/ or send a letter to Cre‐
67 ative Commons, 171 Second Street, Suite 300, San Francisco, California,
68 94105, USA.
69
70 10 March 2016 WildMidi_SetCvtOption(3)