aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALu.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2009-10-09 01:06:33 -0700
committerChris Robinson <[email protected]>2009-10-09 01:06:33 -0700
commitc7c4cf221a9933d385646ed12fd4b1d611632502 (patch)
treedcb706901304c0c395a0cdc04b9a653c9c63b0f6 /Alc/ALu.c
parentd6e439244ae00a1750f0dc8b249f47efb4967a23 (diff)
Make the dry buffer part of the device
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r--Alc/ALu.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Alc/ALu.c b/Alc/ALu.c
index c5d25346..04562b54 100644
--- a/Alc/ALu.c
+++ b/Alc/ALu.c
@@ -1196,7 +1196,7 @@ another_source:
ALvoid aluMixData(ALCdevice *device, ALvoid *buffer, ALsizei size)
{
- static float DryBuffer[BUFFERSIZE][OUTPUTCHANNELS];
+ float (*DryBuffer)[OUTPUTCHANNELS];
ALuint SamplesToDo;
ALeffectslot *ALEffectSlot;
ALCcontext *ALContext;
@@ -1215,6 +1215,7 @@ ALvoid aluMixData(ALCdevice *device, ALvoid *buffer, ALsizei size)
(void)fpuState;
#endif
+ DryBuffer = device->DryBuffer;
while(size > 0)
{
/* Setup variables */