aboutsummaryrefslogtreecommitdiff
path: root/sound.h
diff options
context:
space:
mode:
Diffstat (limited to 'sound.h')
-rw-r--r--sound.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/sound.h b/sound.h
new file mode 100644
index 0000000..bde891b
--- /dev/null
+++ b/sound.h
@@ -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