From 4e3fdf9f5d79b45915ea773bf9e70ccfcc3799f6 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Thu, 3 Mar 2016 01:41:42 -0800 Subject: Fix reverb with UHJ encoding --- Alc/effects/reverb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3