diff options
author | Chris Robinson <[email protected]> | 2016-08-24 00:25:28 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2016-08-24 00:25:28 -0700 |
commit | 8bf4a22876c30c16db71cd9063b9788c5e6a1aa8 (patch) | |
tree | 56d971457f23a819f8a7d051ca5d8925e3bcfe2f /Alc/effects/reverb.c | |
parent | e77de8b12a01bc9385ec0b7b528274b799bac81e (diff) |
Combine related members into a struct
Diffstat (limited to 'Alc/effects/reverb.c')
-rw-r--r-- | Alc/effects/reverb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/effects/reverb.c b/Alc/effects/reverb.c index 71c39f8c..e6a9e05a 100644 --- a/Alc/effects/reverb.c +++ b/Alc/effects/reverb.c @@ -391,7 +391,7 @@ static ALboolean ALreverbState_deviceUpdate(ALreverbState *State, ALCdevice *Dev return AL_FALSE; /* HRTF and UHJ will mix to the real output for ambient output. */ - if(Device->Hrtf || Device->Uhj_Encoder) + if(Device->Hrtf.Handle || Device->Uhj_Encoder) { State->ExtraOut = Device->RealOut.Buffer; State->ExtraChannels = Device->RealOut.NumChannels; @@ -956,7 +956,7 @@ static ALvoid ALreverbState_update(ALreverbState *State, const ALCdevice *Device gain = props->Reverb.Gain * Slot->Params.Gain * ReverbBoost; // Update early and late 3D panning. - if(Device->Hrtf || Device->Uhj_Encoder) + if(Device->Hrtf.Handle || Device->Uhj_Encoder) UpdateMixedPanning(Device, props->Reverb.ReflectionsPan, props->Reverb.LateReverbPan, gain, props->Reverb.ReflectionsGain, |