9 #ifndef EAX20_H_INCLUDED
10 #define EAX20_H_INCLUDED
25 0x99, 0xe5, 0x0, 0x0, 0xe8, 0xd8, 0xc7, 0x22);
48 #define DSPROPERTY_EAX20LISTENER_IMMEDIATE 0x00000000 // changes take effect immediately
49 #define DSPROPERTY_EAX20LISTENER_DEFERRED 0x80000000 // changes take effect later
50 #define DSPROPERTY_EAX20LISTENER_COMMITDEFERREDSETTINGS (DSPROPERTY_EAX20LISTENER_NONE | \
51 DSPROPERTY_EAX20LISTENER_IMMEDIATE)
129 #define EAX20LISTENERFLAGS_DECAYTIMESCALE 0x00000001 // reverberation decay time
130 #define EAX20LISTENERFLAGS_REFLECTIONSSCALE 0x00000002 // reflection level
131 #define EAX20LISTENERFLAGS_REFLECTIONSDELAYSCALE 0x00000004 // initial reflection delay time
132 #define EAX20LISTENERFLAGS_REVERBSCALE 0x00000008 // reflections level
133 #define EAX20LISTENERFLAGS_REVERBDELAYSCALE 0x00000010 // late reverberation delay time
136 #define EAX20LISTENERFLAGS_DECAYHFLIMIT 0x00000020
138 #define EAX20LISTENERFLAGS_RESERVED 0xFFFFFFC0 // reserved future use
142 #define EAX20LISTENER_MINROOM (-10000)
143 #define EAX20LISTENER_MAXROOM 0
144 #define EAX20LISTENER_DEFAULTROOM (-1000)
146 #define EAX20LISTENER_MINROOMHF (-10000)
147 #define EAX20LISTENER_MAXROOMHF 0
148 #define EAX20LISTENER_DEFAULTROOMHF (-100)
150 #define EAX20LISTENER_MINROOMROLLOFFFACTOR 0.0f
151 #define EAX20LISTENER_MAXROOMROLLOFFFACTOR 10.0f
152 #define EAX20LISTENER_DEFAULTROOMROLLOFFFACTOR 0.0f
154 #define EAX20LISTENER_MINDECAYTIME 0.1f
155 #define EAX20LISTENER_MAXDECAYTIME 20.0f
156 #define EAX20LISTENER_DEFAULTDECAYTIME 1.49f
158 #define EAX20LISTENER_MINDECAYHFRATIO 0.1f
159 #define EAX20LISTENER_MAXDECAYHFRATIO 2.0f
160 #define EAX20LISTENER_DEFAULTDECAYHFRATIO 0.83f
162 #define EAX20LISTENER_MINREFLECTIONS (-10000)
163 #define EAX20LISTENER_MAXREFLECTIONS 1000
164 #define EAX20LISTENER_DEFAULTREFLECTIONS (-2602)
166 #define EAX20LISTENER_MINREFLECTIONSDELAY 0.0f
167 #define EAX20LISTENER_MAXREFLECTIONSDELAY 0.3f
168 #define EAX20LISTENER_DEFAULTREFLECTIONSDELAY 0.007f
170 #define EAX20LISTENER_MINREVERB (-10000)
171 #define EAX20LISTENER_MAXREVERB 2000
172 #define EAX20LISTENER_DEFAULTREVERB 200
174 #define EAX20LISTENER_MINREVERBDELAY 0.0f
175 #define EAX20LISTENER_MAXREVERBDELAY 0.1f
176 #define EAX20LISTENER_DEFAULTREVERBDELAY 0.011f
178 #define EAX20LISTENER_MINENVIRONMENT 0
179 #define EAX20LISTENER_MAXENVIRONMENT (EAX_ENVIRONMENT_COUNT-1)
180 #define EAX20LISTENER_DEFAULTENVIRONMENT EAX_ENVIRONMENT_GENERIC
182 #define EAX20LISTENER_MINENVIRONMENTSIZE 1.0f
183 #define EAX20LISTENER_MAXENVIRONMENTSIZE 100.0f
184 #define EAX20LISTENER_DEFAULTENVIRONMENTSIZE 7.5f
186 #define EAX20LISTENER_MINENVIRONMENTDIFFUSION 0.0f
187 #define EAX20LISTENER_MAXENVIRONMENTDIFFUSION 1.0f
188 #define EAX20LISTENER_DEFAULTENVIRONMENTDIFFUSION 1.0f
190 #define EAX20LISTENER_MINAIRABSORPTIONHF (-100.0f)
191 #define EAX20LISTENER_MAXAIRABSORPTIONHF 0.0f
192 #define EAX20LISTENER_DEFAULTAIRABSORPTIONHF (-5.0f)
194 #define EAX20LISTENER_DEFAULTFLAGS (EAX20LISTENERFLAGS_DECAYTIMESCALE | \
195 EAX20LISTENERFLAGS_REFLECTIONSSCALE | \
196 EAX20LISTENERFLAGS_REFLECTIONSDELAYSCALE | \
197 EAX20LISTENERFLAGS_REVERBSCALE | \
198 EAX20LISTENERFLAGS_REVERBDELAYSCALE | \
199 EAX20LISTENERFLAGS_DECAYHFLIMIT)
210 0x99, 0xe5, 0x0, 0x0, 0xe8, 0xd8, 0xc7, 0x22);
213 #define DSPROPSETID_EAX20_BufferProperties DSPROPSETID_EAX20_BufferProperties
235 #define DSPROPERTY_EAX20BUFFER_IMMEDIATE 0x00000000 // changes take effect immediately
236 #define DSPROPERTY_EAX20BUFFER_DEFERRED 0x80000000 // changes take effect later
237 #define DSPROPERTY_EAX20BUFFER_COMMITDEFERREDSETTINGS (DSPROPERTY_EAX20BUFFER_NONE | \
238 DSPROPERTY_EAX20BUFFER_IMMEDIATE)
279 #define EAX20BUFFERFLAGS_DIRECTHFAUTO 0x00000001 // affects DSPROPERTY_EAXBUFFER_DIRECTHF
280 #define EAX20BUFFERFLAGS_ROOMAUTO 0x00000002 // affects DSPROPERTY_EAXBUFFER_ROOM
281 #define EAX20BUFFERFLAGS_ROOMHFAUTO 0x00000004 // affects DSPROPERTY_EAXBUFFER_ROOMHF
283 #define EAX20BUFFERFLAGS_RESERVED 0xFFFFFFF8 // reserved future use
287 #define EAX20BUFFER_MINDIRECT (-10000)
288 #define EAX20BUFFER_MAXDIRECT 1000
289 #define EAX20BUFFER_DEFAULTDIRECT 0
291 #define EAX20BUFFER_MINDIRECTHF (-10000)
292 #define EAX20BUFFER_MAXDIRECTHF 0
293 #define EAX20BUFFER_DEFAULTDIRECTHF 0
295 #define EAX20BUFFER_MINROOM (-10000)
296 #define EAX20BUFFER_MAXROOM 1000
297 #define EAX20BUFFER_DEFAULTROOM 0
299 #define EAX20BUFFER_MINROOMHF (-10000)
300 #define EAX20BUFFER_MAXROOMHF 0
301 #define EAX20BUFFER_DEFAULTROOMHF 0
303 #define EAX20BUFFER_MINROOMROLLOFFFACTOR 0.0f
304 #define EAX20BUFFER_MAXROOMROLLOFFFACTOR 10.f
305 #define EAX20BUFFER_DEFAULTROOMROLLOFFFACTOR 0.0f
307 #define EAX20BUFFER_MINOBSTRUCTION (-10000)
308 #define EAX20BUFFER_MAXOBSTRUCTION 0
309 #define EAX20BUFFER_DEFAULTOBSTRUCTION 0
311 #define EAX20BUFFER_MINOBSTRUCTIONLFRATIO 0.0f
312 #define EAX20BUFFER_MAXOBSTRUCTIONLFRATIO 1.0f
313 #define EAX20BUFFER_DEFAULTOBSTRUCTIONLFRATIO 0.0f
315 #define EAX20BUFFER_MINOCCLUSION (-10000)
316 #define EAX20BUFFER_MAXOCCLUSION 0
317 #define EAX20BUFFER_DEFAULTOCCLUSION 0
319 #define EAX20BUFFER_MINOCCLUSIONLFRATIO 0.0f
320 #define EAX20BUFFER_MAXOCCLUSIONLFRATIO 1.0f
321 #define EAX20BUFFER_DEFAULTOCCLUSIONLFRATIO 0.25f
323 #define EAX20BUFFER_MINOCCLUSIONROOMRATIO 0.0f
324 #define EAX20BUFFER_MAXOCCLUSIONROOMRATIO 10.0f
325 #define EAX20BUFFER_DEFAULTOCCLUSIONROOMRATIO 0.5f
327 #define EAX20BUFFER_MINOUTSIDEVOLUMEHF (-10000)
328 #define EAX20BUFFER_MAXOUTSIDEVOLUMEHF 0
329 #define EAX20BUFFER_DEFAULTOUTSIDEVOLUMEHF 0
331 #define EAX20BUFFER_MINAIRABSORPTIONFACTOR 0.0f
332 #define EAX20BUFFER_MAXAIRABSORPTIONFACTOR 10.0f
333 #define EAX20BUFFER_DEFAULTAIRABSORPTIONFACTOR 1.0f
335 #define EAX20BUFFER_DEFAULTFLAGS (EAX20BUFFERFLAGS_DIRECTHFAUTO | \
336 EAX20BUFFERFLAGS_ROOMAUTO | \
337 EAX20BUFFERFLAGS_ROOMHFAUTO)
343 #endif // __cplusplus
float flEnvironmentDiffusion
struct _EAX20BUFFERPROPERTIES EAX20BUFFERPROPERTIES
DEFINE_GUID(DSPROPSETID_EAX20_ListenerProperties, 0x306a6a8, 0xb224, 0x11d2, 0x99, 0xe5, 0x0, 0x0, 0xe8, 0xd8, 0xc7, 0x22)
DSPROPERTY_EAX20_LISTENERPROPERTY
float flRoomRolloffFactor
float flOcclusionRoomRatio
#define DSPROPSETID_EAX20_BufferProperties
unsigned long dwEnvironment
struct _EAX20BUFFERPROPERTIES * LPEAX20BUFFERPROPERTIES
float flRoomRolloffFactor
struct _EAX20LISTENERPROPERTIES EAX20LISTENERPROPERTIES
float flAirAbsorptionFactor
float flObstructionLFRatio
DSPROPERTY_EAX20_BUFFERPROPERTY
struct _EAX20LISTENERPROPERTIES * LPEAX20LISTENERPROPERTIES