Remove a redundant cast
[openal-soft.git] / include / AL / efx.h
blob1e93bf2222b430220c23ccd47549672f424ae37b
1 #ifndef AL_EFX_H
2 #define AL_EFX_H
4 /* NOLINTBEGIN */
5 #include <float.h>
7 #include "alc.h"
8 #include "al.h"
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
14 #define ALC_EXT_EFX_NAME "ALC_EXT_EFX"
16 #define ALC_EFX_MAJOR_VERSION 0x20001
17 #define ALC_EFX_MINOR_VERSION 0x20002
18 #define ALC_MAX_AUXILIARY_SENDS 0x20003
21 /* Listener properties. */
22 #define AL_METERS_PER_UNIT 0x20004
24 /* Source properties. */
25 #define AL_DIRECT_FILTER 0x20005
26 #define AL_AUXILIARY_SEND_FILTER 0x20006
27 #define AL_AIR_ABSORPTION_FACTOR 0x20007
28 #define AL_ROOM_ROLLOFF_FACTOR 0x20008
29 #define AL_CONE_OUTER_GAINHF 0x20009
30 #define AL_DIRECT_FILTER_GAINHF_AUTO 0x2000A
31 #define AL_AUXILIARY_SEND_FILTER_GAIN_AUTO 0x2000B
32 #define AL_AUXILIARY_SEND_FILTER_GAINHF_AUTO 0x2000C
35 /* Effect properties. */
37 /* Reverb effect parameters */
38 #define AL_REVERB_DENSITY 0x0001
39 #define AL_REVERB_DIFFUSION 0x0002
40 #define AL_REVERB_GAIN 0x0003
41 #define AL_REVERB_GAINHF 0x0004
42 #define AL_REVERB_DECAY_TIME 0x0005
43 #define AL_REVERB_DECAY_HFRATIO 0x0006
44 #define AL_REVERB_REFLECTIONS_GAIN 0x0007
45 #define AL_REVERB_REFLECTIONS_DELAY 0x0008
46 #define AL_REVERB_LATE_REVERB_GAIN 0x0009
47 #define AL_REVERB_LATE_REVERB_DELAY 0x000A
48 #define AL_REVERB_AIR_ABSORPTION_GAINHF 0x000B
49 #define AL_REVERB_ROOM_ROLLOFF_FACTOR 0x000C
50 #define AL_REVERB_DECAY_HFLIMIT 0x000D
52 /* EAX Reverb effect parameters */
53 #define AL_EAXREVERB_DENSITY 0x0001
54 #define AL_EAXREVERB_DIFFUSION 0x0002
55 #define AL_EAXREVERB_GAIN 0x0003
56 #define AL_EAXREVERB_GAINHF 0x0004
57 #define AL_EAXREVERB_GAINLF 0x0005
58 #define AL_EAXREVERB_DECAY_TIME 0x0006
59 #define AL_EAXREVERB_DECAY_HFRATIO 0x0007
60 #define AL_EAXREVERB_DECAY_LFRATIO 0x0008
61 #define AL_EAXREVERB_REFLECTIONS_GAIN 0x0009
62 #define AL_EAXREVERB_REFLECTIONS_DELAY 0x000A
63 #define AL_EAXREVERB_REFLECTIONS_PAN 0x000B
64 #define AL_EAXREVERB_LATE_REVERB_GAIN 0x000C
65 #define AL_EAXREVERB_LATE_REVERB_DELAY 0x000D
66 #define AL_EAXREVERB_LATE_REVERB_PAN 0x000E
67 #define AL_EAXREVERB_ECHO_TIME 0x000F
68 #define AL_EAXREVERB_ECHO_DEPTH 0x0010
69 #define AL_EAXREVERB_MODULATION_TIME 0x0011
70 #define AL_EAXREVERB_MODULATION_DEPTH 0x0012
71 #define AL_EAXREVERB_AIR_ABSORPTION_GAINHF 0x0013
72 #define AL_EAXREVERB_HFREFERENCE 0x0014
73 #define AL_EAXREVERB_LFREFERENCE 0x0015
74 #define AL_EAXREVERB_ROOM_ROLLOFF_FACTOR 0x0016
75 #define AL_EAXREVERB_DECAY_HFLIMIT 0x0017
77 /* Chorus effect parameters */
78 #define AL_CHORUS_WAVEFORM 0x0001
79 #define AL_CHORUS_PHASE 0x0002
80 #define AL_CHORUS_RATE 0x0003
81 #define AL_CHORUS_DEPTH 0x0004
82 #define AL_CHORUS_FEEDBACK 0x0005
83 #define AL_CHORUS_DELAY 0x0006
85 /* Distortion effect parameters */
86 #define AL_DISTORTION_EDGE 0x0001
87 #define AL_DISTORTION_GAIN 0x0002
88 #define AL_DISTORTION_LOWPASS_CUTOFF 0x0003
89 #define AL_DISTORTION_EQCENTER 0x0004
90 #define AL_DISTORTION_EQBANDWIDTH 0x0005
92 /* Echo effect parameters */
93 #define AL_ECHO_DELAY 0x0001
94 #define AL_ECHO_LRDELAY 0x0002
95 #define AL_ECHO_DAMPING 0x0003
96 #define AL_ECHO_FEEDBACK 0x0004
97 #define AL_ECHO_SPREAD 0x0005
99 /* Flanger effect parameters */
100 #define AL_FLANGER_WAVEFORM 0x0001
101 #define AL_FLANGER_PHASE 0x0002
102 #define AL_FLANGER_RATE 0x0003
103 #define AL_FLANGER_DEPTH 0x0004
104 #define AL_FLANGER_FEEDBACK 0x0005
105 #define AL_FLANGER_DELAY 0x0006
107 /* Frequency shifter effect parameters */
108 #define AL_FREQUENCY_SHIFTER_FREQUENCY 0x0001
109 #define AL_FREQUENCY_SHIFTER_LEFT_DIRECTION 0x0002
110 #define AL_FREQUENCY_SHIFTER_RIGHT_DIRECTION 0x0003
112 /* Vocal morpher effect parameters */
113 #define AL_VOCAL_MORPHER_PHONEMEA 0x0001
114 #define AL_VOCAL_MORPHER_PHONEMEA_COARSE_TUNING 0x0002
115 #define AL_VOCAL_MORPHER_PHONEMEB 0x0003
116 #define AL_VOCAL_MORPHER_PHONEMEB_COARSE_TUNING 0x0004
117 #define AL_VOCAL_MORPHER_WAVEFORM 0x0005
118 #define AL_VOCAL_MORPHER_RATE 0x0006
120 /* Pitchshifter effect parameters */
121 #define AL_PITCH_SHIFTER_COARSE_TUNE 0x0001
122 #define AL_PITCH_SHIFTER_FINE_TUNE 0x0002
124 /* Ringmodulator effect parameters */
125 #define AL_RING_MODULATOR_FREQUENCY 0x0001
126 #define AL_RING_MODULATOR_HIGHPASS_CUTOFF 0x0002
127 #define AL_RING_MODULATOR_WAVEFORM 0x0003
129 /* Autowah effect parameters */
130 #define AL_AUTOWAH_ATTACK_TIME 0x0001
131 #define AL_AUTOWAH_RELEASE_TIME 0x0002
132 #define AL_AUTOWAH_RESONANCE 0x0003
133 #define AL_AUTOWAH_PEAK_GAIN 0x0004
135 /* Compressor effect parameters */
136 #define AL_COMPRESSOR_ONOFF 0x0001
138 /* Equalizer effect parameters */
139 #define AL_EQUALIZER_LOW_GAIN 0x0001
140 #define AL_EQUALIZER_LOW_CUTOFF 0x0002
141 #define AL_EQUALIZER_MID1_GAIN 0x0003
142 #define AL_EQUALIZER_MID1_CENTER 0x0004
143 #define AL_EQUALIZER_MID1_WIDTH 0x0005
144 #define AL_EQUALIZER_MID2_GAIN 0x0006
145 #define AL_EQUALIZER_MID2_CENTER 0x0007
146 #define AL_EQUALIZER_MID2_WIDTH 0x0008
147 #define AL_EQUALIZER_HIGH_GAIN 0x0009
148 #define AL_EQUALIZER_HIGH_CUTOFF 0x000A
150 /* Effect type */
151 #define AL_EFFECT_FIRST_PARAMETER 0x0000
152 #define AL_EFFECT_LAST_PARAMETER 0x8000
153 #define AL_EFFECT_TYPE 0x8001
155 /* Effect types, used with the AL_EFFECT_TYPE property */
156 #define AL_EFFECT_NULL 0x0000
157 #define AL_EFFECT_REVERB 0x0001
158 #define AL_EFFECT_CHORUS 0x0002
159 #define AL_EFFECT_DISTORTION 0x0003
160 #define AL_EFFECT_ECHO 0x0004
161 #define AL_EFFECT_FLANGER 0x0005
162 #define AL_EFFECT_FREQUENCY_SHIFTER 0x0006
163 #define AL_EFFECT_VOCAL_MORPHER 0x0007
164 #define AL_EFFECT_PITCH_SHIFTER 0x0008
165 #define AL_EFFECT_RING_MODULATOR 0x0009
166 #define AL_EFFECT_AUTOWAH 0x000A
167 #define AL_EFFECT_COMPRESSOR 0x000B
168 #define AL_EFFECT_EQUALIZER 0x000C
169 #define AL_EFFECT_EAXREVERB 0x8000
171 /* Auxiliary Effect Slot properties. */
172 #define AL_EFFECTSLOT_EFFECT 0x0001
173 #define AL_EFFECTSLOT_GAIN 0x0002
174 #define AL_EFFECTSLOT_AUXILIARY_SEND_AUTO 0x0003
176 /* NULL Auxiliary Slot ID to disable a source send. */
177 #define AL_EFFECTSLOT_NULL 0x0000
180 /* Filter properties. */
182 /* Lowpass filter parameters */
183 #define AL_LOWPASS_GAIN 0x0001
184 #define AL_LOWPASS_GAINHF 0x0002
186 /* Highpass filter parameters */
187 #define AL_HIGHPASS_GAIN 0x0001
188 #define AL_HIGHPASS_GAINLF 0x0002
190 /* Bandpass filter parameters */
191 #define AL_BANDPASS_GAIN 0x0001
192 #define AL_BANDPASS_GAINLF 0x0002
193 #define AL_BANDPASS_GAINHF 0x0003
195 /* Filter type */
196 #define AL_FILTER_FIRST_PARAMETER 0x0000
197 #define AL_FILTER_LAST_PARAMETER 0x8000
198 #define AL_FILTER_TYPE 0x8001
200 /* Filter types, used with the AL_FILTER_TYPE property */
201 #define AL_FILTER_NULL 0x0000
202 #define AL_FILTER_LOWPASS 0x0001
203 #define AL_FILTER_HIGHPASS 0x0002
204 #define AL_FILTER_BANDPASS 0x0003
207 /* Effect object function types. */
208 typedef void (AL_APIENTRY *LPALGENEFFECTS)(ALsizei, ALuint*) AL_API_NOEXCEPT17;
209 typedef void (AL_APIENTRY *LPALDELETEEFFECTS)(ALsizei, const ALuint*) AL_API_NOEXCEPT17;
210 typedef ALboolean (AL_APIENTRY *LPALISEFFECT)(ALuint) AL_API_NOEXCEPT17;
211 typedef void (AL_APIENTRY *LPALEFFECTI)(ALuint, ALenum, ALint) AL_API_NOEXCEPT17;
212 typedef void (AL_APIENTRY *LPALEFFECTIV)(ALuint, ALenum, const ALint*) AL_API_NOEXCEPT17;
213 typedef void (AL_APIENTRY *LPALEFFECTF)(ALuint, ALenum, ALfloat) AL_API_NOEXCEPT17;
214 typedef void (AL_APIENTRY *LPALEFFECTFV)(ALuint, ALenum, const ALfloat*) AL_API_NOEXCEPT17;
215 typedef void (AL_APIENTRY *LPALGETEFFECTI)(ALuint, ALenum, ALint*) AL_API_NOEXCEPT17;
216 typedef void (AL_APIENTRY *LPALGETEFFECTIV)(ALuint, ALenum, ALint*) AL_API_NOEXCEPT17;
217 typedef void (AL_APIENTRY *LPALGETEFFECTF)(ALuint, ALenum, ALfloat*) AL_API_NOEXCEPT17;
218 typedef void (AL_APIENTRY *LPALGETEFFECTFV)(ALuint, ALenum, ALfloat*) AL_API_NOEXCEPT17;
220 /* Filter object function types. */
221 typedef void (AL_APIENTRY *LPALGENFILTERS)(ALsizei, ALuint*) AL_API_NOEXCEPT17;
222 typedef void (AL_APIENTRY *LPALDELETEFILTERS)(ALsizei, const ALuint*) AL_API_NOEXCEPT17;
223 typedef ALboolean (AL_APIENTRY *LPALISFILTER)(ALuint) AL_API_NOEXCEPT17;
224 typedef void (AL_APIENTRY *LPALFILTERI)(ALuint, ALenum, ALint) AL_API_NOEXCEPT17;
225 typedef void (AL_APIENTRY *LPALFILTERIV)(ALuint, ALenum, const ALint*) AL_API_NOEXCEPT17;
226 typedef void (AL_APIENTRY *LPALFILTERF)(ALuint, ALenum, ALfloat) AL_API_NOEXCEPT17;
227 typedef void (AL_APIENTRY *LPALFILTERFV)(ALuint, ALenum, const ALfloat*) AL_API_NOEXCEPT17;
228 typedef void (AL_APIENTRY *LPALGETFILTERI)(ALuint, ALenum, ALint*) AL_API_NOEXCEPT17;
229 typedef void (AL_APIENTRY *LPALGETFILTERIV)(ALuint, ALenum, ALint*) AL_API_NOEXCEPT17;
230 typedef void (AL_APIENTRY *LPALGETFILTERF)(ALuint, ALenum, ALfloat*) AL_API_NOEXCEPT17;
231 typedef void (AL_APIENTRY *LPALGETFILTERFV)(ALuint, ALenum, ALfloat*) AL_API_NOEXCEPT17;
233 /* Auxiliary Effect Slot object function types. */
234 typedef void (AL_APIENTRY *LPALGENAUXILIARYEFFECTSLOTS)(ALsizei, ALuint*) AL_API_NOEXCEPT17;
235 typedef void (AL_APIENTRY *LPALDELETEAUXILIARYEFFECTSLOTS)(ALsizei, const ALuint*) AL_API_NOEXCEPT17;
236 typedef ALboolean (AL_APIENTRY *LPALISAUXILIARYEFFECTSLOT)(ALuint) AL_API_NOEXCEPT17;
237 typedef void (AL_APIENTRY *LPALAUXILIARYEFFECTSLOTI)(ALuint, ALenum, ALint) AL_API_NOEXCEPT17;
238 typedef void (AL_APIENTRY *LPALAUXILIARYEFFECTSLOTIV)(ALuint, ALenum, const ALint*) AL_API_NOEXCEPT17;
239 typedef void (AL_APIENTRY *LPALAUXILIARYEFFECTSLOTF)(ALuint, ALenum, ALfloat) AL_API_NOEXCEPT17;
240 typedef void (AL_APIENTRY *LPALAUXILIARYEFFECTSLOTFV)(ALuint, ALenum, const ALfloat*) AL_API_NOEXCEPT17;
241 typedef void (AL_APIENTRY *LPALGETAUXILIARYEFFECTSLOTI)(ALuint, ALenum, ALint*) AL_API_NOEXCEPT17;
242 typedef void (AL_APIENTRY *LPALGETAUXILIARYEFFECTSLOTIV)(ALuint, ALenum, ALint*) AL_API_NOEXCEPT17;
243 typedef void (AL_APIENTRY *LPALGETAUXILIARYEFFECTSLOTF)(ALuint, ALenum, ALfloat*) AL_API_NOEXCEPT17;
244 typedef void (AL_APIENTRY *LPALGETAUXILIARYEFFECTSLOTFV)(ALuint, ALenum, ALfloat*) AL_API_NOEXCEPT17;
246 #ifdef AL_ALEXT_PROTOTYPES
247 AL_API void AL_APIENTRY alGenEffects(ALsizei n, ALuint *effects) AL_API_NOEXCEPT;
248 AL_API void AL_APIENTRY alDeleteEffects(ALsizei n, const ALuint *effects) AL_API_NOEXCEPT;
249 AL_API ALboolean AL_APIENTRY alIsEffect(ALuint effect) AL_API_NOEXCEPT;
250 AL_API void AL_APIENTRY alEffecti(ALuint effect, ALenum param, ALint iValue) AL_API_NOEXCEPT;
251 AL_API void AL_APIENTRY alEffectiv(ALuint effect, ALenum param, const ALint *piValues) AL_API_NOEXCEPT;
252 AL_API void AL_APIENTRY alEffectf(ALuint effect, ALenum param, ALfloat flValue) AL_API_NOEXCEPT;
253 AL_API void AL_APIENTRY alEffectfv(ALuint effect, ALenum param, const ALfloat *pflValues) AL_API_NOEXCEPT;
254 AL_API void AL_APIENTRY alGetEffecti(ALuint effect, ALenum param, ALint *piValue) AL_API_NOEXCEPT;
255 AL_API void AL_APIENTRY alGetEffectiv(ALuint effect, ALenum param, ALint *piValues) AL_API_NOEXCEPT;
256 AL_API void AL_APIENTRY alGetEffectf(ALuint effect, ALenum param, ALfloat *pflValue) AL_API_NOEXCEPT;
257 AL_API void AL_APIENTRY alGetEffectfv(ALuint effect, ALenum param, ALfloat *pflValues) AL_API_NOEXCEPT;
259 AL_API void AL_APIENTRY alGenFilters(ALsizei n, ALuint *filters) AL_API_NOEXCEPT;
260 AL_API void AL_APIENTRY alDeleteFilters(ALsizei n, const ALuint *filters) AL_API_NOEXCEPT;
261 AL_API ALboolean AL_APIENTRY alIsFilter(ALuint filter) AL_API_NOEXCEPT;
262 AL_API void AL_APIENTRY alFilteri(ALuint filter, ALenum param, ALint iValue) AL_API_NOEXCEPT;
263 AL_API void AL_APIENTRY alFilteriv(ALuint filter, ALenum param, const ALint *piValues) AL_API_NOEXCEPT;
264 AL_API void AL_APIENTRY alFilterf(ALuint filter, ALenum param, ALfloat flValue) AL_API_NOEXCEPT;
265 AL_API void AL_APIENTRY alFilterfv(ALuint filter, ALenum param, const ALfloat *pflValues) AL_API_NOEXCEPT;
266 AL_API void AL_APIENTRY alGetFilteri(ALuint filter, ALenum param, ALint *piValue) AL_API_NOEXCEPT;
267 AL_API void AL_APIENTRY alGetFilteriv(ALuint filter, ALenum param, ALint *piValues) AL_API_NOEXCEPT;
268 AL_API void AL_APIENTRY alGetFilterf(ALuint filter, ALenum param, ALfloat *pflValue) AL_API_NOEXCEPT;
269 AL_API void AL_APIENTRY alGetFilterfv(ALuint filter, ALenum param, ALfloat *pflValues) AL_API_NOEXCEPT;
271 AL_API void AL_APIENTRY alGenAuxiliaryEffectSlots(ALsizei n, ALuint *effectslots) AL_API_NOEXCEPT;
272 AL_API void AL_APIENTRY alDeleteAuxiliaryEffectSlots(ALsizei n, const ALuint *effectslots) AL_API_NOEXCEPT;
273 AL_API ALboolean AL_APIENTRY alIsAuxiliaryEffectSlot(ALuint effectslot) AL_API_NOEXCEPT;
274 AL_API void AL_APIENTRY alAuxiliaryEffectSloti(ALuint effectslot, ALenum param, ALint iValue) AL_API_NOEXCEPT;
275 AL_API void AL_APIENTRY alAuxiliaryEffectSlotiv(ALuint effectslot, ALenum param, const ALint *piValues) AL_API_NOEXCEPT;
276 AL_API void AL_APIENTRY alAuxiliaryEffectSlotf(ALuint effectslot, ALenum param, ALfloat flValue) AL_API_NOEXCEPT;
277 AL_API void AL_APIENTRY alAuxiliaryEffectSlotfv(ALuint effectslot, ALenum param, const ALfloat *pflValues) AL_API_NOEXCEPT;
278 AL_API void AL_APIENTRY alGetAuxiliaryEffectSloti(ALuint effectslot, ALenum param, ALint *piValue) AL_API_NOEXCEPT;
279 AL_API void AL_APIENTRY alGetAuxiliaryEffectSlotiv(ALuint effectslot, ALenum param, ALint *piValues) AL_API_NOEXCEPT;
280 AL_API void AL_APIENTRY alGetAuxiliaryEffectSlotf(ALuint effectslot, ALenum param, ALfloat *pflValue) AL_API_NOEXCEPT;
281 AL_API void AL_APIENTRY alGetAuxiliaryEffectSlotfv(ALuint effectslot, ALenum param, ALfloat *pflValues) AL_API_NOEXCEPT;
282 #endif
284 /* Filter ranges and defaults. */
286 /* Lowpass filter */
287 #define AL_LOWPASS_MIN_GAIN (0.0f)
288 #define AL_LOWPASS_MAX_GAIN (1.0f)
289 #define AL_LOWPASS_DEFAULT_GAIN (1.0f)
291 #define AL_LOWPASS_MIN_GAINHF (0.0f)
292 #define AL_LOWPASS_MAX_GAINHF (1.0f)
293 #define AL_LOWPASS_DEFAULT_GAINHF (1.0f)
295 /* Highpass filter */
296 #define AL_HIGHPASS_MIN_GAIN (0.0f)
297 #define AL_HIGHPASS_MAX_GAIN (1.0f)
298 #define AL_HIGHPASS_DEFAULT_GAIN (1.0f)
300 #define AL_HIGHPASS_MIN_GAINLF (0.0f)
301 #define AL_HIGHPASS_MAX_GAINLF (1.0f)
302 #define AL_HIGHPASS_DEFAULT_GAINLF (1.0f)
304 /* Bandpass filter */
305 #define AL_BANDPASS_MIN_GAIN (0.0f)
306 #define AL_BANDPASS_MAX_GAIN (1.0f)
307 #define AL_BANDPASS_DEFAULT_GAIN (1.0f)
309 #define AL_BANDPASS_MIN_GAINHF (0.0f)
310 #define AL_BANDPASS_MAX_GAINHF (1.0f)
311 #define AL_BANDPASS_DEFAULT_GAINHF (1.0f)
313 #define AL_BANDPASS_MIN_GAINLF (0.0f)
314 #define AL_BANDPASS_MAX_GAINLF (1.0f)
315 #define AL_BANDPASS_DEFAULT_GAINLF (1.0f)
318 /* Effect parameter ranges and defaults. */
320 /* Standard reverb effect */
321 #define AL_REVERB_MIN_DENSITY (0.0f)
322 #define AL_REVERB_MAX_DENSITY (1.0f)
323 #define AL_REVERB_DEFAULT_DENSITY (1.0f)
325 #define AL_REVERB_MIN_DIFFUSION (0.0f)
326 #define AL_REVERB_MAX_DIFFUSION (1.0f)
327 #define AL_REVERB_DEFAULT_DIFFUSION (1.0f)
329 #define AL_REVERB_MIN_GAIN (0.0f)
330 #define AL_REVERB_MAX_GAIN (1.0f)
331 #define AL_REVERB_DEFAULT_GAIN (0.32f)
333 #define AL_REVERB_MIN_GAINHF (0.0f)
334 #define AL_REVERB_MAX_GAINHF (1.0f)
335 #define AL_REVERB_DEFAULT_GAINHF (0.89f)
337 #define AL_REVERB_MIN_DECAY_TIME (0.1f)
338 #define AL_REVERB_MAX_DECAY_TIME (20.0f)
339 #define AL_REVERB_DEFAULT_DECAY_TIME (1.49f)
341 #define AL_REVERB_MIN_DECAY_HFRATIO (0.1f)
342 #define AL_REVERB_MAX_DECAY_HFRATIO (2.0f)
343 #define AL_REVERB_DEFAULT_DECAY_HFRATIO (0.83f)
345 #define AL_REVERB_MIN_REFLECTIONS_GAIN (0.0f)
346 #define AL_REVERB_MAX_REFLECTIONS_GAIN (3.16f)
347 #define AL_REVERB_DEFAULT_REFLECTIONS_GAIN (0.05f)
349 #define AL_REVERB_MIN_REFLECTIONS_DELAY (0.0f)
350 #define AL_REVERB_MAX_REFLECTIONS_DELAY (0.3f)
351 #define AL_REVERB_DEFAULT_REFLECTIONS_DELAY (0.007f)
353 #define AL_REVERB_MIN_LATE_REVERB_GAIN (0.0f)
354 #define AL_REVERB_MAX_LATE_REVERB_GAIN (10.0f)
355 #define AL_REVERB_DEFAULT_LATE_REVERB_GAIN (1.26f)
357 #define AL_REVERB_MIN_LATE_REVERB_DELAY (0.0f)
358 #define AL_REVERB_MAX_LATE_REVERB_DELAY (0.1f)
359 #define AL_REVERB_DEFAULT_LATE_REVERB_DELAY (0.011f)
361 #define AL_REVERB_MIN_AIR_ABSORPTION_GAINHF (0.892f)
362 #define AL_REVERB_MAX_AIR_ABSORPTION_GAINHF (1.0f)
363 #define AL_REVERB_DEFAULT_AIR_ABSORPTION_GAINHF (0.994f)
365 #define AL_REVERB_MIN_ROOM_ROLLOFF_FACTOR (0.0f)
366 #define AL_REVERB_MAX_ROOM_ROLLOFF_FACTOR (10.0f)
367 #define AL_REVERB_DEFAULT_ROOM_ROLLOFF_FACTOR (0.0f)
369 #define AL_REVERB_MIN_DECAY_HFLIMIT AL_FALSE
370 #define AL_REVERB_MAX_DECAY_HFLIMIT AL_TRUE
371 #define AL_REVERB_DEFAULT_DECAY_HFLIMIT AL_TRUE
373 /* EAX reverb effect */
374 #define AL_EAXREVERB_MIN_DENSITY (0.0f)
375 #define AL_EAXREVERB_MAX_DENSITY (1.0f)
376 #define AL_EAXREVERB_DEFAULT_DENSITY (1.0f)
378 #define AL_EAXREVERB_MIN_DIFFUSION (0.0f)
379 #define AL_EAXREVERB_MAX_DIFFUSION (1.0f)
380 #define AL_EAXREVERB_DEFAULT_DIFFUSION (1.0f)
382 #define AL_EAXREVERB_MIN_GAIN (0.0f)
383 #define AL_EAXREVERB_MAX_GAIN (1.0f)
384 #define AL_EAXREVERB_DEFAULT_GAIN (0.32f)
386 #define AL_EAXREVERB_MIN_GAINHF (0.0f)
387 #define AL_EAXREVERB_MAX_GAINHF (1.0f)
388 #define AL_EAXREVERB_DEFAULT_GAINHF (0.89f)
390 #define AL_EAXREVERB_MIN_GAINLF (0.0f)
391 #define AL_EAXREVERB_MAX_GAINLF (1.0f)
392 #define AL_EAXREVERB_DEFAULT_GAINLF (1.0f)
394 #define AL_EAXREVERB_MIN_DECAY_TIME (0.1f)
395 #define AL_EAXREVERB_MAX_DECAY_TIME (20.0f)
396 #define AL_EAXREVERB_DEFAULT_DECAY_TIME (1.49f)
398 #define AL_EAXREVERB_MIN_DECAY_HFRATIO (0.1f)
399 #define AL_EAXREVERB_MAX_DECAY_HFRATIO (2.0f)
400 #define AL_EAXREVERB_DEFAULT_DECAY_HFRATIO (0.83f)
402 #define AL_EAXREVERB_MIN_DECAY_LFRATIO (0.1f)
403 #define AL_EAXREVERB_MAX_DECAY_LFRATIO (2.0f)
404 #define AL_EAXREVERB_DEFAULT_DECAY_LFRATIO (1.0f)
406 #define AL_EAXREVERB_MIN_REFLECTIONS_GAIN (0.0f)
407 #define AL_EAXREVERB_MAX_REFLECTIONS_GAIN (3.16f)
408 #define AL_EAXREVERB_DEFAULT_REFLECTIONS_GAIN (0.05f)
410 #define AL_EAXREVERB_MIN_REFLECTIONS_DELAY (0.0f)
411 #define AL_EAXREVERB_MAX_REFLECTIONS_DELAY (0.3f)
412 #define AL_EAXREVERB_DEFAULT_REFLECTIONS_DELAY (0.007f)
414 #define AL_EAXREVERB_DEFAULT_REFLECTIONS_PAN_XYZ (0.0f)
416 #define AL_EAXREVERB_MIN_LATE_REVERB_GAIN (0.0f)
417 #define AL_EAXREVERB_MAX_LATE_REVERB_GAIN (10.0f)
418 #define AL_EAXREVERB_DEFAULT_LATE_REVERB_GAIN (1.26f)
420 #define AL_EAXREVERB_MIN_LATE_REVERB_DELAY (0.0f)
421 #define AL_EAXREVERB_MAX_LATE_REVERB_DELAY (0.1f)
422 #define AL_EAXREVERB_DEFAULT_LATE_REVERB_DELAY (0.011f)
424 #define AL_EAXREVERB_DEFAULT_LATE_REVERB_PAN_XYZ (0.0f)
426 #define AL_EAXREVERB_MIN_ECHO_TIME (0.075f)
427 #define AL_EAXREVERB_MAX_ECHO_TIME (0.25f)
428 #define AL_EAXREVERB_DEFAULT_ECHO_TIME (0.25f)
430 #define AL_EAXREVERB_MIN_ECHO_DEPTH (0.0f)
431 #define AL_EAXREVERB_MAX_ECHO_DEPTH (1.0f)
432 #define AL_EAXREVERB_DEFAULT_ECHO_DEPTH (0.0f)
434 #define AL_EAXREVERB_MIN_MODULATION_TIME (0.04f)
435 #define AL_EAXREVERB_MAX_MODULATION_TIME (4.0f)
436 #define AL_EAXREVERB_DEFAULT_MODULATION_TIME (0.25f)
438 #define AL_EAXREVERB_MIN_MODULATION_DEPTH (0.0f)
439 #define AL_EAXREVERB_MAX_MODULATION_DEPTH (1.0f)
440 #define AL_EAXREVERB_DEFAULT_MODULATION_DEPTH (0.0f)
442 #define AL_EAXREVERB_MIN_AIR_ABSORPTION_GAINHF (0.892f)
443 #define AL_EAXREVERB_MAX_AIR_ABSORPTION_GAINHF (1.0f)
444 #define AL_EAXREVERB_DEFAULT_AIR_ABSORPTION_GAINHF (0.994f)
446 #define AL_EAXREVERB_MIN_HFREFERENCE (1000.0f)
447 #define AL_EAXREVERB_MAX_HFREFERENCE (20000.0f)
448 #define AL_EAXREVERB_DEFAULT_HFREFERENCE (5000.0f)
450 #define AL_EAXREVERB_MIN_LFREFERENCE (20.0f)
451 #define AL_EAXREVERB_MAX_LFREFERENCE (1000.0f)
452 #define AL_EAXREVERB_DEFAULT_LFREFERENCE (250.0f)
454 #define AL_EAXREVERB_MIN_ROOM_ROLLOFF_FACTOR (0.0f)
455 #define AL_EAXREVERB_MAX_ROOM_ROLLOFF_FACTOR (10.0f)
456 #define AL_EAXREVERB_DEFAULT_ROOM_ROLLOFF_FACTOR (0.0f)
458 #define AL_EAXREVERB_MIN_DECAY_HFLIMIT AL_FALSE
459 #define AL_EAXREVERB_MAX_DECAY_HFLIMIT AL_TRUE
460 #define AL_EAXREVERB_DEFAULT_DECAY_HFLIMIT AL_TRUE
462 /* Chorus effect */
463 #define AL_CHORUS_WAVEFORM_SINUSOID (0)
464 #define AL_CHORUS_WAVEFORM_TRIANGLE (1)
466 #define AL_CHORUS_MIN_WAVEFORM (0)
467 #define AL_CHORUS_MAX_WAVEFORM (1)
468 #define AL_CHORUS_DEFAULT_WAVEFORM (1)
470 #define AL_CHORUS_MIN_PHASE (-180)
471 #define AL_CHORUS_MAX_PHASE (180)
472 #define AL_CHORUS_DEFAULT_PHASE (90)
474 #define AL_CHORUS_MIN_RATE (0.0f)
475 #define AL_CHORUS_MAX_RATE (10.0f)
476 #define AL_CHORUS_DEFAULT_RATE (1.1f)
478 #define AL_CHORUS_MIN_DEPTH (0.0f)
479 #define AL_CHORUS_MAX_DEPTH (1.0f)
480 #define AL_CHORUS_DEFAULT_DEPTH (0.1f)
482 #define AL_CHORUS_MIN_FEEDBACK (-1.0f)
483 #define AL_CHORUS_MAX_FEEDBACK (1.0f)
484 #define AL_CHORUS_DEFAULT_FEEDBACK (0.25f)
486 #define AL_CHORUS_MIN_DELAY (0.0f)
487 #define AL_CHORUS_MAX_DELAY (0.016f)
488 #define AL_CHORUS_DEFAULT_DELAY (0.016f)
490 /* Distortion effect */
491 #define AL_DISTORTION_MIN_EDGE (0.0f)
492 #define AL_DISTORTION_MAX_EDGE (1.0f)
493 #define AL_DISTORTION_DEFAULT_EDGE (0.2f)
495 #define AL_DISTORTION_MIN_GAIN (0.01f)
496 #define AL_DISTORTION_MAX_GAIN (1.0f)
497 #define AL_DISTORTION_DEFAULT_GAIN (0.05f)
499 #define AL_DISTORTION_MIN_LOWPASS_CUTOFF (80.0f)
500 #define AL_DISTORTION_MAX_LOWPASS_CUTOFF (24000.0f)
501 #define AL_DISTORTION_DEFAULT_LOWPASS_CUTOFF (8000.0f)
503 #define AL_DISTORTION_MIN_EQCENTER (80.0f)
504 #define AL_DISTORTION_MAX_EQCENTER (24000.0f)
505 #define AL_DISTORTION_DEFAULT_EQCENTER (3600.0f)
507 #define AL_DISTORTION_MIN_EQBANDWIDTH (80.0f)
508 #define AL_DISTORTION_MAX_EQBANDWIDTH (24000.0f)
509 #define AL_DISTORTION_DEFAULT_EQBANDWIDTH (3600.0f)
511 /* Echo effect */
512 #define AL_ECHO_MIN_DELAY (0.0f)
513 #define AL_ECHO_MAX_DELAY (0.207f)
514 #define AL_ECHO_DEFAULT_DELAY (0.1f)
516 #define AL_ECHO_MIN_LRDELAY (0.0f)
517 #define AL_ECHO_MAX_LRDELAY (0.404f)
518 #define AL_ECHO_DEFAULT_LRDELAY (0.1f)
520 #define AL_ECHO_MIN_DAMPING (0.0f)
521 #define AL_ECHO_MAX_DAMPING (0.99f)
522 #define AL_ECHO_DEFAULT_DAMPING (0.5f)
524 #define AL_ECHO_MIN_FEEDBACK (0.0f)
525 #define AL_ECHO_MAX_FEEDBACK (1.0f)
526 #define AL_ECHO_DEFAULT_FEEDBACK (0.5f)
528 #define AL_ECHO_MIN_SPREAD (-1.0f)
529 #define AL_ECHO_MAX_SPREAD (1.0f)
530 #define AL_ECHO_DEFAULT_SPREAD (-1.0f)
532 /* Flanger effect */
533 #define AL_FLANGER_WAVEFORM_SINUSOID (0)
534 #define AL_FLANGER_WAVEFORM_TRIANGLE (1)
536 #define AL_FLANGER_MIN_WAVEFORM (0)
537 #define AL_FLANGER_MAX_WAVEFORM (1)
538 #define AL_FLANGER_DEFAULT_WAVEFORM (1)
540 #define AL_FLANGER_MIN_PHASE (-180)
541 #define AL_FLANGER_MAX_PHASE (180)
542 #define AL_FLANGER_DEFAULT_PHASE (0)
544 #define AL_FLANGER_MIN_RATE (0.0f)
545 #define AL_FLANGER_MAX_RATE (10.0f)
546 #define AL_FLANGER_DEFAULT_RATE (0.27f)
548 #define AL_FLANGER_MIN_DEPTH (0.0f)
549 #define AL_FLANGER_MAX_DEPTH (1.0f)
550 #define AL_FLANGER_DEFAULT_DEPTH (1.0f)
552 #define AL_FLANGER_MIN_FEEDBACK (-1.0f)
553 #define AL_FLANGER_MAX_FEEDBACK (1.0f)
554 #define AL_FLANGER_DEFAULT_FEEDBACK (-0.5f)
556 #define AL_FLANGER_MIN_DELAY (0.0f)
557 #define AL_FLANGER_MAX_DELAY (0.004f)
558 #define AL_FLANGER_DEFAULT_DELAY (0.002f)
560 /* Frequency shifter effect */
561 #define AL_FREQUENCY_SHIFTER_MIN_FREQUENCY (0.0f)
562 #define AL_FREQUENCY_SHIFTER_MAX_FREQUENCY (24000.0f)
563 #define AL_FREQUENCY_SHIFTER_DEFAULT_FREQUENCY (0.0f)
565 #define AL_FREQUENCY_SHIFTER_MIN_LEFT_DIRECTION (0)
566 #define AL_FREQUENCY_SHIFTER_MAX_LEFT_DIRECTION (2)
567 #define AL_FREQUENCY_SHIFTER_DEFAULT_LEFT_DIRECTION (0)
569 #define AL_FREQUENCY_SHIFTER_DIRECTION_DOWN (0)
570 #define AL_FREQUENCY_SHIFTER_DIRECTION_UP (1)
571 #define AL_FREQUENCY_SHIFTER_DIRECTION_OFF (2)
573 #define AL_FREQUENCY_SHIFTER_MIN_RIGHT_DIRECTION (0)
574 #define AL_FREQUENCY_SHIFTER_MAX_RIGHT_DIRECTION (2)
575 #define AL_FREQUENCY_SHIFTER_DEFAULT_RIGHT_DIRECTION (0)
577 /* Vocal morpher effect */
578 #define AL_VOCAL_MORPHER_MIN_PHONEMEA (0)
579 #define AL_VOCAL_MORPHER_MAX_PHONEMEA (29)
580 #define AL_VOCAL_MORPHER_DEFAULT_PHONEMEA (0)
582 #define AL_VOCAL_MORPHER_MIN_PHONEMEA_COARSE_TUNING (-24)
583 #define AL_VOCAL_MORPHER_MAX_PHONEMEA_COARSE_TUNING (24)
584 #define AL_VOCAL_MORPHER_DEFAULT_PHONEMEA_COARSE_TUNING (0)
586 #define AL_VOCAL_MORPHER_MIN_PHONEMEB (0)
587 #define AL_VOCAL_MORPHER_MAX_PHONEMEB (29)
588 #define AL_VOCAL_MORPHER_DEFAULT_PHONEMEB (10)
590 #define AL_VOCAL_MORPHER_MIN_PHONEMEB_COARSE_TUNING (-24)
591 #define AL_VOCAL_MORPHER_MAX_PHONEMEB_COARSE_TUNING (24)
592 #define AL_VOCAL_MORPHER_DEFAULT_PHONEMEB_COARSE_TUNING (0)
594 #define AL_VOCAL_MORPHER_PHONEME_A (0)
595 #define AL_VOCAL_MORPHER_PHONEME_E (1)
596 #define AL_VOCAL_MORPHER_PHONEME_I (2)
597 #define AL_VOCAL_MORPHER_PHONEME_O (3)
598 #define AL_VOCAL_MORPHER_PHONEME_U (4)
599 #define AL_VOCAL_MORPHER_PHONEME_AA (5)
600 #define AL_VOCAL_MORPHER_PHONEME_AE (6)
601 #define AL_VOCAL_MORPHER_PHONEME_AH (7)
602 #define AL_VOCAL_MORPHER_PHONEME_AO (8)
603 #define AL_VOCAL_MORPHER_PHONEME_EH (9)
604 #define AL_VOCAL_MORPHER_PHONEME_ER (10)
605 #define AL_VOCAL_MORPHER_PHONEME_IH (11)
606 #define AL_VOCAL_MORPHER_PHONEME_IY (12)
607 #define AL_VOCAL_MORPHER_PHONEME_UH (13)
608 #define AL_VOCAL_MORPHER_PHONEME_UW (14)
609 #define AL_VOCAL_MORPHER_PHONEME_B (15)
610 #define AL_VOCAL_MORPHER_PHONEME_D (16)
611 #define AL_VOCAL_MORPHER_PHONEME_F (17)
612 #define AL_VOCAL_MORPHER_PHONEME_G (18)
613 #define AL_VOCAL_MORPHER_PHONEME_J (19)
614 #define AL_VOCAL_MORPHER_PHONEME_K (20)
615 #define AL_VOCAL_MORPHER_PHONEME_L (21)
616 #define AL_VOCAL_MORPHER_PHONEME_M (22)
617 #define AL_VOCAL_MORPHER_PHONEME_N (23)
618 #define AL_VOCAL_MORPHER_PHONEME_P (24)
619 #define AL_VOCAL_MORPHER_PHONEME_R (25)
620 #define AL_VOCAL_MORPHER_PHONEME_S (26)
621 #define AL_VOCAL_MORPHER_PHONEME_T (27)
622 #define AL_VOCAL_MORPHER_PHONEME_V (28)
623 #define AL_VOCAL_MORPHER_PHONEME_Z (29)
625 #define AL_VOCAL_MORPHER_WAVEFORM_SINUSOID (0)
626 #define AL_VOCAL_MORPHER_WAVEFORM_TRIANGLE (1)
627 #define AL_VOCAL_MORPHER_WAVEFORM_SAWTOOTH (2)
629 #define AL_VOCAL_MORPHER_MIN_WAVEFORM (0)
630 #define AL_VOCAL_MORPHER_MAX_WAVEFORM (2)
631 #define AL_VOCAL_MORPHER_DEFAULT_WAVEFORM (0)
633 #define AL_VOCAL_MORPHER_MIN_RATE (0.0f)
634 #define AL_VOCAL_MORPHER_MAX_RATE (10.0f)
635 #define AL_VOCAL_MORPHER_DEFAULT_RATE (1.41f)
637 /* Pitch shifter effect */
638 #define AL_PITCH_SHIFTER_MIN_COARSE_TUNE (-12)
639 #define AL_PITCH_SHIFTER_MAX_COARSE_TUNE (12)
640 #define AL_PITCH_SHIFTER_DEFAULT_COARSE_TUNE (12)
642 #define AL_PITCH_SHIFTER_MIN_FINE_TUNE (-50)
643 #define AL_PITCH_SHIFTER_MAX_FINE_TUNE (50)
644 #define AL_PITCH_SHIFTER_DEFAULT_FINE_TUNE (0)
646 /* Ring modulator effect */
647 #define AL_RING_MODULATOR_MIN_FREQUENCY (0.0f)
648 #define AL_RING_MODULATOR_MAX_FREQUENCY (8000.0f)
649 #define AL_RING_MODULATOR_DEFAULT_FREQUENCY (440.0f)
651 #define AL_RING_MODULATOR_MIN_HIGHPASS_CUTOFF (0.0f)
652 #define AL_RING_MODULATOR_MAX_HIGHPASS_CUTOFF (24000.0f)
653 #define AL_RING_MODULATOR_DEFAULT_HIGHPASS_CUTOFF (800.0f)
655 #define AL_RING_MODULATOR_SINUSOID (0)
656 #define AL_RING_MODULATOR_SAWTOOTH (1)
657 #define AL_RING_MODULATOR_SQUARE (2)
659 #define AL_RING_MODULATOR_MIN_WAVEFORM (0)
660 #define AL_RING_MODULATOR_MAX_WAVEFORM (2)
661 #define AL_RING_MODULATOR_DEFAULT_WAVEFORM (0)
663 /* Autowah effect */
664 #define AL_AUTOWAH_MIN_ATTACK_TIME (0.0001f)
665 #define AL_AUTOWAH_MAX_ATTACK_TIME (1.0f)
666 #define AL_AUTOWAH_DEFAULT_ATTACK_TIME (0.06f)
668 #define AL_AUTOWAH_MIN_RELEASE_TIME (0.0001f)
669 #define AL_AUTOWAH_MAX_RELEASE_TIME (1.0f)
670 #define AL_AUTOWAH_DEFAULT_RELEASE_TIME (0.06f)
672 #define AL_AUTOWAH_MIN_RESONANCE (2.0f)
673 #define AL_AUTOWAH_MAX_RESONANCE (1000.0f)
674 #define AL_AUTOWAH_DEFAULT_RESONANCE (1000.0f)
676 #define AL_AUTOWAH_MIN_PEAK_GAIN (0.00003f)
677 #define AL_AUTOWAH_MAX_PEAK_GAIN (31621.0f)
678 #define AL_AUTOWAH_DEFAULT_PEAK_GAIN (11.22f)
680 /* Compressor effect */
681 #define AL_COMPRESSOR_MIN_ONOFF (0)
682 #define AL_COMPRESSOR_MAX_ONOFF (1)
683 #define AL_COMPRESSOR_DEFAULT_ONOFF (1)
685 /* Equalizer effect */
686 #define AL_EQUALIZER_MIN_LOW_GAIN (0.126f)
687 #define AL_EQUALIZER_MAX_LOW_GAIN (7.943f)
688 #define AL_EQUALIZER_DEFAULT_LOW_GAIN (1.0f)
690 #define AL_EQUALIZER_MIN_LOW_CUTOFF (50.0f)
691 #define AL_EQUALIZER_MAX_LOW_CUTOFF (800.0f)
692 #define AL_EQUALIZER_DEFAULT_LOW_CUTOFF (200.0f)
694 #define AL_EQUALIZER_MIN_MID1_GAIN (0.126f)
695 #define AL_EQUALIZER_MAX_MID1_GAIN (7.943f)
696 #define AL_EQUALIZER_DEFAULT_MID1_GAIN (1.0f)
698 #define AL_EQUALIZER_MIN_MID1_CENTER (200.0f)
699 #define AL_EQUALIZER_MAX_MID1_CENTER (3000.0f)
700 #define AL_EQUALIZER_DEFAULT_MID1_CENTER (500.0f)
702 #define AL_EQUALIZER_MIN_MID1_WIDTH (0.01f)
703 #define AL_EQUALIZER_MAX_MID1_WIDTH (1.0f)
704 #define AL_EQUALIZER_DEFAULT_MID1_WIDTH (1.0f)
706 #define AL_EQUALIZER_MIN_MID2_GAIN (0.126f)
707 #define AL_EQUALIZER_MAX_MID2_GAIN (7.943f)
708 #define AL_EQUALIZER_DEFAULT_MID2_GAIN (1.0f)
710 #define AL_EQUALIZER_MIN_MID2_CENTER (1000.0f)
711 #define AL_EQUALIZER_MAX_MID2_CENTER (8000.0f)
712 #define AL_EQUALIZER_DEFAULT_MID2_CENTER (3000.0f)
714 #define AL_EQUALIZER_MIN_MID2_WIDTH (0.01f)
715 #define AL_EQUALIZER_MAX_MID2_WIDTH (1.0f)
716 #define AL_EQUALIZER_DEFAULT_MID2_WIDTH (1.0f)
718 #define AL_EQUALIZER_MIN_HIGH_GAIN (0.126f)
719 #define AL_EQUALIZER_MAX_HIGH_GAIN (7.943f)
720 #define AL_EQUALIZER_DEFAULT_HIGH_GAIN (1.0f)
722 #define AL_EQUALIZER_MIN_HIGH_CUTOFF (4000.0f)
723 #define AL_EQUALIZER_MAX_HIGH_CUTOFF (16000.0f)
724 #define AL_EQUALIZER_DEFAULT_HIGH_CUTOFF (6000.0f)
727 /* Source parameter value ranges and defaults. */
728 #define AL_MIN_AIR_ABSORPTION_FACTOR (0.0f)
729 #define AL_MAX_AIR_ABSORPTION_FACTOR (10.0f)
730 #define AL_DEFAULT_AIR_ABSORPTION_FACTOR (0.0f)
732 #define AL_MIN_ROOM_ROLLOFF_FACTOR (0.0f)
733 #define AL_MAX_ROOM_ROLLOFF_FACTOR (10.0f)
734 #define AL_DEFAULT_ROOM_ROLLOFF_FACTOR (0.0f)
736 #define AL_MIN_CONE_OUTER_GAINHF (0.0f)
737 #define AL_MAX_CONE_OUTER_GAINHF (1.0f)
738 #define AL_DEFAULT_CONE_OUTER_GAINHF (1.0f)
740 #define AL_MIN_DIRECT_FILTER_GAINHF_AUTO AL_FALSE
741 #define AL_MAX_DIRECT_FILTER_GAINHF_AUTO AL_TRUE
742 #define AL_DEFAULT_DIRECT_FILTER_GAINHF_AUTO AL_TRUE
744 #define AL_MIN_AUXILIARY_SEND_FILTER_GAIN_AUTO AL_FALSE
745 #define AL_MAX_AUXILIARY_SEND_FILTER_GAIN_AUTO AL_TRUE
746 #define AL_DEFAULT_AUXILIARY_SEND_FILTER_GAIN_AUTO AL_TRUE
748 #define AL_MIN_AUXILIARY_SEND_FILTER_GAINHF_AUTO AL_FALSE
749 #define AL_MAX_AUXILIARY_SEND_FILTER_GAINHF_AUTO AL_TRUE
750 #define AL_DEFAULT_AUXILIARY_SEND_FILTER_GAINHF_AUTO AL_TRUE
753 /* Listener parameter value ranges and defaults. */
754 #define AL_MIN_METERS_PER_UNIT FLT_MIN
755 #define AL_MAX_METERS_PER_UNIT FLT_MAX
756 #define AL_DEFAULT_METERS_PER_UNIT (1.0f)
759 #ifdef __cplusplus
760 } /* extern "C" */
761 #endif
762 /* NOLINTEND */
764 #endif /* AL_EFX_H */