aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-01-09 23:21:16 -0800
committerChris Robinson <[email protected]>2018-01-09 23:21:16 -0800
commitde8c5b18248ee5d121cbd4b34b9af94f5e16df35 (patch)
tree76e4fb32c7ca5cb795c09dbe2d612377a32b8f2d /OpenAL32/Include
parent9e2eb5dc231d835bf78a7225b6b0def74d0220ef (diff)
Combine the chorus and flanger processing functions
Given that they're nearly identical, it should be relatively simple to use the same effect state to process either of them, similar to the reverbs. The big differences seem to be the delay range (much shorter with flanger) and the defaults.
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r--OpenAL32/Include/alEffect.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/OpenAL32/Include/alEffect.h b/OpenAL32/Include/alEffect.h
index af488aab..bec50f7d 100644
--- a/OpenAL32/Include/alEffect.h
+++ b/OpenAL32/Include/alEffect.h
@@ -97,7 +97,7 @@ typedef union ALeffectProps {
ALfloat Depth;
ALfloat Feedback;
ALfloat Delay;
- } Chorus;
+ } Chorus; /* Also Flanger */
struct {
ALboolean OnOff;
@@ -135,15 +135,6 @@ typedef union ALeffectProps {
} Equalizer;
struct {
- ALint Waveform;
- ALint Phase;
- ALfloat Rate;
- ALfloat Depth;
- ALfloat Feedback;
- ALfloat Delay;
- } Flanger;
-
- struct {
ALfloat Frequency;
ALfloat HighPassCutoff;
ALint Waveform;