aboutsummaryrefslogtreecommitdiff
path: root/src/audio.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/audio.c')
-rw-r--r--src/audio.c34
1 files changed, 34 insertions, 0 deletions
diff --git a/src/audio.c b/src/audio.c
new file mode 100644
index 0000000..1e807b5
--- /dev/null
+++ b/src/audio.c
@@ -0,0 +1,34 @@
+/*
+ * audio.c
+ *
+ * Sound stuff
+ *
+ * (c) 2008 Thomas White <taw27@cam.ac.uk>
+ *
+ * thrust3d - a silly game
+ *
+ */
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+#include "types.h"
+
+/* OpenGL initial setup */
+AudioContext *audio_setup() {
+
+ AudioContext *ctx;
+
+ ctx = malloc(sizeof(AudioContext));
+ if ( ctx == NULL ) return NULL;
+
+
+ return ctx;
+
+}
+
+void audio_shutdown(AudioContext *ctx) {
+ free(ctx);
+}
+