aboutsummaryrefslogtreecommitdiff
path: root/src/audio.h
blob: 0e159a5337fcd7bd1d370bb9ab72da900b395e67 (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, int no_music);
extern void audio_shutdown(AudioContext *ctx);
extern void audio_play(AudioContext *a, char *name, float volume, int repeat);

#endif	/* AUDIO_H */