diff options
author | Chris Robinson <[email protected]> | 2016-03-03 01:41:42 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2016-03-03 01:41:42 -0800 |
commit | 4e3fdf9f5d79b45915ea773bf9e70ccfcc3799f6 (patch) | |
tree | 9e14fc37d3e886d9eb0ccfe09e76301f83500244 /Alc/effects | |
parent | 457c34c18965611b7b33bc62345e3e74142ec0dd (diff) |
Fix reverb with UHJ encoding
Diffstat (limited to 'Alc/effects')
-rw-r--r-- | Alc/effects/reverb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/effects/reverb.c b/Alc/effects/reverb.c index 7bbdb8a7..995ad6a5 100644 --- a/Alc/effects/reverb.c +++ b/Alc/effects/reverb.c @@ -364,7 +364,7 @@ static ALboolean ALreverbState_deviceUpdate(ALreverbState *State, ALCdevice *Dev if(!AllocLines(frequency, State)) return AL_FALSE; - State->ExtraChannels = (Device->Hrtf ? 2 : 0); + State->ExtraChannels = (Device->Hrtf || Device->Uhj_Encoder) ? 2 : 0; // Calculate the modulation filter coefficient. Notice that the exponent // is calculated given the current sample rate. This ensures that the |