Avoid taking the square-root of the ambient gain
commita77387b5490e8f40c682118c2a1c192cddc06939
authorChris Robinson <chris.kcat@gmail.com>
Sat, 11 Oct 2014 16:35:32 +0000 (11 09:35 -0700)
committerChris Robinson <chris.kcat@gmail.com>
Sat, 11 Oct 2014 16:35:32 +0000 (11 09:35 -0700)
tree5a6dcf4784f59c7968fc3a7b502bfcb98d1624d3
parent79163b075517c88c86c8f63f32669c75f2c66404
Avoid taking the square-root of the ambient gain

Although it is more correct for preserving the apparent volume, the ambisonics-
based panning does not work on the same power scale, making it louder by
comparison.
Alc/ALu.c
Alc/effects/autowah.c
Alc/effects/compressor.c
Alc/effects/distortion.c
Alc/effects/equalizer.c
Alc/effects/modulator.c
Alc/effects/reverb.c