diff options
author | Chris Robinson <[email protected]> | 2007-12-31 03:45:26 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2007-12-31 03:45:26 -0800 |
commit | 1cbd625b4e88a75deafbed3d30b7e7068ec819c0 (patch) | |
tree | 54e51cb47636b0886e745573c306e9142233afc3 | |
parent | 73678f3b78a54d0dcc43abbd168ede2fd58bb205 (diff) |
Disable unnecessary calculations
-rw-r--r-- | Alc/ALu.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -578,15 +578,19 @@ ALvoid aluMixData(ALCcontext *ALContext,ALvoid *buffer,ALsizei size,ALenum forma //Direct path final mix buffer and panning DryBuffer[j][FRONT_LEFT] += value*DrySend[FRONT_LEFT]; DryBuffer[j][FRONT_RIGHT] += value*DrySend[FRONT_RIGHT]; +#if 0 /* FIXME: Re-enable when proper 6-channel spatialization is used */ DryBuffer[j][SIDE_LEFT] += value*DrySend[SIDE_LEFT]; DryBuffer[j][SIDE_RIGHT] += value*DrySend[SIDE_RIGHT]; +#endif DryBuffer[j][BACK_LEFT] += value*DrySend[BACK_LEFT]; DryBuffer[j][BACK_RIGHT] += value*DrySend[BACK_RIGHT]; //Room path final mix buffer and panning WetBuffer[j][FRONT_LEFT] += value*WetSend[FRONT_LEFT]; WetBuffer[j][FRONT_RIGHT] += value*WetSend[FRONT_RIGHT]; +#if 0 /* FIXME: Re-enable when proper 6-channel spatialization is used */ WetBuffer[j][SIDE_LEFT] += value*WetSend[SIDE_LEFT]; WetBuffer[j][SIDE_RIGHT] += value*WetSend[SIDE_RIGHT]; +#endif WetBuffer[j][BACK_LEFT] += value*WetSend[BACK_LEFT]; WetBuffer[j][BACK_RIGHT] += value*WetSend[BACK_RIGHT]; } |