aboutsummaryrefslogtreecommitdiff
path: root/src/audio.c
blob: 1e807b5528cb056a65ed7f505e910e3af6eea4ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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);
}