diff options
-rw-r--r-- | Alc/alu.cpp | 4 | ||||
-rw-r--r-- | OpenAL32/Include/alAuxEffectSlot.h | 1 |
2 files changed, 2 insertions, 3 deletions
diff --git a/Alc/alu.cpp b/Alc/alu.cpp index 95889626..f835f9fd 100644 --- a/Alc/alu.cpp +++ b/Alc/alu.cpp @@ -449,12 +449,12 @@ bool CalcEffectSlotParams(ALeffectslot *slot, ALCcontext *context, bool force) params.Buffer = &reinterpret_cast<ALfloat(&)[BUFFERSIZE]>(target->WetBuffer[0]); params.NumChannels = target->WetBuffer.size(); - output = EffectTarget{¶ms, ¶ms, nullptr}; + output = EffectTarget{¶ms, nullptr}; } else { ALCdevice *device{context->Device}; - output = EffectTarget{&device->Dry, &device->FOAOut, &device->RealOut}; + output = EffectTarget{&device->Dry, &device->RealOut}; } state->update(context, slot, &slot->Params.EffectProps, output); return true; diff --git a/OpenAL32/Include/alAuxEffectSlot.h b/OpenAL32/Include/alAuxEffectSlot.h index 7360d264..69ebdc43 100644 --- a/OpenAL32/Include/alAuxEffectSlot.h +++ b/OpenAL32/Include/alAuxEffectSlot.h @@ -15,7 +15,6 @@ struct ALeffectslot; struct EffectTarget { MixParams *Main; - MixParams *FOAOut; RealMixParams *RealOut; }; |