diff options
Diffstat (limited to 'alc/alc.cpp')
-rw-r--r-- | alc/alc.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/alc/alc.cpp b/alc/alc.cpp index 4992236a..bdd6a9ae 100644 --- a/alc/alc.cpp +++ b/alc/alc.cpp @@ -2325,8 +2325,7 @@ static ALCenum UpdateDeviceParams(ALCdevice *device, const ALCint *attrList) voice->mStep = 0; voice->mFlags |= VOICE_IS_FADING; - if((voice->mFmtChannels == FmtBFormat2D || voice->mFmtChannels == FmtBFormat3D) - && device->mAmbiOrder > voice->mAmbiOrder) + if(voice->mAmbiOrder && device->mAmbiOrder > voice->mAmbiOrder) { const uint8_t *OrderFromChan{(voice->mFmtChannels == FmtBFormat2D) ? AmbiIndex::OrderFrom2DChannel.data() : |