aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALu.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2009-09-15 18:19:00 -0700
committerChris Robinson <[email protected]>2009-09-15 18:19:00 -0700
commit6636131d3bb52687229881d4d2343b5c464b5c81 (patch)
tree6a7b093f0a9edf563c3736a7c506a227f723b518 /Alc/ALu.c
parenteeea9631ce15d1bd239a837331658a2fb951f46f (diff)
Pass the frame count to aluMixData
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r--Alc/ALu.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/Alc/ALu.c b/Alc/ALu.c
index a2080f58..509929b7 100644
--- a/Alc/ALu.c
+++ b/Alc/ALu.c
@@ -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 */