diff options
author | Chris Robinson <[email protected]> | 2012-04-28 03:58:58 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2012-04-28 03:58:58 -0700 |
commit | 267d38cf2057bb78f5d03c7f923573d1da2c84be (patch) | |
tree | c7a851382adfa24370ae916d3e16fb0c75bfb627 /Alc/alcDedicated.c | |
parent | 26456f13e19dd15bdb9e56f85660568707817a7e (diff) |
Flip the parameters to aluCart2LUTpos, so it behaves a bit more like atan2
Diffstat (limited to 'Alc/alcDedicated.c')
-rw-r--r-- | Alc/alcDedicated.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/alcDedicated.c b/Alc/alcDedicated.c index 5bd22a72..9f331e8e 100644 --- a/Alc/alcDedicated.c +++ b/Alc/alcDedicated.c @@ -64,7 +64,7 @@ static ALvoid DedicatedUpdate(ALeffectState *effect, ALCdevice *device, const AL if(Slot->effect.type == AL_EFFECT_DEDICATED_DIALOGUE) { - pos = aluCart2LUTpos(1.0f, 0.0f); + pos = aluCart2LUTpos(0.0f, 1.0f); ChannelGain = device->PanningLUT[pos]; for(s = 0;s < MAXCHANNELS;s++) |