1WildMidi_MasterVolume(3) WildMidi Programmer's Manual WildMidi_MasterVolume(3)
2
3
4
6 WildMidi_MasterVolume - sets the overall audio level of the library.
7
9 libWildMidi
10
12 #include <wildmidi_lib.h>
13
14 int WildMidi_MasterVolume (unsigned char master_volume)
15
17 Sets the overall library volume level to master_volume. The range of
18 master_volume is between 0 and 127 with 100 being the default.
19
21 Returns -1 on error otherwise returns 0
22
24 WildMidi_GetString(3), WildMidi_Init(3), WildMidi_Open(3), Wild‐
25 Midi_OpenBuffer(3), WildMidi_SetOption(3), WildMidi_GetOutput(3), Wild‐
26 Midi_GetInfo(3), WildMidi_FastSeek(3), WildMidi_Close(3), Wild‐
27 Midi_Shutdown(3), wildmidi(1), wildmidi.cfg(5)
28
30 Chris Ison <wildcode@users.sourceforge.net>
31
33 Copyright (C) Chris Ison 2001-2010
34
35 This file is part of WildMIDI.
36
37 WildMIDI is free software: you can redistribute and/or modify the
38 player under the terms of the GNU General Public License and you can
39 redistribute and/or modify the library under the terms of the GNU
40 Lesser General Public License as published by the Free Software Founda‐
41 tion, either version 3 of the licenses, or(at your option) any later
42 version.
43
44 WildMIDI is distributed in the hope that it will be useful, but WITHOUT
45 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
46 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
47 and the GNU Lesser General Public License for more details.
48
49 You should have received a copy of the GNU General Public License and
50 the GNU Lesser General Public License along with WildMIDI. If not, see
51 <http://www.gnu.org/licenses/>.
52
53 This manpage is licensed under the Creative Commons Attribution-Share
54 Alike 3.0 Unported License. To view a copy of this license, visit
55 http://creativecommons.org/licenses/by-sa/3.0/ or send a letter to Cre‐
56 ative Commons, 171 Second Street, Suite 300, San Francisco, California,
57 94105, USA.
58
59 05 June 2010 WildMidi_MasterVolume(3)