diff options
Diffstat (limited to 'sound.h')
-rw-r--r-- | sound.h | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -0,0 +1,16 @@ +#ifndef sound_h +#define sound_h + +typedef enum { + song_menu, + song_main, + song_win, + song_dead +} Song; + +void init_sound(); +void sound_mix(unsigned char* stream, int len); +void set_song(Song song); +void play_beep(int pitch, int length); + +#endif |