annotate lib/OpenAL/efx.h @ 2575:a76d408c5132 tip

DrawTranslucent -> DrawTextureGrayShade Removed old texture drawing stuff
author a.parshin
date Wed, 09 Mar 2016 01:39:52 +0200
parents 992d2e6f907d
children
rev   line source
2134
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
1 #ifndef __efx_h_
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
2 #define __efx_h_
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
3
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
4
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
5 #ifdef __cplusplus
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
6 extern "C" {
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
7 #endif
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
8
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
9 #define ALC_EXT_EFX_NAME "ALC_EXT_EFX"
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
10
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
11 /**
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
12 * Context definitions to be used with alcCreateContext.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
13 * These values must be unique and not conflict with other
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
14 * al context values.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
15 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
16 #define ALC_EFX_MAJOR_VERSION 0x20001
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
17 #define ALC_EFX_MINOR_VERSION 0x20002
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
18 #define ALC_MAX_AUXILIARY_SENDS 0x20003
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
19
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
20
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
21
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
22
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
23 /**
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
24 * Listener definitions to be used with alListener functions.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
25 * These values must be unique and not conflict with other
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
26 * al listener values.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
27 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
28 #define AL_METERS_PER_UNIT 0x20004
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
29
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
30
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
31
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
32
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
33 /**
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
34 * Source definitions to be used with alSource functions.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
35 * These values must be unique and not conflict with other
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
36 * al source values.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
37 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
38 #define AL_DIRECT_FILTER 0x20005
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
39 #define AL_AUXILIARY_SEND_FILTER 0x20006
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
40 #define AL_AIR_ABSORPTION_FACTOR 0x20007
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
41 #define AL_ROOM_ROLLOFF_FACTOR 0x20008
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
42 #define AL_CONE_OUTER_GAINHF 0x20009
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
43 #define AL_DIRECT_FILTER_GAINHF_AUTO 0x2000A
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
44 #define AL_AUXILIARY_SEND_FILTER_GAIN_AUTO 0x2000B
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
45 #define AL_AUXILIARY_SEND_FILTER_GAINHF_AUTO 0x2000C
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
46
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
47
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
48
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
49
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
50 /**
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
51 * Effect object definitions to be used with alEffect functions.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
52 *
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
53 * Effect parameter value definitions, ranges, and defaults
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
54 * appear farther down in this file.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
55 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
56
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
57 /* Reverb Parameters */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
58 #define AL_REVERB_DENSITY 0x0001
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
59 #define AL_REVERB_DIFFUSION 0x0002
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
60 #define AL_REVERB_GAIN 0x0003
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
61 #define AL_REVERB_GAINHF 0x0004
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
62 #define AL_REVERB_DECAY_TIME 0x0005
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
63 #define AL_REVERB_DECAY_HFRATIO 0x0006
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
64 #define AL_REVERB_REFLECTIONS_GAIN 0x0007
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
65 #define AL_REVERB_REFLECTIONS_DELAY 0x0008
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
66 #define AL_REVERB_LATE_REVERB_GAIN 0x0009
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
67 #define AL_REVERB_LATE_REVERB_DELAY 0x000A
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
68 #define AL_REVERB_AIR_ABSORPTION_GAINHF 0x000B
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
69 #define AL_REVERB_ROOM_ROLLOFF_FACTOR 0x000C
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
70 #define AL_REVERB_DECAY_HFLIMIT 0x000D
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
71
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
72 /* Chorus Parameters */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
73 #define AL_CHORUS_WAVEFORM 0x0001
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
74 #define AL_CHORUS_PHASE 0x0002
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
75 #define AL_CHORUS_RATE 0x0003
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
76 #define AL_CHORUS_DEPTH 0x0004
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
77 #define AL_CHORUS_FEEDBACK 0x0005
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
78 #define AL_CHORUS_DELAY 0x0006
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
79
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
80 /* Distortion Parameters */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
81 #define AL_DISTORTION_EDGE 0x0001
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
82 #define AL_DISTORTION_GAIN 0x0002
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
83 #define AL_DISTORTION_LOWPASS_CUTOFF 0x0003
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
84 #define AL_DISTORTION_EQCENTER 0x0004
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
85 #define AL_DISTORTION_EQBANDWIDTH 0x0005
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
86
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
87 /* Echo Parameters */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
88 #define AL_ECHO_DELAY 0x0001
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
89 #define AL_ECHO_LRDELAY 0x0002
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
90 #define AL_ECHO_DAMPING 0x0003
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
91 #define AL_ECHO_FEEDBACK 0x0004
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
92 #define AL_ECHO_SPREAD 0x0005
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
93
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
94 /* Flanger Parameters */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
95 #define AL_FLANGER_WAVEFORM 0x0001
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
96 #define AL_FLANGER_PHASE 0x0002
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
97 #define AL_FLANGER_RATE 0x0003
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
98 #define AL_FLANGER_DEPTH 0x0004
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
99 #define AL_FLANGER_FEEDBACK 0x0005
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
100 #define AL_FLANGER_DELAY 0x0006
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
101
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
102 /* Frequencyshifter Parameters */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
103 #define AL_FREQUENCY_SHIFTER_FREQUENCY 0x0001
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
104 #define AL_FREQUENCY_SHIFTER_LEFT_DIRECTION 0x0002
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
105 #define AL_FREQUENCY_SHIFTER_RIGHT_DIRECTION 0x0003
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
106
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
107 /* Vocalmorpher Parameters */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
108 #define AL_VOCAL_MORPHER_PHONEMEA 0x0001
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
109 #define AL_VOCAL_MORPHER_PHONEMEA_COARSE_TUNING 0x0002
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
110 #define AL_VOCAL_MORPHER_PHONEMEB 0x0003
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
111 #define AL_VOCAL_MORPHER_PHONEMEB_COARSE_TUNING 0x0004
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
112 #define AL_VOCAL_MORPHER_WAVEFORM 0x0005
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
113 #define AL_VOCAL_MORPHER_RATE 0x0006
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
114
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
115 /* Pitchshifter Parameters */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
116 #define AL_PITCH_SHIFTER_COARSE_TUNE 0x0001
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
117 #define AL_PITCH_SHIFTER_FINE_TUNE 0x0002
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
118
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
119 /* Ringmodulator Parameters */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
120 #define AL_RING_MODULATOR_FREQUENCY 0x0001
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
121 #define AL_RING_MODULATOR_HIGHPASS_CUTOFF 0x0002
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
122 #define AL_RING_MODULATOR_WAVEFORM 0x0003
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
123
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
124 /* Autowah Parameters */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
125 #define AL_AUTOWAH_ATTACK_TIME 0x0001
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
126 #define AL_AUTOWAH_RELEASE_TIME 0x0002
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
127 #define AL_AUTOWAH_RESONANCE 0x0003
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
128 #define AL_AUTOWAH_PEAK_GAIN 0x0004
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
129
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
130 /* Compressor Parameters */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
131 #define AL_COMPRESSOR_ONOFF 0x0001
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
132
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
133 /* Equalizer Parameters */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
134 #define AL_EQUALIZER_LOW_GAIN 0x0001
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
135 #define AL_EQUALIZER_LOW_CUTOFF 0x0002
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
136 #define AL_EQUALIZER_MID1_GAIN 0x0003
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
137 #define AL_EQUALIZER_MID1_CENTER 0x0004
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
138 #define AL_EQUALIZER_MID1_WIDTH 0x0005
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
139 #define AL_EQUALIZER_MID2_GAIN 0x0006
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
140 #define AL_EQUALIZER_MID2_CENTER 0x0007
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
141 #define AL_EQUALIZER_MID2_WIDTH 0x0008
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
142 #define AL_EQUALIZER_HIGH_GAIN 0x0009
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
143 #define AL_EQUALIZER_HIGH_CUTOFF 0x000A
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
144
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
145 /* Effect type */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
146 #define AL_EFFECT_FIRST_PARAMETER 0x0000
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
147 #define AL_EFFECT_LAST_PARAMETER 0x8000
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
148 #define AL_EFFECT_TYPE 0x8001
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
149
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
150 /* Effect type definitions to be used with AL_EFFECT_TYPE. */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
151 #define AL_EFFECT_NULL 0x0000 /* Can also be used as an Effect Object ID */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
152 #define AL_EFFECT_REVERB 0x0001
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
153 #define AL_EFFECT_CHORUS 0x0002
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
154 #define AL_EFFECT_DISTORTION 0x0003
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
155 #define AL_EFFECT_ECHO 0x0004
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
156 #define AL_EFFECT_FLANGER 0x0005
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
157 #define AL_EFFECT_FREQUENCY_SHIFTER 0x0006
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
158 #define AL_EFFECT_VOCAL_MORPHER 0x0007
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
159 #define AL_EFFECT_PITCH_SHIFTER 0x0008
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
160 #define AL_EFFECT_RING_MODULATOR 0x0009
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
161 #define AL_EFFECT_AUTOWAH 0x000A
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
162 #define AL_EFFECT_COMPRESSOR 0x000B
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
163 #define AL_EFFECT_EQUALIZER 0x000C
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
164
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
165 /**
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
166 * Auxiliary Slot object definitions to be used with alAuxiliaryEffectSlot functions.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
167 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
168 #define AL_EFFECTSLOT_EFFECT 0x0001
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
169 #define AL_EFFECTSLOT_GAIN 0x0002
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
170 #define AL_EFFECTSLOT_AUXILIARY_SEND_AUTO 0x0003
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
171
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
172 /**
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
173 * Value to be used as an Auxiliary Slot ID to disable a source send..
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
174 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
175 #define AL_EFFECTSLOT_NULL 0x0000
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
176
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
177
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
178
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
179 /**
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
180 * Filter object definitions to be used with alFilter functions.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
181 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
182
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
183 /* Lowpass parameters. */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
184 #define AL_LOWPASS_GAIN 0x0001
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
185 #define AL_LOWPASS_GAINHF 0x0002
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
186
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
187 /* Highpass Parameters */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
188 #define AL_HIGHPASS_GAIN 0x0001
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
189 #define AL_HIGHPASS_GAINLF 0x0002
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
190
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
191 /* Bandpass Parameters */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
192 #define AL_BANDPASS_GAIN 0x0001
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
193 #define AL_BANDPASS_GAINLF 0x0002
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
194 #define AL_BANDPASS_GAINHF 0x0003
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
195
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
196 /* Filter type */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
197 #define AL_FILTER_FIRST_PARAMETER 0x0000
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
198 #define AL_FILTER_LAST_PARAMETER 0x8000
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
199 #define AL_FILTER_TYPE 0x8001
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
200
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
201 /* Filter type definitions to be used with AL_FILTER_TYPE. */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
202 #define AL_FILTER_NULL 0x0000 /* Can also be used as a Filter Object ID */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
203 #define AL_FILTER_LOWPASS 0x0001
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
204 #define AL_FILTER_HIGHPASS 0x0002
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
205 #define AL_FILTER_BANDPASS 0x0003
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
206
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
207
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
208 /**
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
209 * Effect object functions.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
210 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
211
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
212 /* Create Effect objects. */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
213 typedef void (__cdecl *LPALGENEFFECTS)( ALsizei n, ALuint* effects );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
214
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
215 /* Delete Effect objects. */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
216 typedef void (__cdecl *LPALDELETEEFFECTS)( ALsizei n, ALuint* effects );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
217
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
218 /* Verify a handle is a valid Effect. */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
219 typedef ALboolean (__cdecl *LPALISEFFECT)( ALuint eid );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
220
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
221 /* Set an integer parameter for an Effect object. */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
222 typedef void (__cdecl *LPALEFFECTI)( ALuint eid, ALenum param, ALint value);
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
223 typedef void (__cdecl *LPALEFFECTIV)( ALuint eid, ALenum param, ALint* values );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
224
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
225 /* Set a floating point parameter for an Effect object. */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
226 typedef void (__cdecl *LPALEFFECTF)( ALuint eid, ALenum param, ALfloat value);
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
227 typedef void (__cdecl *LPALEFFECTFV)( ALuint eid, ALenum param, ALfloat* values );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
228
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
229 /* Get an integer parameter for an Effect object. */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
230 typedef void (__cdecl *LPALGETEFFECTI)( ALuint eid, ALenum pname, ALint* value );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
231 typedef void (__cdecl *LPALGETEFFECTIV)( ALuint eid, ALenum pname, ALint* values );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
232
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
233 /* Get a floating point parameter for an Effect object. */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
234 typedef void (__cdecl *LPALGETEFFECTF)( ALuint eid, ALenum pname, ALfloat* value );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
235 typedef void (__cdecl *LPALGETEFFECTFV)( ALuint eid, ALenum pname, ALfloat* values );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
236
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
237
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
238 /**
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
239 * Filter object functions
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
240 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
241
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
242 /* Create Filter objects. */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
243 typedef void (__cdecl *LPALGENFILTERS)( ALsizei n, ALuint* filters );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
244
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
245 /* Delete Filter objects. */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
246 typedef void (__cdecl *LPALDELETEFILTERS)( ALsizei n, ALuint* filters );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
247
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
248 /* Verify a handle is a valid Filter. */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
249 typedef ALboolean (__cdecl *LPALISFILTER)( ALuint fid );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
250
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
251 /* Set an integer parameter for a Filter object. */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
252 typedef void (__cdecl *LPALFILTERI)( ALuint fid, ALenum param, ALint value );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
253 typedef void (__cdecl *LPALFILTERIV)( ALuint fid, ALenum param, ALint* values );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
254
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
255 /* Set a floating point parameter for an Filter object. */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
256 typedef void (__cdecl *LPALFILTERF)( ALuint fid, ALenum param, ALfloat value);
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
257 typedef void (__cdecl *LPALFILTERFV)( ALuint fid, ALenum param, ALfloat* values );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
258
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
259 /* Get an integer parameter for a Filter object. */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
260 typedef void (__cdecl *LPALGETFILTERI)( ALuint fid, ALenum pname, ALint* value );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
261 typedef void (__cdecl *LPALGETFILTERIV)( ALuint fid, ALenum pname, ALint* values );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
262
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
263 /* Get a floating point parameter for a Filter object. */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
264 typedef void (__cdecl *LPALGETFILTERF)( ALuint fid, ALenum pname, ALfloat* value );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
265 typedef void (__cdecl *LPALGETFILTERFV)( ALuint fid, ALenum pname, ALfloat* values );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
266
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
267
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
268 /**
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
269 * Auxiliary Slot object functions
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
270 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
271
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
272 /* Create Auxiliary Slot objects. */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
273 typedef void (__cdecl *LPALGENAUXILIARYEFFECTSLOTS)( ALsizei n, ALuint* slots );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
274
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
275 /* Delete Auxiliary Slot objects. */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
276 typedef void (__cdecl *LPALDELETEAUXILIARYEFFECTSLOTS)( ALsizei n, ALuint* slots );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
277
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
278 /* Verify a handle is a valid Auxiliary Slot. */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
279 typedef ALboolean (__cdecl *LPALISAUXILIARYEFFECTSLOT)( ALuint slot );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
280
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
281 /* Set an integer parameter for a Auxiliary Slot object. */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
282 typedef void (__cdecl *LPALAUXILIARYEFFECTSLOTI)( ALuint asid, ALenum param, ALint value );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
283 typedef void (__cdecl *LPALAUXILIARYEFFECTSLOTIV)( ALuint asid, ALenum param, ALint* values );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
284
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
285 /* Set a floating point parameter for an Auxiliary Slot object. */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
286 typedef void (__cdecl *LPALAUXILIARYEFFECTSLOTF)( ALuint asid, ALenum param, ALfloat value );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
287 typedef void (__cdecl *LPALAUXILIARYEFFECTSLOTFV)( ALuint asid, ALenum param, ALfloat* values );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
288
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
289 /* Get an integer parameter for a Auxiliary Slot object. */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
290 typedef void (__cdecl *LPALGETAUXILIARYEFFECTSLOTI)( ALuint asid, ALenum pname, ALint* value );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
291 typedef void (__cdecl *LPALGETAUXILIARYEFFECTSLOTIV)( ALuint asid, ALenum pname, ALint* values );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
292
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
293 /* Get a floating point parameter for a Auxiliary Slot object. */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
294 typedef void (__cdecl *LPALGETAUXILIARYEFFECTSLOTF)( ALuint asid, ALenum pname, ALfloat* value );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
295 typedef void (__cdecl *LPALGETAUXILIARYEFFECTSLOTFV)( ALuint asid, ALenum pname, ALfloat* values );
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
296
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
297
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
298
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
299
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
300 /**********************************************************
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
301 * Filter ranges and defaults.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
302 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
303
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
304 /**
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
305 * Lowpass filter
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
306 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
307
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
308 #define LOWPASS_MIN_GAIN 0.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
309 #define LOWPASS_MAX_GAIN 1.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
310 #define LOWPASS_DEFAULT_GAIN 1.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
311
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
312 #define LOWPASS_MIN_GAINHF 0.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
313 #define LOWPASS_MAX_GAINHF 1.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
314 #define LOWPASS_DEFAULT_GAINHF 1.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
315
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
316 /**
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
317 * Highpass filter
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
318 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
319
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
320 #define HIGHPASS_MIN_GAIN 0.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
321 #define HIGHPASS_MAX_GAIN 1.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
322 #define HIGHPASS_DEFAULT_GAIN 1.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
323
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
324 #define HIGHPASS_MIN_GAINLF 0.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
325 #define HIGHPASS_MAX_GAINLF 1.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
326 #define HIGHPASS_DEFAULT_GAINLF 1.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
327
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
328 /**
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
329 * Bandpass filter
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
330 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
331
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
332 #define BANDPASS_MIN_GAIN 0.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
333 #define BANDPASS_MAX_GAIN 1.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
334 #define BANDPASS_DEFAULT_GAIN 1.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
335
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
336 #define BANDPASS_MIN_GAINHF 0.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
337 #define BANDPASS_MAX_GAINHF 1.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
338 #define BANDPASS_DEFAULT_GAINHF 1.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
339
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
340 #define BANDPASS_MIN_GAINLF 0.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
341 #define BANDPASS_MAX_GAINLF 1.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
342 #define BANDPASS_DEFAULT_GAINLF 1.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
343
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
344
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
345
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
346
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
347 /**********************************************************
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
348 * Effect parameter structures, value definitions, ranges and defaults.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
349 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
350
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
351 /**
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
352 * AL reverb effect parameter ranges and defaults
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
353 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
354 #define AL_REVERB_MIN_DENSITY 0.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
355 #define AL_REVERB_MAX_DENSITY 1.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
356 #define AL_REVERB_DEFAULT_DENSITY 1.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
357
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
358 #define AL_REVERB_MIN_DIFFUSION 0.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
359 #define AL_REVERB_MAX_DIFFUSION 1.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
360 #define AL_REVERB_DEFAULT_DIFFUSION 1.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
361
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
362 #define AL_REVERB_MIN_GAIN 0.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
363 #define AL_REVERB_MAX_GAIN 1.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
364 #define AL_REVERB_DEFAULT_GAIN 0.32f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
365
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
366 #define AL_REVERB_MIN_GAINHF 0.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
367 #define AL_REVERB_MAX_GAINHF 1.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
368 #define AL_REVERB_DEFAULT_GAINHF 0.89f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
369
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
370 #define AL_REVERB_MIN_DECAY_TIME 0.1f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
371 #define AL_REVERB_MAX_DECAY_TIME 20.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
372 #define AL_REVERB_DEFAULT_DECAY_TIME 1.49f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
373
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
374 #define AL_REVERB_MIN_DECAY_HFRATIO 0.1f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
375 #define AL_REVERB_MAX_DECAY_HFRATIO 2.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
376 #define AL_REVERB_DEFAULT_DECAY_HFRATIO 0.83f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
377
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
378 #define AL_REVERB_MIN_REFLECTIONS_GAIN 0.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
379 #define AL_REVERB_MAX_REFLECTIONS_GAIN 3.16f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
380 #define AL_REVERB_DEFAULT_REFLECTIONS_GAIN 0.05f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
381
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
382 #define AL_REVERB_MIN_REFLECTIONS_DELAY 0.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
383 #define AL_REVERB_MAX_REFLECTIONS_DELAY 0.3f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
384 #define AL_REVERB_DEFAULT_REFLECTIONS_DELAY 0.007f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
385
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
386 #define AL_REVERB_MIN_LATE_REVERB_GAIN 0.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
387 #define AL_REVERB_MAX_LATE_REVERB_GAIN 10.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
388 #define AL_REVERB_DEFAULT_LATE_REVERB_GAIN 1.26f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
389
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
390 #define AL_REVERB_MIN_LATE_REVERB_DELAY 0.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
391 #define AL_REVERB_MAX_LATE_REVERB_DELAY 0.1f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
392 #define AL_REVERB_DEFAULT_LATE_REVERB_DELAY 0.011f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
393
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
394 #define AL_REVERB_MIN_AIR_ABSORPTION_GAINHF 0.892f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
395 #define AL_REVERB_MAX_AIR_ABSORPTION_GAINHF 1.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
396 #define AL_REVERB_DEFAULT_AIR_ABSORPTION_GAINHF 0.994f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
397
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
398 #define AL_REVERB_MIN_ROOM_ROLLOFF_FACTOR 0.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
399 #define AL_REVERB_MAX_ROOM_ROLLOFF_FACTOR 10.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
400 #define AL_REVERB_DEFAULT_ROOM_ROLLOFF_FACTOR 0.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
401
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
402 #define AL_REVERB_MIN_DECAY_HFLIMIT AL_FALSE
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
403 #define AL_REVERB_MAX_DECAY_HFLIMIT AL_TRUE
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
404 #define AL_REVERB_DEFAULT_DECAY_HFLIMIT AL_TRUE
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
405
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
406 /**
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
407 * AL chorus effect parameter ranges and defaults
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
408 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
409 #define AL_CHORUS_MIN_WAVEFORM 0
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
410 #define AL_CHORUS_MAX_WAVEFORM 1
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
411 #define AL_CHORUS_DEFAULT_WAVEFORM 1
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
412
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
413 #define AL_CHORUS_WAVEFORM_SINUSOID 0
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
414 #define AL_CHORUS_WAVEFORM_TRIANGLE 1
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
415
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
416 #define AL_CHORUS_MIN_PHASE (-180)
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
417 #define AL_CHORUS_MAX_PHASE 180
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
418 #define AL_CHORUS_DEFAULT_PHASE 90
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
419
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
420 #define AL_CHORUS_MIN_RATE 0.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
421 #define AL_CHORUS_MAX_RATE 10.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
422 #define AL_CHORUS_DEFAULT_RATE 1.1f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
423
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
424 #define AL_CHORUS_MIN_DEPTH 0.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
425 #define AL_CHORUS_MAX_DEPTH 1.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
426 #define AL_CHORUS_DEFAULT_DEPTH 0.1f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
427
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
428 #define AL_CHORUS_MIN_FEEDBACK (-1.0f)
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
429 #define AL_CHORUS_MAX_FEEDBACK 1.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
430 #define AL_CHORUS_DEFAULT_FEEDBACK 0.25f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
431
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
432 #define AL_CHORUS_MIN_DELAY 0.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
433 #define AL_CHORUS_MAX_DELAY 0.016f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
434 #define AL_CHORUS_DEFAULT_DELAY 0.016f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
435
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
436 /**
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
437 * AL distortion effect parameter ranges and defaults
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
438 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
439 #define AL_DISTORTION_MIN_EDGE 0.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
440 #define AL_DISTORTION_MAX_EDGE 1.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
441 #define AL_DISTORTION_DEFAULT_EDGE 0.2f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
442
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
443 #define AL_DISTORTION_MIN_GAIN 0.01f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
444 #define AL_DISTORTION_MAX_GAIN 1.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
445 #define AL_DISTORTION_DEFAULT_GAIN 0.05f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
446
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
447 #define AL_DISTORTION_MIN_LOWPASS_CUTOFF 80.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
448 #define AL_DISTORTION_MAX_LOWPASS_CUTOFF 24000.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
449 #define AL_DISTORTION_DEFAULT_LOWPASS_CUTOFF 8000.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
450
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
451 #define AL_DISTORTION_MIN_EQCENTER 80.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
452 #define AL_DISTORTION_MAX_EQCENTER 24000.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
453 #define AL_DISTORTION_DEFAULT_EQCENTER 3600.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
454
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
455 #define AL_DISTORTION_MIN_EQBANDWIDTH 80.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
456 #define AL_DISTORTION_MAX_EQBANDWIDTH 24000.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
457 #define AL_DISTORTION_DEFAULT_EQBANDWIDTH 3600.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
458
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
459 /**
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
460 * AL echo effect parameter ranges and defaults
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
461 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
462 #define AL_ECHO_MIN_DELAY 0.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
463 #define AL_ECHO_MAX_DELAY 0.207f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
464 #define AL_ECHO_DEFAULT_DELAY 0.1f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
465
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
466 #define AL_ECHO_MIN_LRDELAY 0.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
467 #define AL_ECHO_MAX_LRDELAY 0.404f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
468 #define AL_ECHO_DEFAULT_LRDELAY 0.1f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
469
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
470 #define AL_ECHO_MIN_DAMPING 0.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
471 #define AL_ECHO_MAX_DAMPING 0.99f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
472 #define AL_ECHO_DEFAULT_DAMPING 0.5f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
473
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
474 #define AL_ECHO_MIN_FEEDBACK 0.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
475 #define AL_ECHO_MAX_FEEDBACK 1.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
476 #define AL_ECHO_DEFAULT_FEEDBACK 0.5f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
477
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
478 #define AL_ECHO_MIN_SPREAD (-1.0f)
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
479 #define AL_ECHO_MAX_SPREAD 1.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
480 #define AL_ECHO_DEFAULT_SPREAD (-1.0f)
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
481
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
482 /**
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
483 * AL flanger effect parameter ranges and defaults
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
484 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
485 #define AL_FLANGER_MIN_WAVEFORM 0
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
486 #define AL_FLANGER_MAX_WAVEFORM 1
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
487 #define AL_FLANGER_DEFAULT_WAVEFORM 1
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
488
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
489 #define AL_FLANGER_WAVEFORM_SINUSOID 0
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
490 #define AL_FLANGER_WAVEFORM_TRIANGLE 1
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
491
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
492 #define AL_FLANGER_MIN_PHASE (-180)
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
493 #define AL_FLANGER_MAX_PHASE 180
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
494 #define AL_FLANGER_DEFAULT_PHASE 0
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
495
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
496 #define AL_FLANGER_MIN_RATE 0.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
497 #define AL_FLANGER_MAX_RATE 10.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
498 #define AL_FLANGER_DEFAULT_RATE 0.27f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
499
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
500 #define AL_FLANGER_MIN_DEPTH 0.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
501 #define AL_FLANGER_MAX_DEPTH 1.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
502 #define AL_FLANGER_DEFAULT_DEPTH 1.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
503
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
504 #define AL_FLANGER_MIN_FEEDBACK (-1.0f)
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
505 #define AL_FLANGER_MAX_FEEDBACK 1.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
506 #define AL_FLANGER_DEFAULT_FEEDBACK (-0.5f)
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
507
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
508 #define AL_FLANGER_MIN_DELAY 0.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
509 #define AL_FLANGER_MAX_DELAY 0.004f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
510 #define AL_FLANGER_DEFAULT_DELAY 0.002f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
511
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
512 /**
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
513 * AL frequency shifter effect parameter ranges and defaults
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
514 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
515 #define AL_FREQUENCY_SHIFTER_MIN_FREQUENCY 0.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
516 #define AL_FREQUENCY_SHIFTER_MAX_FREQUENCY 24000.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
517 #define AL_FREQUENCY_SHIFTER_DEFAULT_FREQUENCY 0.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
518
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
519 #define AL_FREQUENCY_SHIFTER_MIN_LEFT_DIRECTION 0
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
520 #define AL_FREQUENCY_SHIFTER_MAX_LEFT_DIRECTION 2
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
521 #define AL_FREQUENCY_SHIFTER_DEFAULT_LEFT_DIRECTION 0
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
522
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
523 #define AL_FREQUENCY_SHIFTER_MIN_RIGHT_DIRECTION 0
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
524 #define AL_FREQUENCY_SHIFTER_MAX_RIGHT_DIRECTION 2
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
525 #define AL_FREQUENCY_SHIFTER_DEFAULT_RIGHT_DIRECTION 0
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
526
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
527 #define AL_FREQUENCY_SHIFTER_DIRECTION_DOWN 0
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
528 #define AL_FREQUENCY_SHIFTER_DIRECTION_UP 1
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
529 #define AL_FREQUENCY_SHIFTER_DIRECTION_OFF 2
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
530
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
531 /**
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
532 * AL vocal morpher effect parameter ranges and defaults
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
533 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
534 #define AL_VOCAL_MORPHER_MIN_PHONEMEA 0
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
535 #define AL_VOCAL_MORPHER_MAX_PHONEMEA 29
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
536 #define AL_VOCAL_MORPHER_DEFAULT_PHONEMEA 0
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
537
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
538 #define AL_VOCAL_MORPHER_MIN_PHONEMEA_COARSE_TUNING (-24)
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
539 #define AL_VOCAL_MORPHER_MAX_PHONEMEA_COARSE_TUNING 24
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
540 #define AL_VOCAL_MORPHER_DEFAULT_PHONEMEA_COARSE_TUNING 0
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
541
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
542 #define AL_VOCAL_MORPHER_MIN_PHONEMEB 0
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
543 #define AL_VOCAL_MORPHER_MAX_PHONEMEB 29
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
544 #define AL_VOCAL_MORPHER_DEFAULT_PHONEMEB 10
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
545
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
546 #define AL_VOCAL_MORPHER_PHONEME_A 0
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
547 #define AL_VOCAL_MORPHER_PHONEME_E 1
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
548 #define AL_VOCAL_MORPHER_PHONEME_I 2
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
549 #define AL_VOCAL_MORPHER_PHONEME_O 3
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
550 #define AL_VOCAL_MORPHER_PHONEME_U 4
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
551 #define AL_VOCAL_MORPHER_PHONEME_AA 5
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
552 #define AL_VOCAL_MORPHER_PHONEME_AE 6
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
553 #define AL_VOCAL_MORPHER_PHONEME_AH 7
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
554 #define AL_VOCAL_MORPHER_PHONEME_AO 8
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
555 #define AL_VOCAL_MORPHER_PHONEME_EH 9
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
556 #define AL_VOCAL_MORPHER_PHONEME_ER 10
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
557 #define AL_VOCAL_MORPHER_PHONEME_IH 11
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
558 #define AL_VOCAL_MORPHER_PHONEME_IY 12
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
559 #define AL_VOCAL_MORPHER_PHONEME_UH 13
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
560 #define AL_VOCAL_MORPHER_PHONEME_UW 14
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
561 #define AL_VOCAL_MORPHER_PHONEME_B 15
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
562 #define AL_VOCAL_MORPHER_PHONEME_D 16
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
563 #define AL_VOCAL_MORPHER_PHONEME_F 17
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
564 #define AL_VOCAL_MORPHER_PHONEME_G 18
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
565 #define AL_VOCAL_MORPHER_PHONEME_J 19
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
566 #define AL_VOCAL_MORPHER_PHONEME_K 20
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
567 #define AL_VOCAL_MORPHER_PHONEME_L 21
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
568 #define AL_VOCAL_MORPHER_PHONEME_M 22
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
569 #define AL_VOCAL_MORPHER_PHONEME_N 23
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
570 #define AL_VOCAL_MORPHER_PHONEME_P 24
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
571 #define AL_VOCAL_MORPHER_PHONEME_R 25
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
572 #define AL_VOCAL_MORPHER_PHONEME_S 26
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
573 #define AL_VOCAL_MORPHER_PHONEME_T 27
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
574 #define AL_VOCAL_MORPHER_PHONEME_V 28
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
575 #define AL_VOCAL_MORPHER_PHONEME_Z 29
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
576
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
577 #define AL_VOCAL_MORPHER_MIN_PHONEMEB_COARSE_TUNING (-24)
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
578 #define AL_VOCAL_MORPHER_MAX_PHONEMEB_COARSE_TUNING 24
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
579 #define AL_VOCAL_MORPHER_DEFAULT_PHONEMEB_COARSE_TUNING 0
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
580
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
581 #define AL_VOCAL_MORPHER_MIN_WAVEFORM 0
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
582 #define AL_VOCAL_MORPHER_MAX_WAVEFORM 2
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
583 #define AL_VOCAL_MORPHER_DEFAULT_WAVEFORM 0
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
584
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
585 #define AL_VOCAL_MORPHER_WAVEFORM_SINUSOID 0
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
586 #define AL_VOCAL_MORPHER_WAVEFORM_TRIANGLE 1
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
587 #define AL_VOCAL_MORPHER_WAVEFORM_SAWTOOTH 2
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
588
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
589 #define AL_VOCAL_MORPHER_MIN_RATE 0.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
590 #define AL_VOCAL_MORPHER_MAX_RATE 10.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
591 #define AL_VOCAL_MORPHER_DEFAULT_RATE 1.41f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
592
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
593 /**
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
594 * AL pitch shifter effect parameter ranges and defaults
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
595 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
596 #define AL_PITCH_SHIFTER_MIN_COARSE_TUNE (-12)
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
597 #define AL_PITCH_SHIFTER_MAX_COARSE_TUNE 12
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
598 #define AL_PITCH_SHIFTER_DEFAULT_COARSE_TUNE 12
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
599
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
600 #define AL_PITCH_SHIFTER_MIN_FINE_TUNE (-50)
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
601 #define AL_PITCH_SHIFTER_MAX_FINE_TUNE 50
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
602 #define AL_PITCH_SHIFTER_DEFAULT_FINE_TUNE 0
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
603
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
604 /**
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
605 * AL ring modulator effect parameter ranges and defaults
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
606 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
607 #define AL_RING_MODULATOR_MIN_FREQUENCY 0.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
608 #define AL_RING_MODULATOR_MAX_FREQUENCY 8000.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
609 #define AL_RING_MODULATOR_DEFAULT_FREQUENCY 440.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
610
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
611 #define AL_RING_MODULATOR_MIN_HIGHPASS_CUTOFF 0.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
612 #define AL_RING_MODULATOR_MAX_HIGHPASS_CUTOFF 24000.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
613 #define AL_RING_MODULATOR_DEFAULT_HIGHPASS_CUTOFF 800.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
614
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
615 #define AL_RING_MODULATOR_MIN_WAVEFORM 0
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
616 #define AL_RING_MODULATOR_MAX_WAVEFORM 2
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
617 #define AL_RING_MODULATOR_DEFAULT_WAVEFORM 0
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
618
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
619 #define AL_RING_MODULATOR_SINUSOID 0
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
620 #define AL_RING_MODULATOR_SAWTOOTH 1
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
621 #define AL_RING_MODULATOR_SQUARE 2
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
622
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
623 /**
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
624 * AL autowah effect parameter ranges and defaults
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
625 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
626 #define AL_AUTOWAH_MIN_ATTACK_TIME 0.0001f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
627 #define AL_AUTOWAH_MAX_ATTACK_TIME 1.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
628 #define AL_AUTOWAH_DEFAULT_ATTACK_TIME 0.06f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
629
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
630 #define AL_AUTOWAH_MIN_RELEASE_TIME 0.0001f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
631 #define AL_AUTOWAH_MAX_RELEASE_TIME 1.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
632 #define AL_AUTOWAH_DEFAULT_RELEASE_TIME 0.06f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
633
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
634 #define AL_AUTOWAH_MIN_RESONANCE 2.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
635 #define AL_AUTOWAH_MAX_RESONANCE 1000.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
636 #define AL_AUTOWAH_DEFAULT_RESONANCE 1000.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
637
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
638 #define AL_AUTOWAH_MIN_PEAK_GAIN 0.00003f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
639 #define AL_AUTOWAH_MAX_PEAK_GAIN 31621.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
640 #define AL_AUTOWAH_DEFAULT_PEAK_GAIN 11.22f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
641
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
642 /**
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
643 * AL compressor effect parameter ranges and defaults
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
644 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
645 #define AL_COMPRESSOR_MIN_ONOFF 0
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
646 #define AL_COMPRESSOR_MAX_ONOFF 1
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
647 #define AL_COMPRESSOR_DEFAULT_ONOFF 1
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
648
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
649 /**
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
650 * AL equalizer effect parameter ranges and defaults
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
651 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
652 #define AL_EQUALIZER_MIN_LOW_GAIN 0.126f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
653 #define AL_EQUALIZER_MAX_LOW_GAIN 7.943f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
654 #define AL_EQUALIZER_DEFAULT_LOW_GAIN 1.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
655
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
656 #define AL_EQUALIZER_MIN_LOW_CUTOFF 50.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
657 #define AL_EQUALIZER_MAX_LOW_CUTOFF 800.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
658 #define AL_EQUALIZER_DEFAULT_LOW_CUTOFF 200.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
659
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
660 #define AL_EQUALIZER_MIN_MID1_GAIN 0.126f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
661 #define AL_EQUALIZER_MAX_MID1_GAIN 7.943f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
662 #define AL_EQUALIZER_DEFAULT_MID1_GAIN 1.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
663
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
664 #define AL_EQUALIZER_MIN_MID1_CENTER 200.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
665 #define AL_EQUALIZER_MAX_MID1_CENTER 3000.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
666 #define AL_EQUALIZER_DEFAULT_MID1_CENTER 500.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
667
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
668 #define AL_EQUALIZER_MIN_MID1_WIDTH 0.01f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
669 #define AL_EQUALIZER_MAX_MID1_WIDTH 1.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
670 #define AL_EQUALIZER_DEFAULT_MID1_WIDTH 1.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
671
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
672 #define AL_EQUALIZER_MIN_MID2_GAIN 0.126f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
673 #define AL_EQUALIZER_MAX_MID2_GAIN 7.943f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
674 #define AL_EQUALIZER_DEFAULT_MID2_GAIN 1.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
675
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
676 #define AL_EQUALIZER_MIN_MID2_CENTER 1000.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
677 #define AL_EQUALIZER_MAX_MID2_CENTER 8000.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
678 #define AL_EQUALIZER_DEFAULT_MID2_CENTER 3000.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
679
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
680 #define AL_EQUALIZER_MIN_MID2_WIDTH 0.01f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
681 #define AL_EQUALIZER_MAX_MID2_WIDTH 1.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
682 #define AL_EQUALIZER_DEFAULT_MID2_WIDTH 1.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
683
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
684 #define AL_EQUALIZER_MIN_HIGH_GAIN 0.126f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
685 #define AL_EQUALIZER_MAX_HIGH_GAIN 7.943f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
686 #define AL_EQUALIZER_DEFAULT_HIGH_GAIN 1.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
687
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
688 #define AL_EQUALIZER_MIN_HIGH_CUTOFF 4000.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
689 #define AL_EQUALIZER_MAX_HIGH_CUTOFF 16000.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
690 #define AL_EQUALIZER_DEFAULT_HIGH_CUTOFF 6000.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
691
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
692
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
693
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
694
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
695 /**********************************************************
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
696 * Source parameter value definitions, ranges and defaults.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
697 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
698 #define AL_MIN_AIR_ABSORPTION_FACTOR 0.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
699 #define AL_MAX_AIR_ABSORPTION_FACTOR 10.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
700 #define AL_DEFAULT_AIR_ABSORPTION_FACTOR 0.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
701
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
702 #define AL_MIN_ROOM_ROLLOFF_FACTOR 0.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
703 #define AL_MAX_ROOM_ROLLOFF_FACTOR 10.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
704 #define AL_DEFAULT_ROOM_ROLLOFF_FACTOR 0.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
705
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
706 #define AL_MIN_CONE_OUTER_GAINHF 0.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
707 #define AL_MAX_CONE_OUTER_GAINHF 1.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
708 #define AL_DEFAULT_CONE_OUTER_GAINHF 1.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
709
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
710 #define AL_MIN_DIRECT_FILTER_GAINHF_AUTO AL_FALSE
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
711 #define AL_MAX_DIRECT_FILTER_GAINHF_AUTO AL_TRUE
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
712 #define AL_DEFAULT_DIRECT_FILTER_GAINHF_AUTO AL_TRUE
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
713
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
714 #define AL_MIN_AUXILIARY_SEND_FILTER_GAIN_AUTO AL_FALSE
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
715 #define AL_MAX_AUXILIARY_SEND_FILTER_GAIN_AUTO AL_TRUE
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
716 #define AL_DEFAULT_AUXILIARY_SEND_FILTER_GAIN_AUTO AL_TRUE
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
717
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
718 #define AL_MIN_AUXILIARY_SEND_FILTER_GAINHF_AUTO AL_FALSE
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
719 #define AL_MAX_AUXILIARY_SEND_FILTER_GAINHF_AUTO AL_TRUE
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
720 #define AL_DEFAULT_AUXILIARY_SEND_FILTER_GAINHF_AUTO AL_TRUE
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
721
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
722
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
723
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
724
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
725 /**********************************************************
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
726 * Listener parameter value definitions, ranges and defaults.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
727 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
728 #define AL_MIN_METERS_PER_UNIT FLT_MIN
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
729 #define AL_MAX_METERS_PER_UNIT FLT_MAX
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
730 #define AL_DEFAULT_METERS_PER_UNIT 1.0f
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
731
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
732
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
733 #ifdef __cplusplus
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
734 } /* extern "C" */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
735 #endif
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
736
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
737 #endif /* __efx_h_ */