diff options
author | Chris Robinson <[email protected]> | 2013-06-06 03:24:44 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2013-06-06 03:24:44 -0700 |
commit | 647398d7c6b6198ca85675ae75ff0debc275fc3b (patch) | |
tree | 701ec596eefac86290f9a5c531de62d7562dd807 /OpenAL32/Include | |
parent | dcefeac6e6afd5c21e0e463c6f780f14ea8eeab5 (diff) |
Use ALfilterState for the distortion effect filters
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r-- | OpenAL32/Include/alFilter.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenAL32/Include/alFilter.h b/OpenAL32/Include/alFilter.h index 6e9abd6a..690a496b 100644 --- a/OpenAL32/Include/alFilter.h +++ b/OpenAL32/Include/alFilter.h @@ -9,10 +9,18 @@ extern "C" { #define LOWPASSFREQREF (5000) + +/* Filters implementation is based on the "Cookbook formulae for audio * + * EQ biquad filter coefficients" by Robert Bristow-Johnson * + * http://www.musicdsp.org/files/Audio-EQ-Cookbook.txt */ + typedef enum ALfilterType { ALfilterType_HighShelf, ALfilterType_LowShelf, ALfilterType_Peaking, + + ALfilterType_LowPass, + ALfilterType_BandPass, } ALfilterType; typedef struct ALfilterState { |