From 5d7815beed9c03122a585700eb27c04ece31f660 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Tue, 27 Apr 2010 11:39:54 -0700 Subject: Only apply ambient gain to available output channels --- OpenAL32/Include/alMain.h | 1 + 1 file changed, 1 insertion(+) (limited to 'OpenAL32/Include/alMain.h') 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; -- cgit v1.2.3