diff options
author | Chris Robinson <[email protected]> | 2013-05-18 01:33:01 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2013-05-18 01:33:01 -0700 |
commit | 78e7c1c27bb0dcc05fc961e53060be17e3df3e02 (patch) | |
tree | d4a1368d6a4039bf11b1a5ae9995089ee705cc71 /Alc/ALc.c | |
parent | a7ad6080f0d3fc783fd5e1811b961ab9efe79cde (diff) |
Implement distortion and equalizer effects
Code provided by Mike Gorchak
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r-- | Alc/ALc.c | 21 |
1 files changed, 18 insertions, 3 deletions
@@ -516,9 +516,7 @@ static const ALCenums enumeration[] = { DECL(AL_EFFECT_REVERB), DECL(AL_EFFECT_EAXREVERB), DECL(AL_EFFECT_CHORUS), -#if 0 DECL(AL_EFFECT_DISTORTION), -#endif DECL(AL_EFFECT_ECHO), DECL(AL_EFFECT_FLANGER), #if 0 @@ -530,8 +528,8 @@ static const ALCenums enumeration[] = { #if 0 DECL(AL_EFFECT_AUTOWAH), DECL(AL_EFFECT_COMPRESSOR), - DECL(AL_EFFECT_EQUALIZER), #endif + DECL(AL_EFFECT_EQUALIZER), DECL(AL_EFFECT_DEDICATED_LOW_FREQUENCY_EFFECT), DECL(AL_EFFECT_DEDICATED_DIALOGUE), @@ -593,6 +591,23 @@ static const ALCenums enumeration[] = { DECL(AL_FLANGER_FEEDBACK), DECL(AL_FLANGER_DELAY), + DECL(AL_EQUALIZER_LOW_GAIN), + DECL(AL_EQUALIZER_LOW_CUTOFF), + DECL(AL_EQUALIZER_MID1_GAIN), + DECL(AL_EQUALIZER_MID1_CENTER), + DECL(AL_EQUALIZER_MID1_WIDTH), + DECL(AL_EQUALIZER_MID2_GAIN), + DECL(AL_EQUALIZER_MID2_CENTER), + DECL(AL_EQUALIZER_MID2_WIDTH), + DECL(AL_EQUALIZER_HIGH_GAIN), + DECL(AL_EQUALIZER_HIGH_CUTOFF), + + DECL(AL_DISTORTION_EDGE), + DECL(AL_DISTORTION_GAIN), + DECL(AL_DISTORTION_LOWPASS_CUTOFF), + DECL(AL_DISTORTION_EQCENTER), + DECL(AL_DISTORTION_EQBANDWIDTH), + DECL(AL_RING_MODULATOR_FREQUENCY), DECL(AL_RING_MODULATOR_HIGHPASS_CUTOFF), DECL(AL_RING_MODULATOR_WAVEFORM), |