aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/alcReverb.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2013-05-21 07:10:24 -0700
committerChris Robinson <[email protected]>2013-05-21 07:10:24 -0700
commite4186f49039a17916dedaa536143761d0a6caa87 (patch)
tree4db81426d103111f53eae936e520d627e7916ccd /Alc/alcReverb.c
parent3ee0f8feb9a011eca3a76848f1ffb139c592f7b4 (diff)
Use a properly-defined history for the FILTER struct
Diffstat (limited to 'Alc/alcReverb.c')
-rw-r--r--Alc/alcReverb.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/Alc/alcReverb.c b/Alc/alcReverb.c
index 2bed00a5..01f4ab83 100644
--- a/Alc/alcReverb.c
+++ b/Alc/alcReverb.c
@@ -51,7 +51,6 @@ typedef struct ALreverbState {
// Master effect low-pass filter (2 chained 1-pole filters).
FILTER LpFilter;
- ALfloat LpHistory[2];
struct {
// Modulator delay line.
@@ -483,7 +482,7 @@ static __inline ALvoid VerbPass(ALreverbState *State, ALfloat in, ALfloat *RESTR
ALfloat feed, late[4], taps[4];
// Low-pass filter the incoming sample.
- in = lpFilter2P(&State->LpFilter, 0, in);
+ in = lpFilter2P(&State->LpFilter, in);
// Feed the initial delay line.
DelayLineIn(&State->Delay, State->Offset, in);
@@ -522,7 +521,7 @@ static __inline ALvoid EAXVerbPass(ALreverbState *State, ALfloat in, ALfloat *RE
ALfloat feed, taps[4];
// Low-pass filter the incoming sample.
- in = lpFilter2P(&State->LpFilter, 0, in);
+ in = lpFilter2P(&State->LpFilter, in);
// Perform any modulation on the input.
in = EAXModulation(State, in);