aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include/alMain.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2007-12-26 23:01:22 -0800
committerChris Robinson <[email protected]>2007-12-26 23:01:22 -0800
commitab8d342df06fdfcc1b630e318e121bcfb6a1cdfa (patch)
tree008d2c40263ff43ac361fece98e99384d3ba9246 /OpenAL32/Include/alMain.h
parentdcac0de44ce1856fea0ff2d8d71feb2346aa911c (diff)
Allow 5.1 channel output
This doesn't use the center or LFE channel in spatial calculations, however
Diffstat (limited to 'OpenAL32/Include/alMain.h')
-rw-r--r--OpenAL32/Include/alMain.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h
index 1f62b535..30dd068f 100644
--- a/OpenAL32/Include/alMain.h
+++ b/OpenAL32/Include/alMain.h
@@ -92,9 +92,11 @@ extern char _alDebug[256];
#define AL_FORMAT_MONO_IMA4 0x1300
#define AL_FORMAT_STEREO_IMA4 0x1301
// These are from AL_EXT_MCFORMATS, which we don't support yet but the mixer
-// can use 4-channel formats
+// can use the extra formats
#define AL_FORMAT_QUAD8 0x1204
#define AL_FORMAT_QUAD16 0x1205
+#define AL_FORMAT_51CHN8 0x120A
+#define AL_FORMAT_51CHN16 0x120B
#define SWMIXER_OUTPUT_RATE 44100
//#define OUTPUT_BUFFER_SIZE (32768*SWMIXER_OUTPUT_RATE/22050)