Support for SDL_mixer and SDL_image on win32
[tennix.git] / sound.h
blobff248bc6015ce1d09f85cbb3f03f8ab0a64cd3ae
1 #ifndef __SOUND_H
2 #define __SOUND_H
4 #include <SDL/SDL_mixer.h>
6 #define FADE_OUT_MS 1000
8 enum {
9 CH_RACKET = 0,
10 CH_GROUND,
11 CH_AUDIENCE,
12 CH_APPLAUSE,
13 CH_MAX,
16 void init_sound();
17 void play_sample( const char*, unsigned char, int);
18 void fade_out( unsigned char);
20 void sound_ground();
21 void sound_racket( unsigned char);
22 void sound_audience();
23 void sound_applause();
24 void sound_applause_stop();
26 #endif