Search
lxdream.org :: lxdream/src/aica/audio.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/aica/audio.h
changeset 1089:a3984d242909
prev1024:c67f2d61ab97
next1296:30ecee61f811
author nkeynes
date Mon Dec 07 08:59:50 2009 +1000 (11 years ago)
permissions -rw-r--r--
last change Mask audio RAM accesses from the mixer to ensure they're in bounds. Uncertain if
this is correct (vs eg zero-fill), but it's at least consistent with the masking
of the channel start position.
file annotate diff log raw
1.1 --- a/src/aica/audio.h Sat Jun 13 00:50:48 2009 +0000
1.2 +++ b/src/aica/audio.h Mon Dec 07 08:59:50 2009 +1000
1.3 @@ -43,6 +43,7 @@
1.4
1.5 #define AUDIO_FMT_16ST (AUDIO_FMT_16BIT|AUDIO_FMT_STEREO)
1.6 #define AUDIO_FMT_FLOATST (AUDIO_FMT_FLOAT|AUDIO_FMT_STEREO)
1.7 +#define AUDIO_MEM_MASK 0x1FFFFF
1.8
1.9 #define DEFAULT_SAMPLE_RATE 44100
1.10 #define DEFAULT_SAMPLE_FORMAT AUDIO_FMT_16ST
.