diff options
author | Chris Robinson <[email protected]> | 2021-12-12 15:53:53 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2021-12-12 15:53:53 -0800 |
commit | 953745d38643b62dd10ba6d8c1e2e4c7fa20eb30 (patch) | |
tree | 1b6ced2e22f166513b4c9dbc8b9f53dd46541b98 /alc/effects/convolution.cpp | |
parent | 5e3fcb3a934844f1d70aa23a8a871a6915565ed2 (diff) |
Make an inline function to check for 2D ambisonic formats
Diffstat (limited to 'alc/effects/convolution.cpp')
-rw-r--r-- | alc/effects/convolution.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alc/effects/convolution.cpp b/alc/effects/convolution.cpp index a1d49be4..5724badb 100644 --- a/alc/effects/convolution.cpp +++ b/alc/effects/convolution.cpp @@ -410,7 +410,7 @@ void ConvolutionState::update(const ContextBase *context, const EffectSlot *slot (*mChans)[0].Target[lidx] = gain; (*mChans)[1].Target[ridx] = gain; } - else if(mChannels == FmtBFormat3D || mChannels == FmtBFormat2D) + else if(IsBFormat(mChannels)) { DeviceBase *device{context->mDevice}; if(device->mAmbiOrder > mAmbiOrder) |