aboutsummaryrefslogtreecommitdiff
path: root/src/types.h
diff options
context:
space:
mode:
authortaw27 <taw27@84d2e878-0bd5-11dd-ad15-13eda11d74c5>2008-06-29 13:14:01 +0000
committertaw27 <taw27@84d2e878-0bd5-11dd-ad15-13eda11d74c5>2008-06-29 13:14:01 +0000
commit570900e819a69a5c522640f2ec48e3802ce4fda9 (patch)
treee56aa87e5f1b4bd96145bfac772a77ce0adc425a /src/types.h
parentd59df6ab625af566cf7efb44f374c95c48c809a5 (diff)
Audio stuff (broken)
git-svn-id: svn://cook.msm.cam.ac.uk:745/thrust3d/thrust3d@110 84d2e878-0bd5-11dd-ad15-13eda11d74c5
Diffstat (limited to 'src/types.h')
-rw-r--r--src/types.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/types.h b/src/types.h
index 5b4b0a6..8dcdc44 100644
--- a/src/types.h
+++ b/src/types.h
@@ -147,11 +147,12 @@ typedef struct {
typedef struct {
struct sound {
- Uint8 *data;
+ Sint16 *data;
int dpos;
int dlen;
int inuse;
int repeat;
+ float volume;
} sounds[AUDIO_MAX_SOUNDS];
} AudioContext;