diff options
author | Chris Robinson <[email protected]> | 2009-09-15 18:19:00 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2009-09-15 18:19:00 -0700 |
commit | 6636131d3bb52687229881d4d2343b5c464b5c81 (patch) | |
tree | 6a7b093f0a9edf563c3736a7c506a227f723b518 /Alc/ALu.c | |
parent | eeea9631ce15d1bd239a837331658a2fb951f46f (diff) |
Pass the frame count to aluMixData
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r-- | Alc/ALu.c | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -1205,7 +1205,6 @@ ALvoid aluMixData(ALCcontext *ALContext,ALvoid *buffer,ALsizei size,ALenum forma static float DryBuffer[BUFFERSIZE][OUTPUTCHANNELS]; ALuint SamplesToDo; ALeffectslot *ALEffectSlot; - ALuint BlockAlign; int fpuState; ALuint i; @@ -1221,11 +1220,6 @@ ALvoid aluMixData(ALCcontext *ALContext,ALvoid *buffer,ALsizei size,ALenum forma (void)fpuState; #endif - /* Figure output format variables */ - BlockAlign = aluChannelsFromFormat(format); - BlockAlign *= aluBytesFromFormat(format); - - size /= BlockAlign; while(size > 0) { /* Setup variables */ |