diff options
author | Chris Robinson <[email protected]> | 2007-12-31 19:40:24 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2007-12-31 19:40:24 -0800 |
commit | 4e2f8e305ec9d738c04aa07dc20e79c2672ec455 (patch) | |
tree | 2ff211ac8e6fec4790163fa55c3be88185c4eb25 | |
parent | 3d78d93b4033ea94d38981e75f10c6dee5264860 (diff) |
Fix wet volumes for multichannel path
-rw-r--r-- | Alc/ALu.c | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -559,6 +559,17 @@ static ALvoid CalcSourceParams(ALCcontext *ALContext, ALsource *ALSource, wetsend[BACK_RIGHT] = SourceVolume * 0.0f * ListenerGain; wetsend[CENTER] = SourceVolume * 0.0f * ListenerGain; wetsend[LFE] = SourceVolume * 0.0f * ListenerGain; + } + else + { + wetsend[FRONT_LEFT] = 0.0f; + wetsend[FRONT_RIGHT] = 0.0f; + wetsend[SIDE_LEFT] = 0.0f; + wetsend[SIDE_RIGHT] = 0.0f; + wetsend[BACK_LEFT] = 0.0f; + wetsend[BACK_RIGHT] = 0.0f; + wetsend[CENTER] = 0.0f; + wetsend[LFE] = 0.0f; *wetgainhf = 1.0f; } |