diff options
author | Chris Robinson <[email protected]> | 2009-10-09 01:06:33 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2009-10-09 01:06:33 -0700 |
commit | c7c4cf221a9933d385646ed12fd4b1d611632502 (patch) | |
tree | dcb706901304c0c395a0cdc04b9a653c9c63b0f6 /Alc/ALu.c | |
parent | d6e439244ae00a1750f0dc8b249f47efb4967a23 (diff) |
Make the dry buffer part of the device
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r-- | Alc/ALu.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 */ |