Simplify a format check
This commit is contained in:
parent
d253719ead
commit
0c5985374a
@ -961,9 +961,8 @@ static ALvoid ALreverbState_update(ALreverbState *State, const ALCdevice *Device
|
||||
props->Reverb.LateReverbPan, gain,
|
||||
props->Reverb.ReflectionsGain,
|
||||
props->Reverb.LateReverbGain, State);
|
||||
else if(Device->FmtChans == DevFmtBFormat3D || Device->FmtChans == DevFmtAmbi1 ||
|
||||
Device->FmtChans == DevFmtAmbi2 || Device->FmtChans == DevFmtAmbi3 ||
|
||||
Device->AmbiDecoder)
|
||||
else if(Device->AmbiDecoder || (Device->FmtChans >= DevFmtBFormat3D &&
|
||||
Device->FmtChans <= DevFmtAmbi3))
|
||||
Update3DPanning(Device, props->Reverb.ReflectionsPan,
|
||||
props->Reverb.LateReverbPan, gain,
|
||||
props->Reverb.ReflectionsGain,
|
||||
|
Loading…
x
Reference in New Issue
Block a user