diff options
author | Chris Robinson <[email protected]> | 2012-10-10 04:08:35 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2012-10-10 04:08:35 -0700 |
commit | 99fcd6f816c125ebb45905f4adf7a423e860e561 (patch) | |
tree | a8ec612bc77e86585f1697530482666f5ff0b0ad /Alc | |
parent | 513c6db0d5df12cd36d0fff6e3d013248bc39732 (diff) |
Properly scale wide-stereo sources
Diffstat (limited to 'Alc')
-rw-r--r-- | Alc/ALu.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -339,7 +339,7 @@ ALvoid CalcNonAttnSourceParams(ALsource *ALSource, const ALCcontext *ALContext) } else { - DryGain *= lerp(1.0f, 1.0f/sqrtf(Device->NumChan), hwidth/(F_PI*2.0f)); + DryGain *= lerp(1.0f, 1.0f/sqrtf(Device->NumChan), hwidth/F_PI); for(c = 0;c < num_channels;c++) { /* Special-case LFE */ |