Fix some includes
[openal-soft.git] / alc / export_list.h
blobb83f2c38a3fc82a4c1d9788a31dae3663a66afad
1 #ifndef ALC_EXPORT_LIST_H
2 #define ALC_EXPORT_LIST_H
4 #include "config.h"
6 #include "AL/alc.h"
7 #include "AL/al.h"
8 #include "AL/alext.h"
10 #include "inprogext.h"
11 #if ALSOFT_EAX
12 #include "context.h"
13 #include "al/eax/x_ram.h"
14 #endif
17 struct FuncExport {
18 const char *funcName;
19 void *address;
21 #define DECL(x) FuncExport{#x, reinterpret_cast<void*>(x)}
22 /* NOLINTNEXTLINE(*-avoid-c-arrays) Too large for std::array auto-deduction :( */
23 inline const FuncExport alcFunctions[]{
24 DECL(alcCreateContext),
25 DECL(alcMakeContextCurrent),
26 DECL(alcProcessContext),
27 DECL(alcSuspendContext),
28 DECL(alcDestroyContext),
29 DECL(alcGetCurrentContext),
30 DECL(alcGetContextsDevice),
31 DECL(alcOpenDevice),
32 DECL(alcCloseDevice),
33 DECL(alcGetError),
34 DECL(alcIsExtensionPresent),
35 DECL(alcGetProcAddress),
36 DECL(alcGetEnumValue),
37 DECL(alcGetString),
38 DECL(alcGetIntegerv),
39 DECL(alcCaptureOpenDevice),
40 DECL(alcCaptureCloseDevice),
41 DECL(alcCaptureStart),
42 DECL(alcCaptureStop),
43 DECL(alcCaptureSamples),
45 DECL(alcSetThreadContext),
46 DECL(alcGetThreadContext),
48 DECL(alcLoopbackOpenDeviceSOFT),
49 DECL(alcIsRenderFormatSupportedSOFT),
50 DECL(alcRenderSamplesSOFT),
52 DECL(alcDevicePauseSOFT),
53 DECL(alcDeviceResumeSOFT),
55 DECL(alcGetStringiSOFT),
56 DECL(alcResetDeviceSOFT),
58 DECL(alcGetInteger64vSOFT),
60 DECL(alcReopenDeviceSOFT),
62 DECL(alcEventIsSupportedSOFT),
63 DECL(alcEventControlSOFT),
64 DECL(alcEventCallbackSOFT),
66 DECL(alEnable),
67 DECL(alDisable),
68 DECL(alIsEnabled),
69 DECL(alGetString),
70 DECL(alGetBooleanv),
71 DECL(alGetIntegerv),
72 DECL(alGetFloatv),
73 DECL(alGetDoublev),
74 DECL(alGetBoolean),
75 DECL(alGetInteger),
76 DECL(alGetFloat),
77 DECL(alGetDouble),
78 DECL(alGetError),
79 DECL(alIsExtensionPresent),
80 DECL(alGetProcAddress),
81 DECL(alGetEnumValue),
82 DECL(alListenerf),
83 DECL(alListener3f),
84 DECL(alListenerfv),
85 DECL(alListeneri),
86 DECL(alListener3i),
87 DECL(alListeneriv),
88 DECL(alGetListenerf),
89 DECL(alGetListener3f),
90 DECL(alGetListenerfv),
91 DECL(alGetListeneri),
92 DECL(alGetListener3i),
93 DECL(alGetListeneriv),
94 DECL(alGenSources),
95 DECL(alDeleteSources),
96 DECL(alIsSource),
97 DECL(alSourcef),
98 DECL(alSource3f),
99 DECL(alSourcefv),
100 DECL(alSourcei),
101 DECL(alSource3i),
102 DECL(alSourceiv),
103 DECL(alGetSourcef),
104 DECL(alGetSource3f),
105 DECL(alGetSourcefv),
106 DECL(alGetSourcei),
107 DECL(alGetSource3i),
108 DECL(alGetSourceiv),
109 DECL(alSourcePlayv),
110 DECL(alSourceStopv),
111 DECL(alSourceRewindv),
112 DECL(alSourcePausev),
113 DECL(alSourcePlay),
114 DECL(alSourceStop),
115 DECL(alSourceRewind),
116 DECL(alSourcePause),
117 DECL(alSourceQueueBuffers),
118 DECL(alSourceUnqueueBuffers),
119 DECL(alGenBuffers),
120 DECL(alDeleteBuffers),
121 DECL(alIsBuffer),
122 DECL(alBufferData),
123 DECL(alBufferf),
124 DECL(alBuffer3f),
125 DECL(alBufferfv),
126 DECL(alBufferi),
127 DECL(alBuffer3i),
128 DECL(alBufferiv),
129 DECL(alGetBufferf),
130 DECL(alGetBuffer3f),
131 DECL(alGetBufferfv),
132 DECL(alGetBufferi),
133 DECL(alGetBuffer3i),
134 DECL(alGetBufferiv),
135 DECL(alDopplerFactor),
136 DECL(alDopplerVelocity),
137 DECL(alSpeedOfSound),
138 DECL(alDistanceModel),
140 DECL(alGenFilters),
141 DECL(alDeleteFilters),
142 DECL(alIsFilter),
143 DECL(alFilteri),
144 DECL(alFilteriv),
145 DECL(alFilterf),
146 DECL(alFilterfv),
147 DECL(alGetFilteri),
148 DECL(alGetFilteriv),
149 DECL(alGetFilterf),
150 DECL(alGetFilterfv),
151 DECL(alGenEffects),
152 DECL(alDeleteEffects),
153 DECL(alIsEffect),
154 DECL(alEffecti),
155 DECL(alEffectiv),
156 DECL(alEffectf),
157 DECL(alEffectfv),
158 DECL(alGetEffecti),
159 DECL(alGetEffectiv),
160 DECL(alGetEffectf),
161 DECL(alGetEffectfv),
162 DECL(alGenAuxiliaryEffectSlots),
163 DECL(alDeleteAuxiliaryEffectSlots),
164 DECL(alIsAuxiliaryEffectSlot),
165 DECL(alAuxiliaryEffectSloti),
166 DECL(alAuxiliaryEffectSlotiv),
167 DECL(alAuxiliaryEffectSlotf),
168 DECL(alAuxiliaryEffectSlotfv),
169 DECL(alGetAuxiliaryEffectSloti),
170 DECL(alGetAuxiliaryEffectSlotiv),
171 DECL(alGetAuxiliaryEffectSlotf),
172 DECL(alGetAuxiliaryEffectSlotfv),
174 DECL(alDeferUpdatesSOFT),
175 DECL(alProcessUpdatesSOFT),
177 DECL(alSourcedSOFT),
178 DECL(alSource3dSOFT),
179 DECL(alSourcedvSOFT),
180 DECL(alGetSourcedSOFT),
181 DECL(alGetSource3dSOFT),
182 DECL(alGetSourcedvSOFT),
183 DECL(alSourcei64SOFT),
184 DECL(alSource3i64SOFT),
185 DECL(alSourcei64vSOFT),
186 DECL(alGetSourcei64SOFT),
187 DECL(alGetSource3i64SOFT),
188 DECL(alGetSourcei64vSOFT),
190 DECL(alGetStringiSOFT),
192 DECL(alBufferStorageSOFT),
193 DECL(alMapBufferSOFT),
194 DECL(alUnmapBufferSOFT),
195 DECL(alFlushMappedBufferSOFT),
197 DECL(alEventControlSOFT),
198 DECL(alEventCallbackSOFT),
199 DECL(alGetPointerSOFT),
200 DECL(alGetPointervSOFT),
202 DECL(alBufferCallbackSOFT),
203 DECL(alGetBufferPtrSOFT),
204 DECL(alGetBuffer3PtrSOFT),
205 DECL(alGetBufferPtrvSOFT),
207 DECL(alSourcePlayAtTimeSOFT),
208 DECL(alSourcePlayAtTimevSOFT),
210 DECL(alBufferSubDataSOFT),
212 DECL(alBufferDataStatic),
214 DECL(alDebugMessageCallbackEXT),
215 DECL(alDebugMessageInsertEXT),
216 DECL(alDebugMessageControlEXT),
217 DECL(alPushDebugGroupEXT),
218 DECL(alPopDebugGroupEXT),
219 DECL(alGetDebugMessageLogEXT),
220 DECL(alObjectLabelEXT),
221 DECL(alGetObjectLabelEXT),
222 DECL(alGetPointerEXT),
223 DECL(alGetPointervEXT),
225 /* Direct Context functions */
226 DECL(alcGetProcAddress2),
227 DECL(alEnableDirect),
228 DECL(alDisableDirect),
229 DECL(alIsEnabledDirect),
230 DECL(alDopplerFactorDirect),
231 DECL(alSpeedOfSoundDirect),
232 DECL(alDistanceModelDirect),
233 DECL(alGetStringDirect),
234 DECL(alGetBooleanvDirect),
235 DECL(alGetIntegervDirect),
236 DECL(alGetFloatvDirect),
237 DECL(alGetDoublevDirect),
238 DECL(alGetBooleanDirect),
239 DECL(alGetIntegerDirect),
240 DECL(alGetFloatDirect),
241 DECL(alGetDoubleDirect),
243 DECL(alGetErrorDirect),
244 DECL(alIsExtensionPresentDirect),
245 DECL(alGetProcAddress),
246 DECL(alGetEnumValueDirect),
248 DECL(alListeneriDirect),
249 DECL(alListener3iDirect),
250 DECL(alListenerivDirect),
251 DECL(alListenerfDirect),
252 DECL(alListener3fDirect),
253 DECL(alListenerfvDirect),
254 DECL(alGetListeneriDirect),
255 DECL(alGetListener3iDirect),
256 DECL(alGetListenerivDirect),
257 DECL(alGetListenerfDirect),
258 DECL(alGetListener3fDirect),
259 DECL(alGetListenerfvDirect),
261 DECL(alGenBuffersDirect),
262 DECL(alDeleteBuffersDirect),
263 DECL(alIsBufferDirect),
264 DECL(alBufferDataDirect),
265 DECL(alBufferiDirect),
266 DECL(alBuffer3iDirect),
267 DECL(alBufferivDirect),
268 DECL(alBufferfDirect),
269 DECL(alBuffer3fDirect),
270 DECL(alBufferfvDirect),
271 DECL(alGetBufferiDirect),
272 DECL(alGetBuffer3iDirect),
273 DECL(alGetBufferivDirect),
274 DECL(alGetBufferfDirect),
275 DECL(alGetBuffer3fDirect),
276 DECL(alGetBufferfvDirect),
278 DECL(alGenSourcesDirect),
279 DECL(alDeleteSourcesDirect),
280 DECL(alIsSourceDirect),
281 DECL(alSourcePlayDirect),
282 DECL(alSourceStopDirect),
283 DECL(alSourcePauseDirect),
284 DECL(alSourceRewindDirect),
285 DECL(alSourcePlayvDirect),
286 DECL(alSourceStopvDirect),
287 DECL(alSourcePausevDirect),
288 DECL(alSourceRewindvDirect),
289 DECL(alSourceiDirect),
290 DECL(alSource3iDirect),
291 DECL(alSourceivDirect),
292 DECL(alSourcefDirect),
293 DECL(alSource3fDirect),
294 DECL(alSourcefvDirect),
295 DECL(alGetSourceiDirect),
296 DECL(alGetSource3iDirect),
297 DECL(alGetSourceivDirect),
298 DECL(alGetSourcefDirect),
299 DECL(alGetSource3fDirect),
300 DECL(alGetSourcefvDirect),
301 DECL(alSourceQueueBuffersDirect),
302 DECL(alSourceUnqueueBuffersDirect),
304 DECL(alGenFiltersDirect),
305 DECL(alDeleteFiltersDirect),
306 DECL(alIsFilterDirect),
307 DECL(alFilteriDirect),
308 DECL(alFilterivDirect),
309 DECL(alFilterfDirect),
310 DECL(alFilterfvDirect),
311 DECL(alGetFilteriDirect),
312 DECL(alGetFilterivDirect),
313 DECL(alGetFilterfDirect),
314 DECL(alGetFilterfvDirect),
315 DECL(alGenEffectsDirect),
316 DECL(alDeleteEffectsDirect),
317 DECL(alIsEffectDirect),
318 DECL(alEffectiDirect),
319 DECL(alEffectivDirect),
320 DECL(alEffectfDirect),
321 DECL(alEffectfvDirect),
322 DECL(alGetEffectiDirect),
323 DECL(alGetEffectivDirect),
324 DECL(alGetEffectfDirect),
325 DECL(alGetEffectfvDirect),
326 DECL(alGenAuxiliaryEffectSlotsDirect),
327 DECL(alDeleteAuxiliaryEffectSlotsDirect),
328 DECL(alIsAuxiliaryEffectSlotDirect),
329 DECL(alAuxiliaryEffectSlotiDirect),
330 DECL(alAuxiliaryEffectSlotivDirect),
331 DECL(alAuxiliaryEffectSlotfDirect),
332 DECL(alAuxiliaryEffectSlotfvDirect),
333 DECL(alGetAuxiliaryEffectSlotiDirect),
334 DECL(alGetAuxiliaryEffectSlotivDirect),
335 DECL(alGetAuxiliaryEffectSlotfDirect),
336 DECL(alGetAuxiliaryEffectSlotfvDirect),
338 DECL(alDeferUpdatesDirectSOFT),
339 DECL(alProcessUpdatesDirectSOFT),
340 DECL(alGetStringiDirectSOFT),
342 DECL(alBufferDataStaticDirect),
343 DECL(alBufferCallbackDirectSOFT),
344 DECL(alBufferSubDataDirectSOFT),
345 DECL(alBufferStorageDirectSOFT),
346 DECL(alMapBufferDirectSOFT),
347 DECL(alUnmapBufferDirectSOFT),
348 DECL(alFlushMappedBufferDirectSOFT),
350 DECL(alSourcei64DirectSOFT),
351 DECL(alSource3i64DirectSOFT),
352 DECL(alSourcei64vDirectSOFT),
353 DECL(alSourcedDirectSOFT),
354 DECL(alSource3dDirectSOFT),
355 DECL(alSourcedvDirectSOFT),
356 DECL(alGetSourcei64DirectSOFT),
357 DECL(alGetSource3i64DirectSOFT),
358 DECL(alGetSourcei64vDirectSOFT),
359 DECL(alGetSourcedDirectSOFT),
360 DECL(alGetSource3dDirectSOFT),
361 DECL(alGetSourcedvDirectSOFT),
362 DECL(alSourcePlayAtTimeDirectSOFT),
363 DECL(alSourcePlayAtTimevDirectSOFT),
365 DECL(alEventControlDirectSOFT),
366 DECL(alEventCallbackDirectSOFT),
368 DECL(alDebugMessageCallbackDirectEXT),
369 DECL(alDebugMessageInsertDirectEXT),
370 DECL(alDebugMessageControlDirectEXT),
371 DECL(alPushDebugGroupDirectEXT),
372 DECL(alPopDebugGroupDirectEXT),
373 DECL(alGetDebugMessageLogDirectEXT),
374 DECL(alObjectLabelDirectEXT),
375 DECL(alGetObjectLabelDirectEXT),
376 DECL(alGetPointerDirectEXT),
377 DECL(alGetPointervDirectEXT),
379 /* Extra functions */
380 DECL(alsoft_set_log_callback),
382 #if ALSOFT_EAX
383 inline const std::array eaxFunctions{
384 DECL(EAXGet),
385 DECL(EAXSet),
386 DECL(EAXGetBufferMode),
387 DECL(EAXSetBufferMode),
389 DECL(EAXGetDirect),
390 DECL(EAXSetDirect),
391 DECL(EAXGetBufferModeDirect),
392 DECL(EAXSetBufferModeDirect),
394 #endif
395 #undef DECL
397 struct EnumExport {
398 const char *enumName;
399 int value;
401 #define DECL(x) EnumExport{#x, (x)}
402 /* NOLINTNEXTLINE(*-avoid-c-arrays) Too large for std::array auto-deduction :( */
403 inline const EnumExport alcEnumerations[]{
404 DECL(ALC_INVALID),
405 DECL(ALC_FALSE),
406 DECL(ALC_TRUE),
408 DECL(ALC_MAJOR_VERSION),
409 DECL(ALC_MINOR_VERSION),
410 DECL(ALC_ATTRIBUTES_SIZE),
411 DECL(ALC_ALL_ATTRIBUTES),
412 DECL(ALC_DEFAULT_DEVICE_SPECIFIER),
413 DECL(ALC_DEVICE_SPECIFIER),
414 DECL(ALC_ALL_DEVICES_SPECIFIER),
415 DECL(ALC_DEFAULT_ALL_DEVICES_SPECIFIER),
416 DECL(ALC_EXTENSIONS),
417 DECL(ALC_FREQUENCY),
418 DECL(ALC_REFRESH),
419 DECL(ALC_SYNC),
420 DECL(ALC_MONO_SOURCES),
421 DECL(ALC_STEREO_SOURCES),
422 DECL(ALC_CAPTURE_DEVICE_SPECIFIER),
423 DECL(ALC_CAPTURE_DEFAULT_DEVICE_SPECIFIER),
424 DECL(ALC_CAPTURE_SAMPLES),
425 DECL(ALC_CONNECTED),
427 DECL(ALC_EFX_MAJOR_VERSION),
428 DECL(ALC_EFX_MINOR_VERSION),
429 DECL(ALC_MAX_AUXILIARY_SENDS),
431 DECL(ALC_FORMAT_CHANNELS_SOFT),
432 DECL(ALC_FORMAT_TYPE_SOFT),
434 DECL(ALC_MONO_SOFT),
435 DECL(ALC_STEREO_SOFT),
436 DECL(ALC_QUAD_SOFT),
437 DECL(ALC_5POINT1_SOFT),
438 DECL(ALC_6POINT1_SOFT),
439 DECL(ALC_7POINT1_SOFT),
440 DECL(ALC_BFORMAT3D_SOFT),
442 DECL(ALC_BYTE_SOFT),
443 DECL(ALC_UNSIGNED_BYTE_SOFT),
444 DECL(ALC_SHORT_SOFT),
445 DECL(ALC_UNSIGNED_SHORT_SOFT),
446 DECL(ALC_INT_SOFT),
447 DECL(ALC_UNSIGNED_INT_SOFT),
448 DECL(ALC_FLOAT_SOFT),
450 DECL(ALC_HRTF_SOFT),
451 DECL(ALC_DONT_CARE_SOFT),
452 DECL(ALC_HRTF_STATUS_SOFT),
453 DECL(ALC_HRTF_DISABLED_SOFT),
454 DECL(ALC_HRTF_ENABLED_SOFT),
455 DECL(ALC_HRTF_DENIED_SOFT),
456 DECL(ALC_HRTF_REQUIRED_SOFT),
457 DECL(ALC_HRTF_HEADPHONES_DETECTED_SOFT),
458 DECL(ALC_HRTF_UNSUPPORTED_FORMAT_SOFT),
459 DECL(ALC_NUM_HRTF_SPECIFIERS_SOFT),
460 DECL(ALC_HRTF_SPECIFIER_SOFT),
461 DECL(ALC_HRTF_ID_SOFT),
463 DECL(ALC_AMBISONIC_LAYOUT_SOFT),
464 DECL(ALC_AMBISONIC_SCALING_SOFT),
465 DECL(ALC_AMBISONIC_ORDER_SOFT),
466 DECL(ALC_ACN_SOFT),
467 DECL(ALC_FUMA_SOFT),
468 DECL(ALC_N3D_SOFT),
469 DECL(ALC_SN3D_SOFT),
471 DECL(ALC_OUTPUT_LIMITER_SOFT),
473 DECL(ALC_DEVICE_CLOCK_SOFT),
474 DECL(ALC_DEVICE_LATENCY_SOFT),
475 DECL(ALC_DEVICE_CLOCK_LATENCY_SOFT),
476 DECL(AL_SAMPLE_OFFSET_CLOCK_SOFT),
477 DECL(AL_SEC_OFFSET_CLOCK_SOFT),
479 DECL(ALC_OUTPUT_MODE_SOFT),
480 DECL(ALC_ANY_SOFT),
481 DECL(ALC_STEREO_BASIC_SOFT),
482 DECL(ALC_STEREO_UHJ_SOFT),
483 DECL(ALC_STEREO_HRTF_SOFT),
484 DECL(ALC_SURROUND_5_1_SOFT),
485 DECL(ALC_SURROUND_6_1_SOFT),
486 DECL(ALC_SURROUND_7_1_SOFT),
488 DECL(ALC_NO_ERROR),
489 DECL(ALC_INVALID_DEVICE),
490 DECL(ALC_INVALID_CONTEXT),
491 DECL(ALC_INVALID_ENUM),
492 DECL(ALC_INVALID_VALUE),
493 DECL(ALC_OUT_OF_MEMORY),
495 DECL(ALC_CONTEXT_FLAGS_EXT),
496 DECL(ALC_CONTEXT_DEBUG_BIT_EXT),
498 DECL(ALC_PLAYBACK_DEVICE_SOFT),
499 DECL(ALC_CAPTURE_DEVICE_SOFT),
500 DECL(ALC_EVENT_TYPE_DEFAULT_DEVICE_CHANGED_SOFT),
501 DECL(ALC_EVENT_TYPE_DEVICE_ADDED_SOFT),
502 DECL(ALC_EVENT_TYPE_DEVICE_REMOVED_SOFT),
505 DECL(AL_INVALID),
506 DECL(AL_NONE),
507 DECL(AL_FALSE),
508 DECL(AL_TRUE),
510 DECL(AL_SOURCE_RELATIVE),
511 DECL(AL_CONE_INNER_ANGLE),
512 DECL(AL_CONE_OUTER_ANGLE),
513 DECL(AL_PITCH),
514 DECL(AL_POSITION),
515 DECL(AL_DIRECTION),
516 DECL(AL_VELOCITY),
517 DECL(AL_LOOPING),
518 DECL(AL_BUFFER),
519 DECL(AL_GAIN),
520 DECL(AL_MIN_GAIN),
521 DECL(AL_MAX_GAIN),
522 DECL(AL_ORIENTATION),
523 DECL(AL_REFERENCE_DISTANCE),
524 DECL(AL_ROLLOFF_FACTOR),
525 DECL(AL_CONE_OUTER_GAIN),
526 DECL(AL_MAX_DISTANCE),
527 DECL(AL_SEC_OFFSET),
528 DECL(AL_SAMPLE_OFFSET),
529 DECL(AL_BYTE_OFFSET),
530 DECL(AL_SOURCE_TYPE),
531 DECL(AL_STATIC),
532 DECL(AL_STREAMING),
533 DECL(AL_UNDETERMINED),
534 DECL(AL_METERS_PER_UNIT),
535 DECL(AL_LOOP_POINTS_SOFT),
536 DECL(AL_DIRECT_CHANNELS_SOFT),
538 DECL(AL_DIRECT_FILTER),
539 DECL(AL_AUXILIARY_SEND_FILTER),
540 DECL(AL_AIR_ABSORPTION_FACTOR),
541 DECL(AL_ROOM_ROLLOFF_FACTOR),
542 DECL(AL_CONE_OUTER_GAINHF),
543 DECL(AL_DIRECT_FILTER_GAINHF_AUTO),
544 DECL(AL_AUXILIARY_SEND_FILTER_GAIN_AUTO),
545 DECL(AL_AUXILIARY_SEND_FILTER_GAINHF_AUTO),
547 DECL(AL_SOURCE_STATE),
548 DECL(AL_INITIAL),
549 DECL(AL_PLAYING),
550 DECL(AL_PAUSED),
551 DECL(AL_STOPPED),
553 DECL(AL_BUFFERS_QUEUED),
554 DECL(AL_BUFFERS_PROCESSED),
556 DECL(AL_FORMAT_MONO8),
557 DECL(AL_FORMAT_MONO16),
558 DECL(AL_FORMAT_MONO_FLOAT32),
559 DECL(AL_FORMAT_MONO_DOUBLE_EXT),
560 DECL(AL_FORMAT_STEREO8),
561 DECL(AL_FORMAT_STEREO16),
562 DECL(AL_FORMAT_STEREO_FLOAT32),
563 DECL(AL_FORMAT_STEREO_DOUBLE_EXT),
564 DECL(AL_FORMAT_MONO_IMA4),
565 DECL(AL_FORMAT_STEREO_IMA4),
566 DECL(AL_FORMAT_MONO_MSADPCM_SOFT),
567 DECL(AL_FORMAT_STEREO_MSADPCM_SOFT),
568 DECL(AL_FORMAT_QUAD8_LOKI),
569 DECL(AL_FORMAT_QUAD16_LOKI),
570 DECL(AL_FORMAT_QUAD8),
571 DECL(AL_FORMAT_QUAD16),
572 DECL(AL_FORMAT_QUAD32),
573 DECL(AL_FORMAT_51CHN8),
574 DECL(AL_FORMAT_51CHN16),
575 DECL(AL_FORMAT_51CHN32),
576 DECL(AL_FORMAT_61CHN8),
577 DECL(AL_FORMAT_61CHN16),
578 DECL(AL_FORMAT_61CHN32),
579 DECL(AL_FORMAT_71CHN8),
580 DECL(AL_FORMAT_71CHN16),
581 DECL(AL_FORMAT_71CHN32),
582 DECL(AL_FORMAT_REAR8),
583 DECL(AL_FORMAT_REAR16),
584 DECL(AL_FORMAT_REAR32),
585 DECL(AL_FORMAT_MONO_MULAW),
586 DECL(AL_FORMAT_MONO_MULAW_EXT),
587 DECL(AL_FORMAT_STEREO_MULAW),
588 DECL(AL_FORMAT_STEREO_MULAW_EXT),
589 DECL(AL_FORMAT_QUAD_MULAW),
590 DECL(AL_FORMAT_51CHN_MULAW),
591 DECL(AL_FORMAT_61CHN_MULAW),
592 DECL(AL_FORMAT_71CHN_MULAW),
593 DECL(AL_FORMAT_REAR_MULAW),
594 DECL(AL_FORMAT_MONO_ALAW_EXT),
595 DECL(AL_FORMAT_STEREO_ALAW_EXT),
597 DECL(AL_FORMAT_BFORMAT2D_8),
598 DECL(AL_FORMAT_BFORMAT2D_16),
599 DECL(AL_FORMAT_BFORMAT2D_FLOAT32),
600 DECL(AL_FORMAT_BFORMAT2D_MULAW),
601 DECL(AL_FORMAT_BFORMAT3D_8),
602 DECL(AL_FORMAT_BFORMAT3D_16),
603 DECL(AL_FORMAT_BFORMAT3D_FLOAT32),
604 DECL(AL_FORMAT_BFORMAT3D_MULAW),
606 DECL(AL_FORMAT_UHJ2CHN8_SOFT),
607 DECL(AL_FORMAT_UHJ2CHN16_SOFT),
608 DECL(AL_FORMAT_UHJ2CHN_FLOAT32_SOFT),
609 DECL(AL_FORMAT_UHJ3CHN8_SOFT),
610 DECL(AL_FORMAT_UHJ3CHN16_SOFT),
611 DECL(AL_FORMAT_UHJ3CHN_FLOAT32_SOFT),
612 DECL(AL_FORMAT_UHJ4CHN8_SOFT),
613 DECL(AL_FORMAT_UHJ4CHN16_SOFT),
614 DECL(AL_FORMAT_UHJ4CHN_FLOAT32_SOFT),
615 DECL(AL_STEREO_MODE_SOFT),
616 DECL(AL_NORMAL_SOFT),
617 DECL(AL_SUPER_STEREO_SOFT),
618 DECL(AL_SUPER_STEREO_WIDTH_SOFT),
620 DECL(AL_FORMAT_UHJ2CHN_MULAW_SOFT),
621 DECL(AL_FORMAT_UHJ2CHN_ALAW_SOFT),
622 DECL(AL_FORMAT_UHJ2CHN_IMA4_SOFT),
623 DECL(AL_FORMAT_UHJ2CHN_MSADPCM_SOFT),
624 DECL(AL_FORMAT_UHJ3CHN_MULAW_SOFT),
625 DECL(AL_FORMAT_UHJ3CHN_ALAW_SOFT),
626 DECL(AL_FORMAT_UHJ4CHN_MULAW_SOFT),
627 DECL(AL_FORMAT_UHJ4CHN_ALAW_SOFT),
629 DECL(AL_FORMAT_MONO_I32),
630 DECL(AL_FORMAT_STEREO_I32),
631 DECL(AL_FORMAT_REAR_I32),
632 DECL(AL_FORMAT_QUAD_I32),
633 DECL(AL_FORMAT_51CHN_I32),
634 DECL(AL_FORMAT_61CHN_I32),
635 DECL(AL_FORMAT_71CHN_I32),
636 DECL(AL_FORMAT_BFORMAT2D_I32),
637 DECL(AL_FORMAT_BFORMAT3D_I32),
638 DECL(AL_FORMAT_UHJ2CHN_I32_SOFT),
639 DECL(AL_FORMAT_UHJ3CHN_I32_SOFT),
640 DECL(AL_FORMAT_UHJ4CHN_I32_SOFT),
642 DECL(AL_FORMAT_REAR_FLOAT32),
643 DECL(AL_FORMAT_QUAD_FLOAT32),
644 DECL(AL_FORMAT_51CHN_FLOAT32),
645 DECL(AL_FORMAT_61CHN_FLOAT32),
646 DECL(AL_FORMAT_71CHN_FLOAT32),
648 DECL(AL_FREQUENCY),
649 DECL(AL_BITS),
650 DECL(AL_CHANNELS),
651 DECL(AL_SIZE),
652 DECL(AL_UNPACK_BLOCK_ALIGNMENT_SOFT),
653 DECL(AL_PACK_BLOCK_ALIGNMENT_SOFT),
655 DECL(AL_SOURCE_RADIUS),
657 DECL(AL_SAMPLE_OFFSET_LATENCY_SOFT),
658 DECL(AL_SEC_OFFSET_LATENCY_SOFT),
660 DECL(AL_STEREO_ANGLES),
662 DECL(AL_UNUSED),
663 DECL(AL_PENDING),
664 DECL(AL_PROCESSED),
666 DECL(AL_NO_ERROR),
667 DECL(AL_INVALID_NAME),
668 DECL(AL_INVALID_ENUM),
669 DECL(AL_INVALID_VALUE),
670 DECL(AL_INVALID_OPERATION),
671 DECL(AL_OUT_OF_MEMORY),
673 DECL(AL_VENDOR),
674 DECL(AL_VERSION),
675 DECL(AL_RENDERER),
676 DECL(AL_EXTENSIONS),
678 DECL(AL_DOPPLER_FACTOR),
679 DECL(AL_DOPPLER_VELOCITY),
680 DECL(AL_DISTANCE_MODEL),
681 DECL(AL_SPEED_OF_SOUND),
682 DECL(AL_SOURCE_DISTANCE_MODEL),
683 DECL(AL_DEFERRED_UPDATES_SOFT),
684 DECL(AL_GAIN_LIMIT_SOFT),
686 DECL(AL_INVERSE_DISTANCE),
687 DECL(AL_INVERSE_DISTANCE_CLAMPED),
688 DECL(AL_LINEAR_DISTANCE),
689 DECL(AL_LINEAR_DISTANCE_CLAMPED),
690 DECL(AL_EXPONENT_DISTANCE),
691 DECL(AL_EXPONENT_DISTANCE_CLAMPED),
693 DECL(AL_FILTER_TYPE),
694 DECL(AL_FILTER_NULL),
695 DECL(AL_FILTER_LOWPASS),
696 DECL(AL_FILTER_HIGHPASS),
697 DECL(AL_FILTER_BANDPASS),
699 DECL(AL_LOWPASS_GAIN),
700 DECL(AL_LOWPASS_GAINHF),
702 DECL(AL_HIGHPASS_GAIN),
703 DECL(AL_HIGHPASS_GAINLF),
705 DECL(AL_BANDPASS_GAIN),
706 DECL(AL_BANDPASS_GAINHF),
707 DECL(AL_BANDPASS_GAINLF),
709 DECL(AL_EFFECT_TYPE),
710 DECL(AL_EFFECT_NULL),
711 DECL(AL_EFFECT_REVERB),
712 DECL(AL_EFFECT_EAXREVERB),
713 DECL(AL_EFFECT_CHORUS),
714 DECL(AL_EFFECT_DISTORTION),
715 DECL(AL_EFFECT_ECHO),
716 DECL(AL_EFFECT_FLANGER),
717 DECL(AL_EFFECT_PITCH_SHIFTER),
718 DECL(AL_EFFECT_FREQUENCY_SHIFTER),
719 DECL(AL_EFFECT_VOCAL_MORPHER),
720 DECL(AL_EFFECT_RING_MODULATOR),
721 DECL(AL_EFFECT_AUTOWAH),
722 DECL(AL_EFFECT_COMPRESSOR),
723 DECL(AL_EFFECT_EQUALIZER),
724 DECL(AL_EFFECT_DEDICATED_LOW_FREQUENCY_EFFECT),
725 DECL(AL_EFFECT_DEDICATED_DIALOGUE),
727 DECL(AL_EFFECTSLOT_EFFECT),
728 DECL(AL_EFFECTSLOT_GAIN),
729 DECL(AL_EFFECTSLOT_AUXILIARY_SEND_AUTO),
730 DECL(AL_EFFECTSLOT_NULL),
732 DECL(AL_EAXREVERB_DENSITY),
733 DECL(AL_EAXREVERB_DIFFUSION),
734 DECL(AL_EAXREVERB_GAIN),
735 DECL(AL_EAXREVERB_GAINHF),
736 DECL(AL_EAXREVERB_GAINLF),
737 DECL(AL_EAXREVERB_DECAY_TIME),
738 DECL(AL_EAXREVERB_DECAY_HFRATIO),
739 DECL(AL_EAXREVERB_DECAY_LFRATIO),
740 DECL(AL_EAXREVERB_REFLECTIONS_GAIN),
741 DECL(AL_EAXREVERB_REFLECTIONS_DELAY),
742 DECL(AL_EAXREVERB_REFLECTIONS_PAN),
743 DECL(AL_EAXREVERB_LATE_REVERB_GAIN),
744 DECL(AL_EAXREVERB_LATE_REVERB_DELAY),
745 DECL(AL_EAXREVERB_LATE_REVERB_PAN),
746 DECL(AL_EAXREVERB_ECHO_TIME),
747 DECL(AL_EAXREVERB_ECHO_DEPTH),
748 DECL(AL_EAXREVERB_MODULATION_TIME),
749 DECL(AL_EAXREVERB_MODULATION_DEPTH),
750 DECL(AL_EAXREVERB_AIR_ABSORPTION_GAINHF),
751 DECL(AL_EAXREVERB_HFREFERENCE),
752 DECL(AL_EAXREVERB_LFREFERENCE),
753 DECL(AL_EAXREVERB_ROOM_ROLLOFF_FACTOR),
754 DECL(AL_EAXREVERB_DECAY_HFLIMIT),
756 DECL(AL_REVERB_DENSITY),
757 DECL(AL_REVERB_DIFFUSION),
758 DECL(AL_REVERB_GAIN),
759 DECL(AL_REVERB_GAINHF),
760 DECL(AL_REVERB_DECAY_TIME),
761 DECL(AL_REVERB_DECAY_HFRATIO),
762 DECL(AL_REVERB_REFLECTIONS_GAIN),
763 DECL(AL_REVERB_REFLECTIONS_DELAY),
764 DECL(AL_REVERB_LATE_REVERB_GAIN),
765 DECL(AL_REVERB_LATE_REVERB_DELAY),
766 DECL(AL_REVERB_AIR_ABSORPTION_GAINHF),
767 DECL(AL_REVERB_ROOM_ROLLOFF_FACTOR),
768 DECL(AL_REVERB_DECAY_HFLIMIT),
770 DECL(AL_CHORUS_WAVEFORM),
771 DECL(AL_CHORUS_PHASE),
772 DECL(AL_CHORUS_RATE),
773 DECL(AL_CHORUS_DEPTH),
774 DECL(AL_CHORUS_FEEDBACK),
775 DECL(AL_CHORUS_DELAY),
777 DECL(AL_DISTORTION_EDGE),
778 DECL(AL_DISTORTION_GAIN),
779 DECL(AL_DISTORTION_LOWPASS_CUTOFF),
780 DECL(AL_DISTORTION_EQCENTER),
781 DECL(AL_DISTORTION_EQBANDWIDTH),
783 DECL(AL_ECHO_DELAY),
784 DECL(AL_ECHO_LRDELAY),
785 DECL(AL_ECHO_DAMPING),
786 DECL(AL_ECHO_FEEDBACK),
787 DECL(AL_ECHO_SPREAD),
789 DECL(AL_FLANGER_WAVEFORM),
790 DECL(AL_FLANGER_PHASE),
791 DECL(AL_FLANGER_RATE),
792 DECL(AL_FLANGER_DEPTH),
793 DECL(AL_FLANGER_FEEDBACK),
794 DECL(AL_FLANGER_DELAY),
796 DECL(AL_FREQUENCY_SHIFTER_FREQUENCY),
797 DECL(AL_FREQUENCY_SHIFTER_LEFT_DIRECTION),
798 DECL(AL_FREQUENCY_SHIFTER_RIGHT_DIRECTION),
800 DECL(AL_RING_MODULATOR_FREQUENCY),
801 DECL(AL_RING_MODULATOR_HIGHPASS_CUTOFF),
802 DECL(AL_RING_MODULATOR_WAVEFORM),
804 DECL(AL_PITCH_SHIFTER_COARSE_TUNE),
805 DECL(AL_PITCH_SHIFTER_FINE_TUNE),
807 DECL(AL_COMPRESSOR_ONOFF),
809 DECL(AL_EQUALIZER_LOW_GAIN),
810 DECL(AL_EQUALIZER_LOW_CUTOFF),
811 DECL(AL_EQUALIZER_MID1_GAIN),
812 DECL(AL_EQUALIZER_MID1_CENTER),
813 DECL(AL_EQUALIZER_MID1_WIDTH),
814 DECL(AL_EQUALIZER_MID2_GAIN),
815 DECL(AL_EQUALIZER_MID2_CENTER),
816 DECL(AL_EQUALIZER_MID2_WIDTH),
817 DECL(AL_EQUALIZER_HIGH_GAIN),
818 DECL(AL_EQUALIZER_HIGH_CUTOFF),
820 DECL(AL_DEDICATED_GAIN),
822 DECL(AL_AUTOWAH_ATTACK_TIME),
823 DECL(AL_AUTOWAH_RELEASE_TIME),
824 DECL(AL_AUTOWAH_RESONANCE),
825 DECL(AL_AUTOWAH_PEAK_GAIN),
827 DECL(AL_VOCAL_MORPHER_PHONEMEA),
828 DECL(AL_VOCAL_MORPHER_PHONEMEB_COARSE_TUNING),
829 DECL(AL_VOCAL_MORPHER_PHONEMEB),
830 DECL(AL_VOCAL_MORPHER_PHONEMEB_COARSE_TUNING),
831 DECL(AL_VOCAL_MORPHER_WAVEFORM),
832 DECL(AL_VOCAL_MORPHER_RATE),
834 DECL(AL_EFFECTSLOT_TARGET_SOFT),
836 DECL(AL_NUM_RESAMPLERS_SOFT),
837 DECL(AL_DEFAULT_RESAMPLER_SOFT),
838 DECL(AL_SOURCE_RESAMPLER_SOFT),
839 DECL(AL_RESAMPLER_NAME_SOFT),
841 DECL(AL_SOURCE_SPATIALIZE_SOFT),
842 DECL(AL_AUTO_SOFT),
844 DECL(AL_MAP_READ_BIT_SOFT),
845 DECL(AL_MAP_WRITE_BIT_SOFT),
846 DECL(AL_MAP_PERSISTENT_BIT_SOFT),
847 DECL(AL_PRESERVE_DATA_BIT_SOFT),
849 DECL(AL_EVENT_CALLBACK_FUNCTION_SOFT),
850 DECL(AL_EVENT_CALLBACK_USER_PARAM_SOFT),
851 DECL(AL_EVENT_TYPE_BUFFER_COMPLETED_SOFT),
852 DECL(AL_EVENT_TYPE_SOURCE_STATE_CHANGED_SOFT),
853 DECL(AL_EVENT_TYPE_DISCONNECTED_SOFT),
855 DECL(AL_DROP_UNMATCHED_SOFT),
856 DECL(AL_REMIX_UNMATCHED_SOFT),
858 DECL(AL_AMBISONIC_LAYOUT_SOFT),
859 DECL(AL_AMBISONIC_SCALING_SOFT),
860 DECL(AL_FUMA_SOFT),
861 DECL(AL_ACN_SOFT),
862 DECL(AL_SN3D_SOFT),
863 DECL(AL_N3D_SOFT),
865 DECL(AL_BUFFER_CALLBACK_FUNCTION_SOFT),
866 DECL(AL_BUFFER_CALLBACK_USER_PARAM_SOFT),
868 DECL(AL_UNPACK_AMBISONIC_ORDER_SOFT),
870 DECL(AL_EFFECT_CONVOLUTION_SOFT),
871 DECL(AL_EFFECTSLOT_STATE_SOFT),
873 DECL(AL_DONT_CARE_EXT),
874 DECL(AL_DEBUG_OUTPUT_EXT),
875 DECL(AL_DEBUG_CALLBACK_FUNCTION_EXT),
876 DECL(AL_DEBUG_CALLBACK_USER_PARAM_EXT),
877 DECL(AL_DEBUG_SOURCE_API_EXT),
878 DECL(AL_DEBUG_SOURCE_AUDIO_SYSTEM_EXT),
879 DECL(AL_DEBUG_SOURCE_THIRD_PARTY_EXT),
880 DECL(AL_DEBUG_SOURCE_APPLICATION_EXT),
881 DECL(AL_DEBUG_SOURCE_OTHER_EXT),
882 DECL(AL_DEBUG_TYPE_ERROR_EXT),
883 DECL(AL_DEBUG_TYPE_DEPRECATED_BEHAVIOR_EXT),
884 DECL(AL_DEBUG_TYPE_UNDEFINED_BEHAVIOR_EXT),
885 DECL(AL_DEBUG_TYPE_PORTABILITY_EXT),
886 DECL(AL_DEBUG_TYPE_PERFORMANCE_EXT),
887 DECL(AL_DEBUG_TYPE_MARKER_EXT),
888 DECL(AL_DEBUG_TYPE_PUSH_GROUP_EXT),
889 DECL(AL_DEBUG_TYPE_POP_GROUP_EXT),
890 DECL(AL_DEBUG_TYPE_OTHER_EXT),
891 DECL(AL_DEBUG_SEVERITY_HIGH_EXT),
892 DECL(AL_DEBUG_SEVERITY_MEDIUM_EXT),
893 DECL(AL_DEBUG_SEVERITY_LOW_EXT),
894 DECL(AL_DEBUG_SEVERITY_NOTIFICATION_EXT),
895 DECL(AL_DEBUG_LOGGED_MESSAGES_EXT),
896 DECL(AL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH_EXT),
897 DECL(AL_MAX_DEBUG_MESSAGE_LENGTH_EXT),
898 DECL(AL_MAX_DEBUG_LOGGED_MESSAGES_EXT),
899 DECL(AL_MAX_DEBUG_GROUP_STACK_DEPTH_EXT),
900 DECL(AL_MAX_LABEL_LENGTH_EXT),
901 DECL(AL_STACK_OVERFLOW_EXT),
902 DECL(AL_STACK_UNDERFLOW_EXT),
903 DECL(AL_BUFFER_EXT),
904 DECL(AL_SOURCE_EXT),
905 DECL(AL_FILTER_EXT),
906 DECL(AL_EFFECT_EXT),
907 DECL(AL_AUXILIARY_EFFECT_SLOT_EXT),
909 DECL(AL_PANNING_ENABLED_SOFT),
910 DECL(AL_PAN_SOFT),
912 DECL(AL_STOP_SOURCES_ON_DISCONNECT_SOFT),
914 #if ALSOFT_EAX
915 inline const std::array eaxEnumerations{
916 DECL(AL_EAX_RAM_SIZE),
917 DECL(AL_EAX_RAM_FREE),
918 DECL(AL_STORAGE_AUTOMATIC),
919 DECL(AL_STORAGE_HARDWARE),
920 DECL(AL_STORAGE_ACCESSIBLE),
922 #endif
923 #undef DECL
925 #endif /* ALC_EXPORT_LIST_H */