aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2010-04-27 11:39:54 -0700
committerChris Robinson <[email protected]>2010-04-27 11:39:54 -0700
commit5d7815beed9c03122a585700eb27c04ece31f660 (patch)
tree8713458205123359a14d47c866486734f3402df6 /OpenAL32
parenta0ee2ccce7730bfc4fe1f36107558339e606ade0 (diff)
Only apply ambient gain to available output channels
Diffstat (limited to 'OpenAL32')
-rw-r--r--OpenAL32/Include/alMain.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h
index 992ccfec..27c1f981 100644
--- a/OpenAL32/Include/alMain.h
+++ b/OpenAL32/Include/alMain.h
@@ -282,6 +282,7 @@ struct ALCdevice_struct
ALfloat ChannelMatrix[OUTPUTCHANNELS][OUTPUTCHANNELS];
+ Channel Speaker2Chan[OUTPUTCHANNELS];
ALfloat PanningLUT[OUTPUTCHANNELS * LUT_NUM];
ALuint NumChan;