aboutsummaryrefslogtreecommitdiff
path: root/src/audio.h
blob: fc90980b74a745302944ba8d5328201257ad88c3 (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
/*
 * 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);
extern void audio_pause(AudioContext *a);
extern void audio_unpause(AudioContext *a);

#endif	/* AUDIO_H */