diff options
author | Chris Robinson <[email protected]> | 2010-04-08 15:58:11 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2010-04-08 15:58:11 -0700 |
commit | aace50ebf4c97f62adceef88e42babf524ff2e28 (patch) | |
tree | f09447f00c95244b0888fc59ba007724078d6910 /OpenAL32/Include | |
parent | 49201e892b00b2cf7cfbce330da5d8e34ac98560 (diff) |
Store the panning LUT in the device
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r-- | OpenAL32/Include/alMain.h | 6 | ||||
-rw-r--r-- | OpenAL32/Include/alu.h | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index e5c1f63b..c7f4bd72 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -279,6 +279,9 @@ struct ALCdevice_struct ALfloat ChannelMatrix[OUTPUTCHANNELS][OUTPUTCHANNELS]; + ALfloat PanningLUT[OUTPUTCHANNELS * LUT_NUM]; + ALuint NumChan; + // Contexts created on this device ALCcontext **Contexts; ALuint NumContexts; @@ -324,9 +327,6 @@ struct ALCcontext_struct ALfloat DopplerVelocity; ALfloat flSpeedOfSound; - ALfloat PanningLUT[OUTPUTCHANNELS * LUT_NUM]; - ALint NumChan; - ALCdevice *Device; const ALCchar *ExtensionList; diff --git a/OpenAL32/Include/alu.h b/OpenAL32/Include/alu.h index fe641090..32b411d5 100644 --- a/OpenAL32/Include/alu.h +++ b/OpenAL32/Include/alu.h @@ -175,7 +175,7 @@ static __inline ALint aluCart2LUTpos(ALfloat re, ALfloat im) return pos%LUT_NUM; } -ALvoid aluInitPanning(ALCcontext *Context); +ALvoid aluInitPanning(ALCdevice *Device); ALvoid aluMixData(ALCdevice *device, ALvoid *buffer, ALsizei size); ALvoid aluHandleDisconnect(ALCdevice *device); |