diff options
author | Chris Robinson <[email protected]> | 2009-04-12 16:01:10 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2009-04-12 16:01:10 -0700 |
commit | 55c790c9ff28acad5e5da365bee8a6f693d21796 (patch) | |
tree | 09d387064dc5beece6a9d8cfeb3b034c7f5ea0d3 /Alc/ALu.c | |
parent | 65b69f33085ac9381f683e92655acba0e4622675 (diff) |
Add the Echo effect
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r-- | Alc/ALu.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1383,6 +1383,8 @@ ALvoid aluMixData(ALCcontext *ALContext,ALvoid *buffer,ALsizei size,ALenum forma { if(ALEffectSlot->effect.type == AL_EFFECT_REVERB) VerbProcess(ALEffectSlot->ReverbState, SamplesToDo, ALEffectSlot->WetBuffer, DryBuffer); + else if(ALEffectSlot->effect.type == AL_EFFECT_ECHO) + EchoProcess(ALEffectSlot->EchoState, SamplesToDo, ALEffectSlot->WetBuffer, DryBuffer); for(i = 0;i < SamplesToDo;i++) ALEffectSlot->WetBuffer[i] = 0.0f; |