Import from neverball-1.3.7.tar.gz
[neverball-archive.git] / putt / audio.h
blob20b24854db209ff950a5889a5b95b3636b97d39d
1 #ifndef AUDIO_H
2 #define AUDIO_H
4 /*---------------------------------------------------------------------------*/
6 #define AUD_BIRDIE 0
7 #define AUD_BOGEY 1
8 #define AUD_BUMP 2
9 #define AUD_DOUBLE 3
10 #define AUD_EAGLE 4
11 #define AUD_JUMP 5
12 #define AUD_MENU 6
13 #define AUD_ONE 7
14 #define AUD_PAR 8
15 #define AUD_PENALTY 9
16 #define AUD_PLAYER1 10
17 #define AUD_PLAYER2 11
18 #define AUD_PLAYER3 12
19 #define AUD_PLAYER4 13
20 #define AUD_SUCCESS 14
21 #define AUD_COUNT 15
23 /*---------------------------------------------------------------------------*/
25 #ifdef _WIN32
26 #define AUD_BUFF_HI 4096
27 #define AUD_BUFF_LO 2048
28 #else
29 #define AUD_BUFF_HI 2048
30 #define AUD_BUFF_LO 1024
31 #endif
33 /*---------------------------------------------------------------------------*/
35 void audio_init(void);
36 void audio_play(int, float);
37 void audio_free(void);
39 void audio_music_play(const char *);
40 void audio_music_fade(float);
41 void audio_music_stop(void);
43 void audio_volume(int, int);
45 /*---------------------------------------------------------------------------*/
47 #endif