diff options
author | Chris Robinson <[email protected]> | 2018-04-04 18:07:46 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-04-04 18:07:46 -0700 |
commit | 9c5307a48a58959a564be1999b119a87b7cdb8e0 (patch) | |
tree | 84842432f646d1ce059ba67293b4edd0fc0bd798 /Alc/effects/modulator.c | |
parent | b1fe40586192dc15f92d0476c85e9f9daa2a31f0 (diff) |
Rename BiquadState to BiquadFilter
Diffstat (limited to 'Alc/effects/modulator.c')
-rw-r--r-- | Alc/effects/modulator.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Alc/effects/modulator.c b/Alc/effects/modulator.c index 7deb648d..f97f7572 100644 --- a/Alc/effects/modulator.c +++ b/Alc/effects/modulator.c @@ -43,7 +43,7 @@ typedef struct ALmodulatorState { alignas(16) ALfloat ModSamples[MAX_UPDATE_SAMPLES]; struct { - BiquadState Filter; + BiquadFilter Filter; ALfloat CurrentGains[MAX_OUTPUT_CHANNELS]; ALfloat TargetGains[MAX_OUTPUT_CHANNELS]; @@ -117,7 +117,7 @@ static ALboolean ALmodulatorState_deviceUpdate(ALmodulatorState *state, ALCdevic ALsizei i, j; for(i = 0;i < MAX_EFFECT_CHANNELS;i++) { - BiquadState_clear(&state->Chans[i].Filter); + BiquadFilter_clear(&state->Chans[i].Filter); for(j = 0;j < MAX_OUTPUT_CHANNELS;j++) state->Chans[i].CurrentGains[j] = 0.0f; } @@ -151,7 +151,7 @@ static ALvoid ALmodulatorState_update(ALmodulatorState *state, const ALCcontext state->Chans[0].Filter.a1 = -a; state->Chans[0].Filter.a2 = 0.0f; for(i = 1;i < MAX_EFFECT_CHANNELS;i++) - BiquadState_copyParams(&state->Chans[i].Filter, &state->Chans[0].Filter); + BiquadFilter_copyParams(&state->Chans[i].Filter, &state->Chans[0].Filter); STATIC_CAST(ALeffectState,state)->OutBuffer = device->FOAOut.Buffer; STATIC_CAST(ALeffectState,state)->OutChannels = device->FOAOut.NumChannels; @@ -178,7 +178,7 @@ static ALvoid ALmodulatorState_process(ALmodulatorState *state, ALsizei SamplesT for(c = 0;c < MAX_EFFECT_CHANNELS;c++) { - BiquadState_process(&state->Chans[c].Filter, temps[0], &SamplesIn[c][base], td); + BiquadFilter_process(&state->Chans[c].Filter, temps[0], &SamplesIn[c][base], td); for(i = 0;i < td;i++) temps[1][i] = temps[0][i] * modsamples[i]; |