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