1 /*
2 Copyright (C) 2003 Parallel Realities
3 Copyright (C) 2011, 2012 Guus Sliepen
4 Copyright (C) 2015-2020 The Diligent Circle <diligentcircle@riseup.net>
5 
6 This program is free software; you can redistribute it and/or
7 modify it under the terms of the GNU General Public License
8 as published by the Free Software Foundation; either version 3
9 of the License, or (at your option) any later version.
10 
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 GNU General Public License for more details.
15 
16 You should have received a copy of the GNU General Public License
17 along with this program.  If not, see <http://www.gnu.org/licenses/>.
18 */
19 
20 #ifndef AUDIO_H
21 #define AUDIO_H
22 
23 #include "defs.h"
24 #include "structs.h"
25 
26 void audio_loadSounds();
27 void audio_playSound(int sid, float x, float y);
28 void audio_haltMusic();
29 void audio_pauseMusic();
30 void audio_resumeMusic();
31 void audio_setMusicVolume(int volume);
32 void audio_playMusic(const char *filename, int loops);
33 void audio_playRandomTrack();
34 void audio_free();
35 
36 #endif
37