aboutsummaryrefslogtreecommitdiff
path: root/src/audio.h
blob: e7a5d735f3bcb82095229216cdf9f5883e7c2b88 (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
/*
 * audio.h
 *
 * Sound stuff
 *
 * (c) 2008 Thomas White <taw27@cam.ac.uk>
 *
 *  thrust3d - a silly game
 *
 */

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#ifndef AUDIO_H
#define AUDIO_H

#include "types.h"

extern AudioContext *audio_setup(int debug);
extern void audio_shutdown(AudioContext *ctx);
extern void audio_play(AudioContext *a, char *name, float volume, int repeat);

#endif	/* AUDIO_H */