diff options
author | Chris Robinson <[email protected]> | 2011-05-28 19:35:32 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2011-05-28 19:35:32 -0700 |
commit | 7da2eea8f073aa63d2ef0dfb995510af3463c097 (patch) | |
tree | a70b139a5d252a6b3c17d3542e7a594402d2796f /OpenAL32/Include | |
parent | 596a1af7d97d9ca34bad6bd1b64296d97a94c864 (diff) |
Add a 5.1 device format that uses side channels instead of back
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r-- | OpenAL32/Include/alMain.h | 5 |
1 files changed, 4 insertions, 1 deletions
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); |