aboutsummaryrefslogtreecommitdiff
path: root/sound.h
blob: bde891b0cc98376e1e13b333d8785f3c2528a8f7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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