zenilib  0.5.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
al.h
Go to the documentation of this file.
1 #ifndef AL_AL_H
2 #define AL_AL_H
3 
4 #if defined(__cplusplus)
5 extern "C" {
6 #endif
7 
8 #if defined(AL_LIBTYPE_STATIC)
9  #define AL_API
10 #elif defined(_WIN32) && !defined(_XBOX)
11  #if defined(AL_BUILD_LIBRARY)
12  #define AL_API __declspec(dllexport)
13  #else
14  #define AL_API __declspec(dllimport)
15  #endif
16 #else
17  #if defined(AL_BUILD_LIBRARY) && defined(HAVE_GCC_VISIBILITY)
18  #define AL_API __attribute__((visibility("protected")))
19  #else
20  #define AL_API extern
21  #endif
22 #endif
23 
24 #if defined(_WIN32)
25  #define AL_APIENTRY __cdecl
26 #else
27  #define AL_APIENTRY
28 #endif
29 
30 #if defined(TARGET_OS_MAC) && TARGET_OS_MAC
31  #pragma export on
32 #endif
33 
34 /*
35  * The OPENAL, ALAPI, ALAPIENTRY, AL_INVALID, AL_ILLEGAL_ENUM, and
36  * AL_ILLEGAL_COMMAND macros are deprecated, but are included for
37  * applications porting code from AL 1.0
38  */
39 #define OPENAL
40 #define ALAPI AL_API
41 #define ALAPIENTRY AL_APIENTRY
42 #define AL_INVALID (-1)
43 #define AL_ILLEGAL_ENUM AL_INVALID_ENUM
44 #define AL_ILLEGAL_COMMAND AL_INVALID_OPERATION
45 
46 #define AL_VERSION_1_0
47 #define AL_VERSION_1_1
48 
49 
51 typedef char ALboolean;
52 
54 typedef char ALchar;
55 
57 typedef signed char ALbyte;
58 
60 typedef unsigned char ALubyte;
61 
63 typedef short ALshort;
64 
66 typedef unsigned short ALushort;
67 
69 typedef int ALint;
70 
72 typedef unsigned int ALuint;
73 
75 typedef int ALsizei;
76 
78 typedef int ALenum;
79 
81 typedef float ALfloat;
82 
84 typedef double ALdouble;
85 
87 typedef void ALvoid;
88 
89 
90 /* Enumerant values begin at column 50. No tabs. */
91 
92 /* "no distance model" or "no buffer" */
93 #define AL_NONE 0
94 
95 /* Boolean False. */
96 #define AL_FALSE 0
97 
99 #define AL_TRUE 1
100 
102 #define AL_SOURCE_RELATIVE 0x202
103 
104 
105 
111 #define AL_CONE_INNER_ANGLE 0x1001
112 
118 #define AL_CONE_OUTER_ANGLE 0x1002
119 
125 #define AL_PITCH 0x1003
126 
137 #define AL_POSITION 0x1004
138 
140 #define AL_DIRECTION 0x1005
141 
143 #define AL_VELOCITY 0x1006
144 
151 #define AL_LOOPING 0x1007
152 
158 #define AL_BUFFER 0x1009
159 
171 #define AL_GAIN 0x100A
172 
173 /*
174  * Indicate minimum source attenuation
175  * Type: ALfloat
176  * Range: [0.0 - 1.0]
177  *
178  * Logarthmic
179  */
180 #define AL_MIN_GAIN 0x100D
181 
189 #define AL_MAX_GAIN 0x100E
190 
196 #define AL_ORIENTATION 0x100F
197 
201 #define AL_SOURCE_STATE 0x1010
202 #define AL_INITIAL 0x1011
203 #define AL_PLAYING 0x1012
204 #define AL_PAUSED 0x1013
205 #define AL_STOPPED 0x1014
206 
210 #define AL_BUFFERS_QUEUED 0x1015
211 #define AL_BUFFERS_PROCESSED 0x1016
212 
216 #define AL_SEC_OFFSET 0x1024
217 #define AL_SAMPLE_OFFSET 0x1025
218 #define AL_BYTE_OFFSET 0x1026
219 
220 /*
221  * Source type (Static, Streaming or undetermined)
222  * Source is Static if a Buffer has been attached using AL_BUFFER
223  * Source is Streaming if one or more Buffers have been attached using alSourceQueueBuffers
224  * Source is undetermined when it has the NULL buffer attached
225  */
226 #define AL_SOURCE_TYPE 0x1027
227 #define AL_STATIC 0x1028
228 #define AL_STREAMING 0x1029
229 #define AL_UNDETERMINED 0x1030
230 
232 #define AL_FORMAT_MONO8 0x1100
233 #define AL_FORMAT_MONO16 0x1101
234 #define AL_FORMAT_STEREO8 0x1102
235 #define AL_FORMAT_STEREO16 0x1103
236 
245 #define AL_REFERENCE_DISTANCE 0x1020
246 
253 #define AL_ROLLOFF_FACTOR 0x1021
254 
262 #define AL_CONE_OUTER_GAIN 0x1022
263 
272 #define AL_MAX_DISTANCE 0x1023
273 
280 #define AL_FREQUENCY 0x2001
281 #define AL_BITS 0x2002
282 #define AL_CHANNELS 0x2003
283 #define AL_SIZE 0x2004
284 
290 #define AL_UNUSED 0x2010
291 #define AL_PENDING 0x2011
292 #define AL_PROCESSED 0x2012
293 
294 
296 #define AL_NO_ERROR AL_FALSE
297 
301 #define AL_INVALID_NAME 0xA001
302 
306 #define AL_INVALID_ENUM 0xA002
307 
311 #define AL_INVALID_VALUE 0xA003
312 
316 #define AL_INVALID_OPERATION 0xA004
317 
318 
322 #define AL_OUT_OF_MEMORY 0xA005
323 
324 
326 #define AL_VENDOR 0xB001
327 #define AL_VERSION 0xB002
328 #define AL_RENDERER 0xB003
329 #define AL_EXTENSIONS 0xB004
330 
336 #define AL_DOPPLER_FACTOR 0xC000
337 
341 #define AL_DOPPLER_VELOCITY 0xC001
342 
346 #define AL_SPEED_OF_SOUND 0xC003
347 
355 #define AL_DISTANCE_MODEL 0xD000
356 #define AL_INVERSE_DISTANCE 0xD001
357 #define AL_INVERSE_DISTANCE_CLAMPED 0xD002
358 #define AL_LINEAR_DISTANCE 0xD003
359 #define AL_LINEAR_DISTANCE_CLAMPED 0xD004
360 #define AL_EXPONENT_DISTANCE 0xD005
361 #define AL_EXPONENT_DISTANCE_CLAMPED 0xD006
362 
363 /*
364  * Renderer State management
365  */
366 AL_API void AL_APIENTRY alEnable( ALenum capability );
367 
368 AL_API void AL_APIENTRY alDisable( ALenum capability );
369 
370 AL_API ALboolean AL_APIENTRY alIsEnabled( ALenum capability );
371 
372 
373 /*
374  * State retrieval
375  */
376 AL_API const ALchar* AL_APIENTRY alGetString( ALenum param );
377 
378 AL_API void AL_APIENTRY alGetBooleanv( ALenum param, ALboolean* data );
379 
380 AL_API void AL_APIENTRY alGetIntegerv( ALenum param, ALint* data );
381 
382 AL_API void AL_APIENTRY alGetFloatv( ALenum param, ALfloat* data );
383 
384 AL_API void AL_APIENTRY alGetDoublev( ALenum param, ALdouble* data );
385 
386 AL_API ALboolean AL_APIENTRY alGetBoolean( ALenum param );
387 
388 AL_API ALint AL_APIENTRY alGetInteger( ALenum param );
389 
390 AL_API ALfloat AL_APIENTRY alGetFloat( ALenum param );
391 
392 AL_API ALdouble AL_APIENTRY alGetDouble( ALenum param );
393 
394 
395 /*
396  * Error support.
397  * Obtain the most recent error generated in the AL state machine.
398  */
399 AL_API ALenum AL_APIENTRY alGetError( void );
400 
401 
402 /*
403  * Extension support.
404  * Query for the presence of an extension, and obtain any appropriate
405  * function pointers and enum values.
406  */
407 AL_API ALboolean AL_APIENTRY alIsExtensionPresent( const ALchar* extname );
408 
409 AL_API void* AL_APIENTRY alGetProcAddress( const ALchar* fname );
410 
411 AL_API ALenum AL_APIENTRY alGetEnumValue( const ALchar* ename );
412 
413 
414 /*
415  * LISTENER
416  * Listener represents the location and orientation of the
417  * 'user' in 3D-space.
418  *
419  * Properties include: -
420  *
421  * Gain AL_GAIN ALfloat
422  * Position AL_POSITION ALfloat[3]
423  * Velocity AL_VELOCITY ALfloat[3]
424  * Orientation AL_ORIENTATION ALfloat[6] (Forward then Up vectors)
425 */
426 
427 /*
428  * Set Listener parameters
429  */
430 AL_API void AL_APIENTRY alListenerf( ALenum param, ALfloat value );
431 
432 AL_API void AL_APIENTRY alListener3f( ALenum param, ALfloat value1, ALfloat value2, ALfloat value3 );
433 
434 AL_API void AL_APIENTRY alListenerfv( ALenum param, const ALfloat* values );
435 
436 AL_API void AL_APIENTRY alListeneri( ALenum param, ALint value );
437 
438 AL_API void AL_APIENTRY alListener3i( ALenum param, ALint value1, ALint value2, ALint value3 );
439 
440 AL_API void AL_APIENTRY alListeneriv( ALenum param, const ALint* values );
441 
442 /*
443  * Get Listener parameters
444  */
445 AL_API void AL_APIENTRY alGetListenerf( ALenum param, ALfloat* value );
446 
447 AL_API void AL_APIENTRY alGetListener3f( ALenum param, ALfloat *value1, ALfloat *value2, ALfloat *value3 );
448 
449 AL_API void AL_APIENTRY alGetListenerfv( ALenum param, ALfloat* values );
450 
451 AL_API void AL_APIENTRY alGetListeneri( ALenum param, ALint* value );
452 
453 AL_API void AL_APIENTRY alGetListener3i( ALenum param, ALint *value1, ALint *value2, ALint *value3 );
454 
455 AL_API void AL_APIENTRY alGetListeneriv( ALenum param, ALint* values );
456 
457 
491 /* Create Source objects */
492 AL_API void AL_APIENTRY alGenSources( ALsizei n, ALuint* sources );
493 
494 /* Delete Source objects */
495 AL_API void AL_APIENTRY alDeleteSources( ALsizei n, const ALuint* sources );
496 
497 /* Verify a handle is a valid Source */
498 AL_API ALboolean AL_APIENTRY alIsSource( ALuint sid );
499 
500 /*
501  * Set Source parameters
502  */
503 AL_API void AL_APIENTRY alSourcef( ALuint sid, ALenum param, ALfloat value );
504 
505 AL_API void AL_APIENTRY alSource3f( ALuint sid, ALenum param, ALfloat value1, ALfloat value2, ALfloat value3 );
506 
507 AL_API void AL_APIENTRY alSourcefv( ALuint sid, ALenum param, const ALfloat* values );
508 
509 AL_API void AL_APIENTRY alSourcei( ALuint sid, ALenum param, ALint value );
510 
511 AL_API void AL_APIENTRY alSource3i( ALuint sid, ALenum param, ALint value1, ALint value2, ALint value3 );
512 
513 AL_API void AL_APIENTRY alSourceiv( ALuint sid, ALenum param, const ALint* values );
514 
515 /*
516  * Get Source parameters
517  */
518 AL_API void AL_APIENTRY alGetSourcef( ALuint sid, ALenum param, ALfloat* value );
519 
520 AL_API void AL_APIENTRY alGetSource3f( ALuint sid, ALenum param, ALfloat* value1, ALfloat* value2, ALfloat* value3);
521 
522 AL_API void AL_APIENTRY alGetSourcefv( ALuint sid, ALenum param, ALfloat* values );
523 
524 AL_API void AL_APIENTRY alGetSourcei( ALuint sid, ALenum param, ALint* value );
525 
526 AL_API void AL_APIENTRY alGetSource3i( ALuint sid, ALenum param, ALint* value1, ALint* value2, ALint* value3);
527 
528 AL_API void AL_APIENTRY alGetSourceiv( ALuint sid, ALenum param, ALint* values );
529 
530 
531 /*
532  * Source vector based playback calls
533  */
534 
535 /* Play, replay, or resume (if paused) a list of Sources */
536 AL_API void AL_APIENTRY alSourcePlayv( ALsizei ns, const ALuint *sids );
537 
538 /* Stop a list of Sources */
539 AL_API void AL_APIENTRY alSourceStopv( ALsizei ns, const ALuint *sids );
540 
541 /* Rewind a list of Sources */
542 AL_API void AL_APIENTRY alSourceRewindv( ALsizei ns, const ALuint *sids );
543 
544 /* Pause a list of Sources */
545 AL_API void AL_APIENTRY alSourcePausev( ALsizei ns, const ALuint *sids );
546 
547 /*
548  * Source based playback calls
549  */
550 
551 /* Play, replay, or resume a Source */
552 AL_API void AL_APIENTRY alSourcePlay( ALuint sid );
553 
554 /* Stop a Source */
555 AL_API void AL_APIENTRY alSourceStop( ALuint sid );
556 
557 /* Rewind a Source (set playback postiton to beginning) */
558 AL_API void AL_APIENTRY alSourceRewind( ALuint sid );
559 
560 /* Pause a Source */
561 AL_API void AL_APIENTRY alSourcePause( ALuint sid );
562 
563 /*
564  * Source Queuing
565  */
566 AL_API void AL_APIENTRY alSourceQueueBuffers( ALuint sid, ALsizei numEntries, const ALuint *bids );
567 
568 AL_API void AL_APIENTRY alSourceUnqueueBuffers( ALuint sid, ALsizei numEntries, ALuint *bids );
569 
570 
585 /* Create Buffer objects */
586 AL_API void AL_APIENTRY alGenBuffers( ALsizei n, ALuint* buffers );
587 
588 /* Delete Buffer objects */
589 AL_API void AL_APIENTRY alDeleteBuffers( ALsizei n, const ALuint* buffers );
590 
591 /* Verify a handle is a valid Buffer */
592 AL_API ALboolean AL_APIENTRY alIsBuffer( ALuint bid );
593 
594 /* Specify the data to be copied into a buffer */
595 AL_API void AL_APIENTRY alBufferData( ALuint bid, ALenum format, const ALvoid* data, ALsizei size, ALsizei freq );
596 
597 /*
598  * Set Buffer parameters
599  */
600 AL_API void AL_APIENTRY alBufferf( ALuint bid, ALenum param, ALfloat value );
601 
602 AL_API void AL_APIENTRY alBuffer3f( ALuint bid, ALenum param, ALfloat value1, ALfloat value2, ALfloat value3 );
603 
604 AL_API void AL_APIENTRY alBufferfv( ALuint bid, ALenum param, const ALfloat* values );
605 
606 AL_API void AL_APIENTRY alBufferi( ALuint bid, ALenum param, ALint value );
607 
608 AL_API void AL_APIENTRY alBuffer3i( ALuint bid, ALenum param, ALint value1, ALint value2, ALint value3 );
609 
610 AL_API void AL_APIENTRY alBufferiv( ALuint bid, ALenum param, const ALint* values );
611 
612 /*
613  * Get Buffer parameters
614  */
615 AL_API void AL_APIENTRY alGetBufferf( ALuint bid, ALenum param, ALfloat* value );
616 
617 AL_API void AL_APIENTRY alGetBuffer3f( ALuint bid, ALenum param, ALfloat* value1, ALfloat* value2, ALfloat* value3);
618 
619 AL_API void AL_APIENTRY alGetBufferfv( ALuint bid, ALenum param, ALfloat* values );
620 
621 AL_API void AL_APIENTRY alGetBufferi( ALuint bid, ALenum param, ALint* value );
622 
623 AL_API void AL_APIENTRY alGetBuffer3i( ALuint bid, ALenum param, ALint* value1, ALint* value2, ALint* value3);
624 
625 AL_API void AL_APIENTRY alGetBufferiv( ALuint bid, ALenum param, ALint* values );
626 
627 
628 /*
629  * Global Parameters
630  */
631 AL_API void AL_APIENTRY alDopplerFactor( ALfloat value );
632 
633 AL_API void AL_APIENTRY alDopplerVelocity( ALfloat value );
634 
635 AL_API void AL_APIENTRY alSpeedOfSound( ALfloat value );
636 
637 AL_API void AL_APIENTRY alDistanceModel( ALenum distanceModel );
638 
639 /*
640  * Pointer-to-function types, useful for dynamically getting AL entry points.
641  */
642 typedef void (AL_APIENTRY *LPALENABLE)( ALenum capability );
643 typedef void (AL_APIENTRY *LPALDISABLE)( ALenum capability );
644 typedef ALboolean (AL_APIENTRY *LPALISENABLED)( ALenum capability );
645 typedef const ALchar* (AL_APIENTRY *LPALGETSTRING)( ALenum param );
646 typedef void (AL_APIENTRY *LPALGETBOOLEANV)( ALenum param, ALboolean* data );
647 typedef void (AL_APIENTRY *LPALGETINTEGERV)( ALenum param, ALint* data );
648 typedef void (AL_APIENTRY *LPALGETFLOATV)( ALenum param, ALfloat* data );
649 typedef void (AL_APIENTRY *LPALGETDOUBLEV)( ALenum param, ALdouble* data );
651 typedef ALint (AL_APIENTRY *LPALGETINTEGER)( ALenum param );
652 typedef ALfloat (AL_APIENTRY *LPALGETFLOAT)( ALenum param );
655 typedef ALboolean (AL_APIENTRY *LPALISEXTENSIONPRESENT)(const ALchar* extname );
656 typedef void* (AL_APIENTRY *LPALGETPROCADDRESS)( const ALchar* fname );
657 typedef ALenum (AL_APIENTRY *LPALGETENUMVALUE)( const ALchar* ename );
658 typedef void (AL_APIENTRY *LPALLISTENERF)( ALenum param, ALfloat value );
659 typedef void (AL_APIENTRY *LPALLISTENER3F)( ALenum param, ALfloat value1, ALfloat value2, ALfloat value3 );
660 typedef void (AL_APIENTRY *LPALLISTENERFV)( ALenum param, const ALfloat* values );
661 typedef void (AL_APIENTRY *LPALLISTENERI)( ALenum param, ALint value );
662 typedef void (AL_APIENTRY *LPALLISTENER3I)( ALenum param, ALint value1, ALint value2, ALint value3 );
663 typedef void (AL_APIENTRY *LPALLISTENERIV)( ALenum param, const ALint* values );
664 typedef void (AL_APIENTRY *LPALGETLISTENERF)( ALenum param, ALfloat* value );
665 typedef void (AL_APIENTRY *LPALGETLISTENER3F)( ALenum param, ALfloat *value1, ALfloat *value2, ALfloat *value3 );
666 typedef void (AL_APIENTRY *LPALGETLISTENERFV)( ALenum param, ALfloat* values );
667 typedef void (AL_APIENTRY *LPALGETLISTENERI)( ALenum param, ALint* value );
668 typedef void (AL_APIENTRY *LPALGETLISTENER3I)( ALenum param, ALint *value1, ALint *value2, ALint *value3 );
669 typedef void (AL_APIENTRY *LPALGETLISTENERIV)( ALenum param, ALint* values );
670 typedef void (AL_APIENTRY *LPALGENSOURCES)( ALsizei n, ALuint* sources );
671 typedef void (AL_APIENTRY *LPALDELETESOURCES)( ALsizei n, const ALuint* sources );
672 typedef ALboolean (AL_APIENTRY *LPALISSOURCE)( ALuint sid );
673 typedef void (AL_APIENTRY *LPALSOURCEF)( ALuint sid, ALenum param, ALfloat value);
674 typedef void (AL_APIENTRY *LPALSOURCE3F)( ALuint sid, ALenum param, ALfloat value1, ALfloat value2, ALfloat value3 );
675 typedef void (AL_APIENTRY *LPALSOURCEFV)( ALuint sid, ALenum param, const ALfloat* values );
676 typedef void (AL_APIENTRY *LPALSOURCEI)( ALuint sid, ALenum param, ALint value);
677 typedef void (AL_APIENTRY *LPALSOURCE3I)( ALuint sid, ALenum param, ALint value1, ALint value2, ALint value3 );
678 typedef void (AL_APIENTRY *LPALSOURCEIV)( ALuint sid, ALenum param, const ALint* values );
679 typedef void (AL_APIENTRY *LPALGETSOURCEF)( ALuint sid, ALenum param, ALfloat* value );
680 typedef void (AL_APIENTRY *LPALGETSOURCE3F)( ALuint sid, ALenum param, ALfloat* value1, ALfloat* value2, ALfloat* value3);
681 typedef void (AL_APIENTRY *LPALGETSOURCEFV)( ALuint sid, ALenum param, ALfloat* values );
682 typedef void (AL_APIENTRY *LPALGETSOURCEI)( ALuint sid, ALenum param, ALint* value );
683 typedef void (AL_APIENTRY *LPALGETSOURCE3I)( ALuint sid, ALenum param, ALint* value1, ALint* value2, ALint* value3);
684 typedef void (AL_APIENTRY *LPALGETSOURCEIV)( ALuint sid, ALenum param, ALint* values );
685 typedef void (AL_APIENTRY *LPALSOURCEPLAYV)( ALsizei ns, const ALuint *sids );
686 typedef void (AL_APIENTRY *LPALSOURCESTOPV)( ALsizei ns, const ALuint *sids );
687 typedef void (AL_APIENTRY *LPALSOURCEREWINDV)( ALsizei ns, const ALuint *sids );
688 typedef void (AL_APIENTRY *LPALSOURCEPAUSEV)( ALsizei ns, const ALuint *sids );
689 typedef void (AL_APIENTRY *LPALSOURCEPLAY)( ALuint sid );
690 typedef void (AL_APIENTRY *LPALSOURCESTOP)( ALuint sid );
691 typedef void (AL_APIENTRY *LPALSOURCEREWIND)( ALuint sid );
692 typedef void (AL_APIENTRY *LPALSOURCEPAUSE)( ALuint sid );
693 typedef void (AL_APIENTRY *LPALSOURCEQUEUEBUFFERS)(ALuint sid, ALsizei numEntries, const ALuint *bids );
694 typedef void (AL_APIENTRY *LPALSOURCEUNQUEUEBUFFERS)(ALuint sid, ALsizei numEntries, ALuint *bids );
695 typedef void (AL_APIENTRY *LPALGENBUFFERS)( ALsizei n, ALuint* buffers );
696 typedef void (AL_APIENTRY *LPALDELETEBUFFERS)( ALsizei n, const ALuint* buffers );
697 typedef ALboolean (AL_APIENTRY *LPALISBUFFER)( ALuint bid );
698 typedef void (AL_APIENTRY *LPALBUFFERDATA)( ALuint bid, ALenum format, const ALvoid* data, ALsizei size, ALsizei freq );
699 typedef void (AL_APIENTRY *LPALBUFFERF)( ALuint bid, ALenum param, ALfloat value);
700 typedef void (AL_APIENTRY *LPALBUFFER3F)( ALuint bid, ALenum param, ALfloat value1, ALfloat value2, ALfloat value3 );
701 typedef void (AL_APIENTRY *LPALBUFFERFV)( ALuint bid, ALenum param, const ALfloat* values );
702 typedef void (AL_APIENTRY *LPALBUFFERI)( ALuint bid, ALenum param, ALint value);
703 typedef void (AL_APIENTRY *LPALBUFFER3I)( ALuint bid, ALenum param, ALint value1, ALint value2, ALint value3 );
704 typedef void (AL_APIENTRY *LPALBUFFERIV)( ALuint bid, ALenum param, const ALint* values );
705 typedef void (AL_APIENTRY *LPALGETBUFFERF)( ALuint bid, ALenum param, ALfloat* value );
706 typedef void (AL_APIENTRY *LPALGETBUFFER3F)( ALuint bid, ALenum param, ALfloat* value1, ALfloat* value2, ALfloat* value3);
707 typedef void (AL_APIENTRY *LPALGETBUFFERFV)( ALuint bid, ALenum param, ALfloat* values );
708 typedef void (AL_APIENTRY *LPALGETBUFFERI)( ALuint bid, ALenum param, ALint* value );
709 typedef void (AL_APIENTRY *LPALGETBUFFER3I)( ALuint bid, ALenum param, ALint* value1, ALint* value2, ALint* value3);
710 typedef void (AL_APIENTRY *LPALGETBUFFERIV)( ALuint bid, ALenum param, ALint* values );
711 typedef void (AL_APIENTRY *LPALDOPPLERFACTOR)( ALfloat value );
713 typedef void (AL_APIENTRY *LPALSPEEDOFSOUND)( ALfloat value );
714 typedef void (AL_APIENTRY *LPALDISTANCEMODEL)( ALenum distanceModel );
715 
716 #if defined(TARGET_OS_MAC) && TARGET_OS_MAC
717  #pragma export off
718 #endif
719 
720 #if defined(__cplusplus)
721 } /* extern "C" */
722 #endif
723 
724 #endif /* AL_AL_H */
void(AL_APIENTRY * LPALDELETEBUFFERS)(ALsizei n, const ALuint *buffers)
Definition: al.h:632
AL_API void AL_APIENTRY alSourcePlay(ALuint source)
Definition: alSource.c:1894
AL_API void AL_APIENTRY alGetBufferiv(ALuint buffer, ALenum param, ALint *values)
Definition: alBuffer.c:975
void(AL_APIENTRY * LPALSOURCEQUEUEBUFFERS)(ALuint source, ALsizei nb, const ALuint *buffers)
Definition: al.h:629
AL_API void AL_APIENTRY alGetListeneriv(ALenum param, ALint *values)
Definition: alListener.c:433
unsigned char ALubyte
Definition: al.h:47
AL_API void AL_APIENTRY alSource3i(ALuint source, ALenum param, ALint value1, ALint value2, ALint value3)
Definition: alSource.c:1499
void(AL_APIENTRY * LPALLISTENERF)(ALenum param, ALfloat value)
Definition: al.h:594
void(AL_APIENTRY * LPALDOPPLERVELOCITY)(ALfloat value)
Definition: al.h:648
void ALvoid
Definition: al.h:74
GLenum GLint param
Definition: gl2ext.h:1491
AL_API void *AL_APIENTRY alGetProcAddress(const ALchar *fname)
Definition: alExtension.c:88
void(AL_APIENTRY * LPALGETLISTENERIV)(ALenum param, ALint *values)
Definition: al.h:605
void(AL_APIENTRY * LPALBUFFERF)(ALuint buffer, ALenum param, ALfloat value)
Definition: al.h:635
void(AL_APIENTRY * LPALGETBUFFERIV)(ALuint buffer, ALenum param, ALint *values)
Definition: al.h:646
ALdouble(AL_APIENTRY * LPALGETDOUBLE)(ALenum param)
Definition: al.h:589
AL_API void AL_APIENTRY alGetDoublev(ALenum param, ALdouble *values)
Definition: alState.c:332
void(AL_APIENTRY * LPALGENBUFFERS)(ALsizei n, ALuint *buffers)
Definition: al.h:631
GLvoid **typedef void(GLAPIENTRY *PFNGLGETVERTEXATTRIBDVPROC)(GLuint
Definition: glew.h:1824
AL_API void AL_APIENTRY alBufferData(ALuint buffer, ALenum format, const ALvoid *data, ALsizei size, ALsizei freq)
Definition: alBuffer.c:289
void(AL_APIENTRY * LPALGETDOUBLEV)(ALenum param, ALdouble *values)
Definition: al.h:585
AL_API void AL_APIENTRY alBuffer3f(ALuint buffer, ALenum param, ALfloat value1, ALfloat value2, ALfloat value3)
Definition: alBuffer.c:639
char ALchar
Definition: al.h:41
void(AL_APIENTRY * LPALGETSOURCEIV)(ALuint source, ALenum param, ALint *values)
Definition: al.h:620
void(AL_APIENTRY * LPALSPEEDOFSOUND)(ALfloat value)
Definition: al.h:649
void(AL_APIENTRY * LPALSOURCEUNQUEUEBUFFERS)(ALuint source, ALsizei nb, ALuint *buffers)
Definition: al.h:630
void(AL_APIENTRY * LPALBUFFERI)(ALuint buffer, ALenum param, ALint value)
Definition: al.h:638
void(AL_APIENTRY * LPALBUFFERDATA)(ALuint buffer, ALenum format, const ALvoid *data, ALsizei size, ALsizei freq)
Definition: al.h:634
AL_API void AL_APIENTRY alGetListeneri(ALenum param, ALint *value)
Definition: alListener.c:373
GLsizei GLenum * sources
Definition: glew.h:3769
GLclampd n
Definition: glew.h:7287
void(AL_APIENTRY * LPALDISABLE)(ALenum capability)
Definition: al.h:579
AL_API ALenum AL_APIENTRY alGetError(void)
Definition: alError.c:46
int ALsizei
Definition: al.h:62
void(AL_APIENTRY * LPALGETLISTENERFV)(ALenum param, ALfloat *values)
Definition: al.h:602
FT_UInt sid
Definition: cffcmap.c:128
AL_API void AL_APIENTRY alGetSourcei(ALuint source, ALenum param, ALint *value)
Definition: alSource.c:1754
int ALint
Definition: al.h:56
void(AL_APIENTRY * LPALGETSOURCE3F)(ALuint source, ALenum param, ALfloat *value1, ALfloat *value2, ALfloat *value3)
Definition: al.h:616
void(AL_APIENTRY * LPALGETLISTENERI)(ALenum param, ALint *value)
Definition: al.h:603
short ALshort
Definition: al.h:50
#define AL_APIENTRY
Definition: al.h:27
void(AL_APIENTRY * LPALGETBUFFER3F)(ALuint buffer, ALenum param, ALfloat *value1, ALfloat *value2, ALfloat *value3)
Definition: al.h:642
AL_API ALboolean AL_APIENTRY alIsEnabled(ALenum capability)
Definition: alState.c:94
ALenum(AL_APIENTRY * LPALGETENUMVALUE)(const ALchar *ename)
Definition: al.h:593
AL_API void AL_APIENTRY alDopplerFactor(ALfloat value)
Definition: alState.c:504
void(AL_APIENTRY * LPALSOURCEPLAY)(ALuint source)
Definition: al.h:625
ALboolean(AL_APIENTRY * LPALISBUFFER)(ALuint buffer)
Definition: al.h:633
void(AL_APIENTRY * LPALGENSOURCES)(ALsizei n, ALuint *sources)
Definition: al.h:606
AL_API void AL_APIENTRY alGetBooleanv(ALenum param, ALboolean *values)
Definition: alState.c:297
AL_API void AL_APIENTRY alGetSource3f(ALuint source, ALenum param, ALfloat *value1, ALfloat *value2, ALfloat *value3)
Definition: alSource.c:1626
AL_API void AL_APIENTRY alListeneri(ALenum param, ALint value)
Definition: alListener.c:162
AL_API ALdouble AL_APIENTRY alGetDouble(ALenum param)
Definition: alState.c:168
ALboolean(AL_APIENTRY * LPALISEXTENSIONPRESENT)(const ALchar *extname)
Definition: al.h:591
AL_API ALboolean AL_APIENTRY alGetBoolean(ALenum param)
Definition: alState.c:121
AL_API void AL_APIENTRY alListener3i(ALenum param, ALint value1, ALint value2, ALint value3)
Definition: alListener.c:185
void(AL_APIENTRY * LPALLISTENERIV)(ALenum param, const ALint *values)
Definition: al.h:599
float ALfloat
Definition: al.h:68
AL_API void AL_APIENTRY alGetListener3i(ALenum param, ALint *value1, ALint *value2, ALint *value3)
Definition: alListener.c:395
AL_API void AL_APIENTRY alSourceiv(ALuint source, ALenum param, const ALint *values)
Definition: alSource.c:1520
AL_API void AL_APIENTRY alGenSources(ALsizei n, ALuint *sources)
Definition: alSource.c:1216
signed char ALbyte
Definition: al.h:44
void(AL_APIENTRY * LPALSOURCEREWINDV)(ALsizei n, const ALuint *sources)
Definition: al.h:623
void(AL_APIENTRY * LPALGETSOURCE3I)(ALuint source, ALenum param, ALint *value1, ALint *value2, ALint *value3)
Definition: al.h:619
AL_API ALenum AL_APIENTRY alGetEnumValue(const ALchar *ename)
Definition: alExtension.c:95
AL_API void AL_APIENTRY alListenerf(ALenum param, ALfloat value)
Definition: alListener.c:29
void *(AL_APIENTRY * LPALGETPROCADDRESS)(const ALchar *fname)
Definition: al.h:592
const GLuint * buffers
Definition: glew.h:1669
void(AL_APIENTRY * LPALGETBUFFERFV)(ALuint buffer, ALenum param, ALfloat *values)
Definition: al.h:643
AL_API void AL_APIENTRY alGetBufferfv(ALuint buffer, ALenum param, ALfloat *values)
Definition: alBuffer.c:858
AL_API void AL_APIENTRY alDopplerVelocity(ALfloat value)
Definition: alState.c:523
void(AL_APIENTRY * LPALBUFFERFV)(ALuint buffer, ALenum param, const ALfloat *values)
Definition: al.h:637
AL_API void AL_APIENTRY alSourceStop(ALuint source)
Definition: alSource.c:1985
void(AL_APIENTRY * LPALSOURCEF)(ALuint source, ALenum param, ALfloat value)
Definition: al.h:609
ALenum(AL_APIENTRY * LPALGETERROR)(void)
Definition: al.h:590
double ALdouble
Definition: al.h:71
void(AL_APIENTRY * LPALSOURCEPLAYV)(ALsizei n, const ALuint *sources)
Definition: al.h:621
void(AL_APIENTRY * LPALGETSOURCEFV)(ALuint source, ALenum param, ALfloat *values)
Definition: al.h:617
AL_API void AL_APIENTRY alGetFloatv(ALenum param, ALfloat *values)
Definition: alState.c:367
unsigned short ALushort
Definition: al.h:53
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
Definition: gl2ext.h:848
AL_API void AL_APIENTRY alGetSourcefv(ALuint source, ALenum param, ALfloat *values)
Definition: alSource.c:1655
void(AL_APIENTRY * LPALSOURCE3F)(ALuint source, ALenum param, ALfloat value1, ALfloat value2, ALfloat value3)
Definition: al.h:610
ALboolean(AL_APIENTRY * LPALISENABLED)(ALenum capability)
Definition: al.h:580
void(AL_APIENTRY * LPALSOURCE3I)(ALuint source, ALenum param, ALint value1, ALint value2, ALint value3)
Definition: al.h:613
void(AL_APIENTRY * LPALGETBOOLEANV)(ALenum param, ALboolean *values)
Definition: al.h:582
AL_API void AL_APIENTRY alSourcePlayv(ALsizei n, const ALuint *sources)
Definition: alSource.c:1898
AL_API void AL_APIENTRY alSourceRewind(ALuint source)
Definition: alSource.c:2021
void(AL_APIENTRY * LPALGETSOURCEF)(ALuint source, ALenum param, ALfloat *value)
Definition: al.h:615
AL_API ALint AL_APIENTRY alGetInteger(ALenum param)
Definition: alState.c:254
void(AL_APIENTRY * LPALSOURCEIV)(ALuint source, ALenum param, const ALint *values)
Definition: al.h:614
int ALenum
Definition: al.h:65
AL_API void AL_APIENTRY alSource3f(ALuint source, ALenum param, ALfloat value1, ALfloat value2, ALfloat value3)
Definition: alSource.c:1368
void(AL_APIENTRY * LPALLISTENERI)(ALenum param, ALint value)
Definition: al.h:597
void(AL_APIENTRY * LPALDELETESOURCES)(ALsizei n, const ALuint *sources)
Definition: al.h:607
GLint GLenum GLsizei GLsizei GLsizei GLint GLenum format
Definition: gl2ext.h:845
void(AL_APIENTRY * LPALSOURCEPAUSEV)(ALsizei n, const ALuint *sources)
Definition: al.h:624
void(AL_APIENTRY * LPALGETSOURCEI)(ALuint source, ALenum param, ALint *value)
Definition: al.h:618
AL_API void AL_APIENTRY alGetSourcef(ALuint source, ALenum param, ALfloat *value)
Definition: alSource.c:1601
unsigned int ALuint
Definition: al.h:59
AL_API void AL_APIENTRY alGenBuffers(ALsizei n, ALuint *buffers)
Definition: alBuffer.c:183
void(AL_APIENTRY * LPALENABLE)(ALenum capability)
Definition: al.h:578
AL_API void AL_APIENTRY alGetBufferi(ALuint buffer, ALenum param, ALint *value)
Definition: alBuffer.c:891
void(AL_APIENTRY * LPALLISTENER3F)(ALenum param, ALfloat value1, ALfloat value2, ALfloat value3)
Definition: al.h:595
AL_API ALfloat AL_APIENTRY alGetFloat(ALenum param)
Definition: alState.c:211
void(AL_APIENTRY * LPALSOURCEFV)(ALuint source, ALenum param, const ALfloat *values)
Definition: al.h:611
AL_API void AL_APIENTRY alSourcef(ALuint source, ALenum param, ALfloat value)
Definition: alSource.c:1350
AL_API void AL_APIENTRY alBufferi(ALuint buffer, ALenum param, ALint value)
Definition: alBuffer.c:694
AL_API void AL_APIENTRY alListeneriv(ALenum param, const ALint *values)
Definition: alListener.c:214
AL_API void AL_APIENTRY alGetIntegerv(ALenum param, ALint *values)
Definition: alState.c:402
AL_API void AL_APIENTRY alEnable(ALenum capability)
Definition: alState.c:44
void(AL_APIENTRY * LPALSOURCEI)(ALuint source, ALenum param, ALint value)
Definition: al.h:612
void(AL_APIENTRY * LPALGETLISTENERF)(ALenum param, ALfloat *value)
Definition: al.h:600
AL_API void AL_APIENTRY alBufferfv(ALuint buffer, ALenum param, const ALfloat *values)
Definition: alBuffer.c:668
AL_API void AL_APIENTRY alGetBuffer3f(ALuint buffer, ALenum param, ALfloat *value1, ALfloat *value2, ALfloat *value3)
Definition: alBuffer.c:832
void(AL_APIENTRY * LPALSOURCEREWIND)(ALuint source)
Definition: al.h:627
const ALchar *(AL_APIENTRY * LPALGETSTRING)(ALenum param)
Definition: al.h:581
AL_API void AL_APIENTRY alBufferf(ALuint buffer, ALenum param, ALfloat value)
Definition: alBuffer.c:612
EGLSurface EGLint void ** value
Definition: eglext.h:301
void(AL_APIENTRY * LPALGETLISTENER3F)(ALenum param, ALfloat *value1, ALfloat *value2, ALfloat *value3)
Definition: al.h:601
void(AL_APIENTRY * LPALBUFFER3F)(ALuint buffer, ALenum param, ALfloat value1, ALfloat value2, ALfloat value3)
Definition: al.h:636
AL_API void AL_APIENTRY alSourcePausev(ALsizei n, const ALuint *sources)
Definition: alSource.c:1953
AL_API ALboolean AL_APIENTRY alIsExtensionPresent(const ALchar *extname)
Definition: alExtension.c:49
AL_API void AL_APIENTRY alGetListener3f(ALenum param, ALfloat *value1, ALfloat *value2, ALfloat *value3)
Definition: alListener.c:288
AL_API const ALchar *AL_APIENTRY alGetString(ALenum param)
Definition: alState.c:437
AL_API void AL_APIENTRY alSourceQueueBuffers(ALuint source, ALsizei nb, const ALuint *buffers)
Definition: alSource.c:2058
AL_API void AL_APIENTRY alGetListenerf(ALenum param, ALfloat *value)
Definition: alListener.c:258
ALboolean(AL_APIENTRY * LPALGETBOOLEAN)(ALenum param)
Definition: al.h:586
void(AL_APIENTRY * LPALDISTANCEMODEL)(ALenum distanceModel)
Definition: al.h:650
AL_API void AL_APIENTRY alDisable(ALenum capability)
Definition: alState.c:69
ALint(AL_APIENTRY * LPALGETINTEGER)(ALenum param)
Definition: al.h:587
void(AL_APIENTRY * LPALGETBUFFER3I)(ALuint buffer, ALenum param, ALint *value1, ALint *value2, ALint *value3)
Definition: al.h:645
char ALboolean
Definition: al.h:38
void(AL_APIENTRY * LPALSOURCESTOP)(ALuint source)
Definition: al.h:626
AL_API void AL_APIENTRY alGetBufferf(ALuint buffer, ALenum param, ALfloat *value)
Definition: alBuffer.c:796
AL_API void AL_APIENTRY alDistanceModel(ALenum distanceModel)
Definition: alState.c:561
AL_API void AL_APIENTRY alListener3f(ALenum param, ALfloat value1, ALfloat value2, ALfloat value3)
Definition: alListener.c:64
void(AL_APIENTRY * LPALSOURCESTOPV)(ALsizei n, const ALuint *sources)
Definition: al.h:622
AL_API void AL_APIENTRY alSourceUnqueueBuffers(ALuint source, ALsizei nb, ALuint *buffers)
Definition: alSource.c:2194
void(AL_APIENTRY * LPALGETBUFFERI)(ALuint buffer, ALenum param, ALint *value)
Definition: al.h:644
AL_API void AL_APIENTRY alSourceRewindv(ALsizei n, const ALuint *sources)
Definition: alSource.c:2025
AL_API void AL_APIENTRY alDeleteBuffers(ALsizei n, const ALuint *buffers)
Definition: alBuffer.c:229
void(AL_APIENTRY * LPALGETBUFFERF)(ALuint buffer, ALenum param, ALfloat *value)
Definition: al.h:641
AL_API void AL_APIENTRY alGetSource3i(ALuint source, ALenum param, ALint *value1, ALint *value2, ALint *value3)
Definition: alSource.c:1775
void(AL_APIENTRY * LPALDOPPLERFACTOR)(ALfloat value)
Definition: al.h:647
AL_API void AL_APIENTRY alSourcefv(ALuint source, ALenum param, const ALfloat *values)
Definition: alSource.c:1389
AL_API void AL_APIENTRY alBuffer3i(ALuint buffer, ALenum param, ALint value1, ALint value2, ALint value3)
Definition: alBuffer.c:721
AL_API void AL_APIENTRY alSourcei(ALuint source, ALenum param, ALint value)
Definition: alSource.c:1481
AL_API void AL_APIENTRY alListenerfv(ALenum param, const ALfloat *values)
Definition: alListener.c:107
void(AL_APIENTRY * LPALGETFLOATV)(ALenum param, ALfloat *values)
Definition: al.h:584
#define AL_API
Definition: al.h:20
void(AL_APIENTRY * LPALBUFFERIV)(ALuint buffer, ALenum param, const ALint *values)
Definition: al.h:640
AL_API void AL_APIENTRY alGetBuffer3i(ALuint buffer, ALenum param, ALint *value1, ALint *value2, ALint *value3)
Definition: alBuffer.c:949
AL_API void AL_APIENTRY alGetSourceiv(ALuint source, ALenum param, ALint *values)
Definition: alSource.c:1804
AL_API ALboolean AL_APIENTRY alIsSource(ALuint source)
Definition: alSource.c:1334
AL_API void AL_APIENTRY alSourcePause(ALuint source)
Definition: alSource.c:1949
void(AL_APIENTRY * LPALSOURCEPAUSE)(ALuint source)
Definition: al.h:628
void(AL_APIENTRY * LPALLISTENER3I)(ALenum param, ALint value1, ALint value2, ALint value3)
Definition: al.h:598
void(AL_APIENTRY * LPALGETINTEGERV)(ALenum param, ALint *values)
Definition: al.h:583
ALfloat(AL_APIENTRY * LPALGETFLOAT)(ALenum param)
Definition: al.h:588
AL_API void AL_APIENTRY alSpeedOfSound(ALfloat value)
Definition: alState.c:542
GLint GLsizei const GLuint64 * values
Definition: glew.h:3473
AL_API void AL_APIENTRY alBufferiv(ALuint buffer, ALenum param, const ALint *values)
Definition: alBuffer.c:750
ALboolean(AL_APIENTRY * LPALISSOURCE)(ALuint source)
Definition: al.h:608
AL_API void AL_APIENTRY alSourceStopv(ALsizei n, const ALuint *sources)
Definition: alSource.c:1989
void(AL_APIENTRY * LPALLISTENERFV)(ALenum param, const ALfloat *values)
Definition: al.h:596
void(AL_APIENTRY * LPALBUFFER3I)(ALuint buffer, ALenum param, ALint value1, ALint value2, ALint value3)
Definition: al.h:639
void(AL_APIENTRY * LPALGETLISTENER3I)(ALenum param, ALint *value1, ALint *value2, ALint *value3)
Definition: al.h:604
AL_API ALboolean AL_APIENTRY alIsBuffer(ALuint buffer)
Definition: alBuffer.c:272
AL_API void AL_APIENTRY alGetListenerfv(ALenum param, ALfloat *values)
Definition: alListener.c:326
AL_API void AL_APIENTRY alDeleteSources(ALsizei n, const ALuint *sources)
Definition: alSource.c:1262
GLsizei size
Definition: gl2ext.h:1467