From 7da2eea8f073aa63d2ef0dfb995510af3463c097 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sat, 28 May 2011 19:35:32 -0700 Subject: Add a 5.1 device format that uses side channels instead of back --- OpenAL32/Include/alMain.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'OpenAL32') diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index 82d17b63..9d0ee4f9 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -419,7 +419,10 @@ enum DevFmtChannels { DevFmtQuad = AL_QUAD, DevFmtX51 = AL_5POINT1, DevFmtX61 = AL_6POINT1, - DevFmtX71 = AL_7POINT1 + DevFmtX71 = AL_7POINT1, + + /* Similar to 5.1, except using the side channels instead of back */ + DevFmtX51Side = 0x80000000 | AL_5POINT1 }; ALuint BytesFromDevFmt(enum DevFmtType type); -- cgit v1.2.3