13 EaxEffectUPtr
eax_create_eax_effect(ALenum al_effect_type
)
15 #define EAX_PREFIX "[EAX_MAKE_EAX_EFFECT] "
17 switch (al_effect_type
)
20 return eax_create_eax_null_effect();
22 case AL_EFFECT_CHORUS
:
23 return eax_create_eax_chorus_effect();
25 case AL_EFFECT_DISTORTION
:
26 return eax_create_eax_distortion_effect();
29 return eax_create_eax_echo_effect();
31 case AL_EFFECT_FLANGER
:
32 return eax_create_eax_flanger_effect();
34 case AL_EFFECT_FREQUENCY_SHIFTER
:
35 return eax_create_eax_frequency_shifter_effect();
37 case AL_EFFECT_VOCAL_MORPHER
:
38 return eax_create_eax_vocal_morpher_effect();
40 case AL_EFFECT_PITCH_SHIFTER
:
41 return eax_create_eax_pitch_shifter_effect();
43 case AL_EFFECT_RING_MODULATOR
:
44 return eax_create_eax_ring_modulator_effect();
46 case AL_EFFECT_AUTOWAH
:
47 return eax_create_eax_auto_wah_effect();
49 case AL_EFFECT_COMPRESSOR
:
50 return eax_create_eax_compressor_effect();
52 case AL_EFFECT_EQUALIZER
:
53 return eax_create_eax_equalizer_effect();
55 case AL_EFFECT_EAXREVERB
:
56 return eax_create_eax_reverb_effect();
59 assert(false && "Unsupported AL effect type.");