summaryrefslogtreecommitdiffstats
path: root/OpenAL32
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2010-04-08 14:47:12 -0700
committerChris Robinson <[email protected]>2010-04-08 14:47:12 -0700
commit37c93a6ad829e730a258aebaef8314fbe0edc767 (patch)
treeafc379d5d8c31532ba62f2a6b114df5b51014416 /OpenAL32
parent1b1c76da341f446f926ffad44a9f7d12a4f0f2d5 (diff)
Always mix internally at 8.1
The channels are remixed when writing to the output buffer. Stereo duplication is currently broken, but this can be restored later
Diffstat (limited to 'OpenAL32')
-rw-r--r--OpenAL32/Include/alMain.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h
index 617119ff..e5c1f63b 100644
--- a/OpenAL32/Include/alMain.h
+++ b/OpenAL32/Include/alMain.h
@@ -277,6 +277,8 @@ struct ALCdevice_struct
ALuint DevChannels[OUTPUTCHANNELS];
+ ALfloat ChannelMatrix[OUTPUTCHANNELS][OUTPUTCHANNELS];
+
// Contexts created on this device
ALCcontext **Contexts;
ALuint NumContexts;
@@ -325,8 +327,6 @@ struct ALCcontext_struct
ALfloat PanningLUT[OUTPUTCHANNELS * LUT_NUM];
ALint NumChan;
- ALfloat ChannelMatrix[OUTPUTCHANNELS][OUTPUTCHANNELS];
-
ALCdevice *Device;
const ALCchar *ExtensionList;