diff options
Diffstat (limited to 'OpenAL32')
-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); |