diff options
author | Chris Robinson <[email protected]> | 2021-03-31 20:46:03 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2021-03-31 21:02:30 -0700 |
commit | f33edc3b30ee2975464b308f800f6918c0362283 (patch) | |
tree | 285ba54c9c791d596e880f3b3a4ebfb2ddbe87b5 /alc/effects/convolution.cpp | |
parent | b5e36007f136f817e6d14685377e781e224daf17 (diff) |
Add support for 4-channel UHJ
Also add the SOFT moniker to the new macros
Diffstat (limited to 'alc/effects/convolution.cpp')
-rw-r--r-- | alc/effects/convolution.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/alc/effects/convolution.cpp b/alc/effects/convolution.cpp index 1ee59604..5bb52656 100644 --- a/alc/effects/convolution.cpp +++ b/alc/effects/convolution.cpp @@ -382,7 +382,7 @@ void ConvolutionState::update(const ALCcontext *context, const EffectSlot *slot, * Not that UHJ should really ever be used for convolution, but it's a * valid format regardless. */ - if((mChannels == FmtUHJ2 || mChannels == FmtUHJ3) && target.RealOut + if((mChannels == FmtUHJ2 || mChannels == FmtUHJ3 || mChannels == FmtUHJ4) && target.RealOut && target.RealOut->ChannelIndex[FrontLeft] != INVALID_CHANNEL_INDEX && target.RealOut->ChannelIndex[FrontRight] != INVALID_CHANNEL_INDEX) { @@ -436,6 +436,7 @@ void ConvolutionState::update(const ALCcontext *context, const EffectSlot *slot, case FmtBFormat3D: case FmtUHJ2: case FmtUHJ3: + case FmtUHJ4: break; } |