aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALu.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r--Alc/ALu.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/Alc/ALu.c b/Alc/ALu.c
index 25626320..e053b837 100644
--- a/Alc/ALu.c
+++ b/Alc/ALu.c
@@ -1633,14 +1633,6 @@ void aluMixData(ALCdevice *device, ALvoid *buffer, ALsizei size)
{
const struct ALeffectslotArray *auxslots;
- if(ctx->DefaultSlot != NULL)
- {
- ALeffectslot *slot = ctx->DefaultSlot;
- CalcEffectSlotParams(slot, device);
- for(c = 0;c < slot->NumChannels;c++)
- memset(slot->WetBuffer[c], 0, SamplesToDo*sizeof(ALfloat));
- }
-
auxslots = ATOMIC_LOAD(&ctx->ActiveAuxSlots, almemory_order_acquire);
UpdateContextSources(ctx, auxslots);
@@ -1676,14 +1668,6 @@ void aluMixData(ALCdevice *device, ALvoid *buffer, ALsizei size)
state->OutChannels);
}
- if(ctx->DefaultSlot != NULL)
- {
- const ALeffectslot *slot = ctx->DefaultSlot;
- ALeffectState *state = slot->Params.EffectState;
- V(state,process)(SamplesToDo, slot->WetBuffer, state->OutBuffer,
- state->OutChannels);
- }
-
ctx = ctx->next;
}