From a75e75aef5f62ca282db8c0a0aa9d1c25551eae7 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Wed, 23 Jul 2008 22:29:53 -0700 Subject: Implement an alternative low-pass filter This method samples from the buffer so that it gets a time-correct 5khz stream, which is subtracted from the original sample and has the high-frequency gain applied, then added back. A better method may be to average all the samples from the current one to the one freq/5000 away, instead of bilinear filtering the two nearest freq/5000 apart. Processing cost will need to determine its viability --- OpenAL32/Include/alSource.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'OpenAL32/Include') diff --git a/OpenAL32/Include/alSource.h b/OpenAL32/Include/alSource.h index 558894ed..1d3fc57c 100644 --- a/OpenAL32/Include/alSource.h +++ b/OpenAL32/Include/alSource.h @@ -70,9 +70,6 @@ typedef struct ALsource ALfilter WetFilter; } Send[MAX_SENDS]; - ALfloat LastDrySample; - ALfloat LastWetSample; - ALboolean DryGainHFAuto; ALboolean WetGainAuto; ALboolean WetGainHFAuto; -- cgit v1.2.3