aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2015-10-23 22:34:46 -0700
committerChris Robinson <[email protected]>2015-10-24 00:47:58 -0700
commit2a62b3853082169e665d5eee2121ff34cfe0abc1 (patch)
treeae02e0c33a92d806a075a693040515c82eb4cb15 /OpenAL32/Include
parent714354caeef1927c3b5ecd132d7cc090e7672106 (diff)
Update filter histories even when they're not used
If the filter properties are continually updated, and the HF or LF gain goes from <1, to 1, and later back to <1, the history shouldn't hold stale values from before it was at 1.
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r--OpenAL32/Include/alFilter.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenAL32/Include/alFilter.h b/OpenAL32/Include/alFilter.h
index 62b5fda8..9772f432 100644
--- a/OpenAL32/Include/alFilter.h
+++ b/OpenAL32/Include/alFilter.h
@@ -63,6 +63,8 @@ inline ALfloat ALfilterState_processSingle(ALfilterState *filter, ALfloat sample
void ALfilterState_processC(ALfilterState *filter, ALfloat *restrict dst, const ALfloat *src, ALuint numsamples);
+void ALfilterState_processPassthru(ALfilterState *filter, const ALfloat *src, ALuint numsamples);
+
typedef struct ALfilter {
// Filter type (AL_FILTER_NULL, ...)