aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2008-07-23 22:29:53 -0700
committerChris Robinson <[email protected]>2008-07-23 22:29:53 -0700
commita75e75aef5f62ca282db8c0a0aa9d1c25551eae7 (patch)
treedc24df1dc4c144b5ec96895eec00a2e4fb920cc9 /OpenAL32/Include
parentd45b1207d0718efab517522689ea628d34ab7d1c (diff)
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
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r--OpenAL32/Include/alSource.h3
1 files changed, 0 insertions, 3 deletions
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;