diff options
author | Chris Robinson <[email protected]> | 2013-10-06 09:23:53 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2013-10-06 09:33:02 -0700 |
commit | 8448b94c0bf3f0ddbd040b25a68ff0ca2dcc37bd (patch) | |
tree | 0486774d9f9803f17d374fa43e97b008002598cd /Alc | |
parent | 9ee3d01f6ed5748ef88a4b5992cd6be48afaf3b8 (diff) |
Rename Filter param member to LpFilter
Diffstat (limited to 'Alc')
-rw-r--r-- | Alc/ALu.c | 8 | ||||
-rw-r--r-- | Alc/mixer.c | 4 |
2 files changed, 6 insertions, 6 deletions
@@ -449,7 +449,7 @@ ALvoid CalcNonAttnSourceParams(ALsource *ALSource, const ALCcontext *ALContext) { ALfloat gain = maxf(0.01f, DryGainHF); for(c = 0;c < num_channels;c++) - ALfilterState_setParams(&ALSource->Params.Direct.Filter[c], + ALfilterState_setParams(&ALSource->Params.Direct.LpFilter[c], ALfilterType_HighShelf, gain, (ALfloat)LOWPASSFREQREF/Frequency, 0.0f); } @@ -457,7 +457,7 @@ ALvoid CalcNonAttnSourceParams(ALsource *ALSource, const ALCcontext *ALContext) { ALfloat gain = maxf(0.01f, WetGainHF[i]); for(c = 0;c < num_channels;c++) - ALfilterState_setParams(&ALSource->Params.Send[i].Filter[c], + ALfilterState_setParams(&ALSource->Params.Send[i].LpFilter[c], ALfilterType_HighShelf, gain, (ALfloat)LOWPASSFREQREF/Frequency, 0.0f); } @@ -893,14 +893,14 @@ ALvoid CalcSourceParams(ALsource *ALSource, const ALCcontext *ALContext) { ALfloat gain = maxf(0.01f, DryGainHF); - ALfilterState_setParams(&ALSource->Params.Direct.Filter[0], + ALfilterState_setParams(&ALSource->Params.Direct.LpFilter[0], ALfilterType_HighShelf, gain, (ALfloat)LOWPASSFREQREF/Frequency, 0.0f); } for(i = 0;i < NumSends;i++) { ALfloat gain = maxf(0.01f, WetGainHF[i]); - ALfilterState_setParams(&ALSource->Params.Send[i].Filter[0], + ALfilterState_setParams(&ALSource->Params.Send[i].LpFilter[0], ALfilterType_HighShelf, gain, (ALfloat)LOWPASSFREQREF/Frequency, 0.0f); } diff --git a/Alc/mixer.c b/Alc/mixer.c index 0dafe874..3039f29f 100644 --- a/Alc/mixer.c +++ b/Alc/mixer.c @@ -328,7 +328,7 @@ ALvoid MixSource(ALsource *Source, ALCdevice *Device, ALuint SamplesToDo) { DirectParams *directparms = &Source->Params.Direct; - DoFilter(&directparms->Filter[chan], SrcData, ResampledData, + DoFilter(&directparms->LpFilter[chan], SrcData, ResampledData, DstBufferSize); Source->Params.DryMix(directparms, SrcData, chan, OutPos, SamplesToDo, DstBufferSize); @@ -340,7 +340,7 @@ ALvoid MixSource(ALsource *Source, ALCdevice *Device, ALuint SamplesToDo) if(!sendparms->Slot) continue; - DoFilter(&sendparms->Filter[chan], SrcData, ResampledData, + DoFilter(&sendparms->LpFilter[chan], SrcData, ResampledData, DstBufferSize); Source->Params.WetMix(sendparms, SrcData, OutPos, SamplesToDo, DstBufferSize); |