Debian Codegraph @

src/loudness.h

raw symbols SCIP
1 /*
2 * OpenTyrian: A modern cross-platform port of Tyrian
3 * Copyright (C) 2007-2009 The OpenTyrian Development Team
4 *
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License
7 * as published by the Free Software Foundation; either version 2
8 * of the License, or (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18 */
19 #ifndef LOUDNESS_H
20 #define LOUDNESS_Hcxx . . $ `src/loudness.h:20:9`!
21
22 #include "opentyr.h"cxx . . $ `<file>/src/opentyr.h`/
23 #include "opl.h"cxx . . $ `<file>/src/opl.h`/
24
25 #include "SDL.h"
26
27 extern int audioSampleRatecxx . . $ audioSampleRate.;
28
29 extern unsigned int song_playingcxx . . $ song_playing.;
30
31 extern boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! audio_disabledcxx . . $ audio_disabled., music_disabledcxx . . $ music_disabled., samples_disabledcxx . . $ samples_disabled.;
32
33 boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! init_audiocxx . . $ init_audio(c9857a73d68e59ba).(void);
34 void deinit_audiocxx . . $ deinit_audio(49f6e7a06ebc5aa8).(void);
35
36 void load_musiccxx . . $ load_music(49f6e7a06ebc5aa8).(void);
37 void play_songcxx . . $ play_song(cb2f890c2fdad230).(unsigned int song_num);
38 void restart_songcxx . . $ restart_song(49f6e7a06ebc5aa8).(void);
39 void stop_songcxx . . $ stop_song(49f6e7a06ebc5aa8).(void);
40 void fade_songcxx . . $ fade_song(49f6e7a06ebc5aa8).(void);
41
42 void set_volumecxx . . $ set_volume(8fbe6856f5410d23).(Uint8cxx . . $ Uint8# musicVolume, Uint8cxx . . $ Uint8# sampleVolume);
43
44 void multiSamplePlaycxx . . $ multiSamplePlay(c50bd6ef3d54aac8).(const Sint16cxx . . $ Sint16# *samples, size_t sampleCount, Uint8cxx . . $ Uint8# chan, Uint8cxx . . $ Uint8# vol);
45
46 #endif /* LOUDNESS_H */