6 #if defined(__cplusplus)
10 #if defined(_WIN32) && !defined(_XBOX)
11 /* _OPENAL32LIB is deprecated */
12 #if defined(AL_BUILD_LIBRARY) || defined (_OPENAL32LIB)
13 #define AL_API __declspec(dllexport)
15 #define AL_API __declspec(dllimport)
22 #define AL_APIENTRY __cdecl
31 /* The OPENAL, ALAPI, and ALAPIENTRY macros are deprecated, but are included for applications porting code
35 #define ALAPIENTRY AL_APIENTRY
37 #define AL_VERSION_1_0
38 #define AL_VERSION_1_1
42 typedef char ALboolean
;
47 /** signed 8-bit 2's complement integer */
50 /** unsigned 8-bit integer */
51 typedef unsigned char ALubyte
;
53 /** signed 16-bit 2's complement integer */
54 typedef short ALshort
;
56 /** unsigned 16-bit integer */
57 typedef unsigned short ALushort
;
59 /** signed 32-bit 2's complement integer */
62 /** unsigned 32-bit integer */
63 typedef unsigned int ALuint
;
65 /** non-negative 32-bit binary integer size */
68 /** enumerated 32-bit value */
71 /** 32-bit IEEE754 floating-point */
72 typedef float ALfloat
;
74 /** 64-bit IEEE754 floating-point */
75 typedef double ALdouble
;
77 /** void type (for opaque pointers only) */
81 /* Enumerant values begin at column 50. No tabs. */
94 /** Indicate Source has relative coordinates. */
95 #define AL_SOURCE_RELATIVE 0x202
100 * Directional source, inner cone angle, in degrees.
104 #define AL_CONE_INNER_ANGLE 0x1001
107 * Directional source, outer cone angle, in degrees.
111 #define AL_CONE_OUTER_ANGLE 0x1002
114 * Specify the pitch to be applied, either at source,
115 * or on mixer results, at listener.
119 #define AL_PITCH 0x1003
122 * Specify the current location in three dimensional space.
123 * OpenAL, like OpenGL, uses a right handed coordinate system,
124 * where in a frontal default view X (thumb) points right,
125 * Y points up (index finger), and Z points towards the
126 * viewer/camera (middle finger).
127 * To switch from a left handed coordinate system, flip the
128 * sign on the Z coordinate.
129 * Listener position is always in the world coordinate system.
131 #define AL_POSITION 0x1004
133 /** Specify the current direction. */
134 #define AL_DIRECTION 0x1005
136 /** Specify the current velocity in three dimensional space. */
137 #define AL_VELOCITY 0x1006
140 * Indicate whether source is looping.
142 * Range: [AL_TRUE, AL_FALSE]
145 #define AL_LOOPING 0x1007
148 * Indicate the buffer to provide sound samples.
150 * Range: any valid Buffer id.
152 #define AL_BUFFER 0x1009
155 * Indicate the gain (volume amplification) applied.
158 * A value of 1.0 means un-attenuated/unchanged.
159 * Each division by 2 equals an attenuation of -6dB.
160 * Each multiplicaton with 2 equals an amplification of +6dB.
161 * A value of 0.0 is meaningless with respect to a logarithmic
162 * scale; it is interpreted as zero volume - the channel
163 * is effectively disabled.
165 #define AL_GAIN 0x100A
168 * Indicate minimum source attenuation
174 #define AL_MIN_GAIN 0x100D
177 * Indicate maximum source attenuation
183 #define AL_MAX_GAIN 0x100E
186 * Indicate listener orientation.
190 #define AL_ORIENTATION 0x100F
193 * Specify the channel mask. (Creative)
197 #define AL_CHANNEL_MASK 0x3000
201 * Source state information.
203 #define AL_SOURCE_STATE 0x1010
204 #define AL_INITIAL 0x1011
205 #define AL_PLAYING 0x1012
206 #define AL_PAUSED 0x1013
207 #define AL_STOPPED 0x1014
210 * Buffer Queue params
212 #define AL_BUFFERS_QUEUED 0x1015
213 #define AL_BUFFERS_PROCESSED 0x1016
216 * Source buffer position information
218 #define AL_SEC_OFFSET 0x1024
219 #define AL_SAMPLE_OFFSET 0x1025
220 #define AL_BYTE_OFFSET 0x1026
223 * Source type (Static, Streaming or undetermined)
224 * Source is Static if a Buffer has been attached using AL_BUFFER
225 * Source is Streaming if one or more Buffers have been attached using alSourceQueueBuffers
226 * Source is undetermined when it has the NULL buffer attached
228 #define AL_SOURCE_TYPE 0x1027
229 #define AL_STATIC 0x1028
230 #define AL_STREAMING 0x1029
231 #define AL_UNDETERMINED 0x1030
233 /** Sound samples: format specifier. */
234 #define AL_FORMAT_MONO8 0x1100
235 #define AL_FORMAT_MONO16 0x1101
236 #define AL_FORMAT_STEREO8 0x1102
237 #define AL_FORMAT_STEREO16 0x1103
240 * source specific reference distance
244 * At 0.0, no distance attenuation occurs. Default is
247 #define AL_REFERENCE_DISTANCE 0x1020
250 * source specific rolloff factor
255 #define AL_ROLLOFF_FACTOR 0x1021
258 * Directional source, outer cone gain.
264 #define AL_CONE_OUTER_GAIN 0x1022
267 * Indicate distance above which sources are not
268 * attenuated using the inverse clamped distance model.
274 #define AL_MAX_DISTANCE 0x1023
277 * Sound samples: frequency, in units of Hertz [Hz].
278 * This is the number of samples per second. Half of the
279 * sample frequency marks the maximum significant
280 * frequency component.
282 #define AL_FREQUENCY 0x2001
283 #define AL_BITS 0x2002
284 #define AL_CHANNELS 0x2003
285 #define AL_SIZE 0x2004
290 * Not supported for public use (yet).
292 #define AL_UNUSED 0x2010
293 #define AL_PENDING 0x2011
294 #define AL_PROCESSED 0x2012
297 /** Errors: No Error. */
298 #define AL_NO_ERROR AL_FALSE
301 * Invalid Name paramater passed to AL call.
303 #define AL_INVALID_NAME 0xA001
306 * Invalid parameter passed to AL call.
308 #define AL_ILLEGAL_ENUM 0xA002
309 #define AL_INVALID_ENUM 0xA002
312 * Invalid enum parameter value.
314 #define AL_INVALID_VALUE 0xA003
319 #define AL_ILLEGAL_COMMAND 0xA004
320 #define AL_INVALID_OPERATION 0xA004
326 #define AL_OUT_OF_MEMORY 0xA005
329 /** Context strings: Vendor Name. */
330 #define AL_VENDOR 0xB001
331 #define AL_VERSION 0xB002
332 #define AL_RENDERER 0xB003
333 #define AL_EXTENSIONS 0xB004
335 /** Global tweakage. */
338 * Doppler scale. Default 1.0
340 #define AL_DOPPLER_FACTOR 0xC000
343 * Tweaks speed of propagation.
345 #define AL_DOPPLER_VELOCITY 0xC001
348 * Speed of Sound in units per second
350 #define AL_SPEED_OF_SOUND 0xC003
355 * used in conjunction with DistanceModel
357 * implicit: NONE, which disances distance attenuation.
359 #define AL_DISTANCE_MODEL 0xD000
360 #define AL_INVERSE_DISTANCE 0xD001
361 #define AL_INVERSE_DISTANCE_CLAMPED 0xD002
362 #define AL_LINEAR_DISTANCE 0xD003
363 #define AL_LINEAR_DISTANCE_CLAMPED 0xD004
364 #define AL_EXPONENT_DISTANCE 0xD005
365 #define AL_EXPONENT_DISTANCE_CLAMPED 0xD006
368 #if !defined(AL_NO_PROTOTYPES)
371 * Renderer State management
373 AL_API
void AL_APIENTRY
alEnable( ALenum capability
);
375 AL_API
void AL_APIENTRY
alDisable( ALenum capability
);
377 AL_API ALboolean AL_APIENTRY
alIsEnabled( ALenum capability
);
383 AL_API
const ALchar
* AL_APIENTRY
alGetString( ALenum param
);
385 AL_API
void AL_APIENTRY
alGetBooleanv( ALenum param
, ALboolean
* data
);
387 AL_API
void AL_APIENTRY
alGetIntegerv( ALenum param
, ALint
* data
);
389 AL_API
void AL_APIENTRY
alGetFloatv( ALenum param
, ALfloat
* data
);
391 AL_API
void AL_APIENTRY
alGetDoublev( ALenum param
, ALdouble
* data
);
393 AL_API ALboolean AL_APIENTRY
alGetBoolean( ALenum param
);
395 AL_API ALint AL_APIENTRY
alGetInteger( ALenum param
);
397 AL_API ALfloat AL_APIENTRY
alGetFloat( ALenum param
);
399 AL_API ALdouble AL_APIENTRY
alGetDouble( ALenum param
);
404 * Obtain the most recent error generated in the AL state machine.
406 AL_API ALenum AL_APIENTRY
alGetError( void );
411 * Query for the presence of an extension, and obtain any appropriate
412 * function pointers and enum values.
414 AL_API ALboolean AL_APIENTRY
alIsExtensionPresent( const ALchar
* extname
);
416 AL_API
void* AL_APIENTRY
alGetProcAddress( const ALchar
* fname
);
418 AL_API ALenum AL_APIENTRY
alGetEnumValue( const ALchar
* ename
);
423 * Listener represents the location and orientation of the
424 * 'user' in 3D-space.
426 * Properties include: -
428 * Gain AL_GAIN ALfloat
429 * Position AL_POSITION ALfloat[3]
430 * Velocity AL_VELOCITY ALfloat[3]
431 * Orientation AL_ORIENTATION ALfloat[6] (Forward then Up vectors)
435 * Set Listener parameters
437 AL_API
void AL_APIENTRY
alListenerf( ALenum param
, ALfloat value
);
439 AL_API
void AL_APIENTRY
alListener3f( ALenum param
, ALfloat value1
, ALfloat value2
, ALfloat value3
);
441 AL_API
void AL_APIENTRY
alListenerfv( ALenum param
, const ALfloat
* values
);
443 AL_API
void AL_APIENTRY
alListeneri( ALenum param
, ALint value
);
445 AL_API
void AL_APIENTRY
alListener3i( ALenum param
, ALint value1
, ALint value2
, ALint value3
);
447 AL_API
void AL_APIENTRY
alListeneriv( ALenum param
, const ALint
* values
);
450 * Get Listener parameters
452 AL_API
void AL_APIENTRY
alGetListenerf( ALenum param
, ALfloat
* value
);
454 AL_API
void AL_APIENTRY
alGetListener3f( ALenum param
, ALfloat
*value1
, ALfloat
*value2
, ALfloat
*value3
);
456 AL_API
void AL_APIENTRY
alGetListenerfv( ALenum param
, ALfloat
* values
);
458 AL_API
void AL_APIENTRY
alGetListeneri( ALenum param
, ALint
* value
);
460 AL_API
void AL_APIENTRY
alGetListener3i( ALenum param
, ALint
*value1
, ALint
*value2
, ALint
*value3
);
462 AL_API
void AL_APIENTRY
alGetListeneriv( ALenum param
, ALint
* values
);
467 * Sources represent individual sound objects in 3D-space.
468 * Sources take the PCM data provided in the specified Buffer,
469 * apply Source-specific modifications, and then
470 * submit them to be mixed according to spatial arrangement etc.
472 * Properties include: -
474 * Gain AL_GAIN ALfloat
475 * Min Gain AL_MIN_GAIN ALfloat
476 * Max Gain AL_MAX_GAIN ALfloat
477 * Position AL_POSITION ALfloat[3]
478 * Velocity AL_VELOCITY ALfloat[3]
479 * Direction AL_DIRECTION ALfloat[3]
480 * Head Relative Mode AL_SOURCE_RELATIVE ALint (AL_TRUE or AL_FALSE)
481 * Reference Distance AL_REFERENCE_DISTANCE ALfloat
482 * Max Distance AL_MAX_DISTANCE ALfloat
483 * RollOff Factor AL_ROLLOFF_FACTOR ALfloat
484 * Inner Angle AL_CONE_INNER_ANGLE ALint or ALfloat
485 * Outer Angle AL_CONE_OUTER_ANGLE ALint or ALfloat
486 * Cone Outer Gain AL_CONE_OUTER_GAIN ALint or ALfloat
487 * Pitch AL_PITCH ALfloat
488 * Looping AL_LOOPING ALint (AL_TRUE or AL_FALSE)
489 * MS Offset AL_MSEC_OFFSET ALint or ALfloat
490 * Byte Offset AL_BYTE_OFFSET ALint or ALfloat
491 * Sample Offset AL_SAMPLE_OFFSET ALint or ALfloat
492 * Attached Buffer AL_BUFFER ALint
493 * State (Query only) AL_SOURCE_STATE ALint
494 * Buffers Queued (Query only) AL_BUFFERS_QUEUED ALint
495 * Buffers Processed (Query only) AL_BUFFERS_PROCESSED ALint
498 /* Create Source objects */
499 AL_API
void AL_APIENTRY
alGenSources( ALsizei n
, ALuint
* sources
);
501 /* Delete Source objects */
502 AL_API
void AL_APIENTRY
alDeleteSources( ALsizei n
, const ALuint
* sources
);
504 /* Verify a handle is a valid Source */
505 AL_API ALboolean AL_APIENTRY
alIsSource( ALuint sid
);
508 * Set Source parameters
510 AL_API
void AL_APIENTRY
alSourcef( ALuint sid
, ALenum param
, ALfloat value
);
512 AL_API
void AL_APIENTRY
alSource3f( ALuint sid
, ALenum param
, ALfloat value1
, ALfloat value2
, ALfloat value3
);
514 AL_API
void AL_APIENTRY
alSourcefv( ALuint sid
, ALenum param
, const ALfloat
* values
);
516 AL_API
void AL_APIENTRY
alSourcei( ALuint sid
, ALenum param
, ALint value
);
518 AL_API
void AL_APIENTRY
alSource3i( ALuint sid
, ALenum param
, ALint value1
, ALint value2
, ALint value3
);
520 AL_API
void AL_APIENTRY
alSourceiv( ALuint sid
, ALenum param
, const ALint
* values
);
523 * Get Source parameters
525 AL_API
void AL_APIENTRY
alGetSourcef( ALuint sid
, ALenum param
, ALfloat
* value
);
527 AL_API
void AL_APIENTRY
alGetSource3f( ALuint sid
, ALenum param
, ALfloat
* value1
, ALfloat
* value2
, ALfloat
* value3
);
529 AL_API
void AL_APIENTRY
alGetSourcefv( ALuint sid
, ALenum param
, ALfloat
* values
);
531 AL_API
void AL_APIENTRY
alGetSourcei( ALuint sid
, ALenum param
, ALint
* value
);
533 AL_API
void AL_APIENTRY
alGetSource3i( ALuint sid
, ALenum param
, ALint
* value1
, ALint
* value2
, ALint
* value3
);
535 AL_API
void AL_APIENTRY
alGetSourceiv( ALuint sid
, ALenum param
, ALint
* values
);
539 * Source vector based playback calls
542 /* Play, replay, or resume (if paused) a list of Sources */
543 AL_API
void AL_APIENTRY
alSourcePlayv( ALsizei ns
, const ALuint
*sids
);
545 /* Stop a list of Sources */
546 AL_API
void AL_APIENTRY
alSourceStopv( ALsizei ns
, const ALuint
*sids
);
548 /* Rewind a list of Sources */
549 AL_API
void AL_APIENTRY
alSourceRewindv( ALsizei ns
, const ALuint
*sids
);
551 /* Pause a list of Sources */
552 AL_API
void AL_APIENTRY
alSourcePausev( ALsizei ns
, const ALuint
*sids
);
555 * Source based playback calls
558 /* Play, replay, or resume a Source */
559 AL_API
void AL_APIENTRY
alSourcePlay( ALuint sid
);
562 AL_API
void AL_APIENTRY
alSourceStop( ALuint sid
);
564 /* Rewind a Source (set playback postiton to beginning) */
565 AL_API
void AL_APIENTRY
alSourceRewind( ALuint sid
);
568 AL_API
void AL_APIENTRY
alSourcePause( ALuint sid
);
573 AL_API
void AL_APIENTRY
alSourceQueueBuffers( ALuint sid
, ALsizei numEntries
, const ALuint
*bids
);
575 AL_API
void AL_APIENTRY
alSourceUnqueueBuffers( ALuint sid
, ALsizei numEntries
, ALuint
*bids
);
580 * Buffer objects are storage space for sample data.
581 * Buffers are referred to by Sources. One Buffer can be used
582 * by multiple Sources.
584 * Properties include: -
586 * Frequency (Query only) AL_FREQUENCY ALint
587 * Size (Query only) AL_SIZE ALint
588 * Bits (Query only) AL_BITS ALint
589 * Channels (Query only) AL_CHANNELS ALint
592 /* Create Buffer objects */
593 AL_API
void AL_APIENTRY
alGenBuffers( ALsizei n
, ALuint
* buffers
);
595 /* Delete Buffer objects */
596 AL_API
void AL_APIENTRY
alDeleteBuffers( ALsizei n
, const ALuint
* buffers
);
598 /* Verify a handle is a valid Buffer */
599 AL_API ALboolean AL_APIENTRY
alIsBuffer( ALuint bid
);
601 /* Specify the data to be copied into a buffer */
602 AL_API
void AL_APIENTRY
alBufferData( ALuint bid
, ALenum format
, const ALvoid
* data
, ALsizei size
, ALsizei freq
);
605 * Set Buffer parameters
607 AL_API
void AL_APIENTRY
alBufferf( ALuint bid
, ALenum param
, ALfloat value
);
609 AL_API
void AL_APIENTRY
alBuffer3f( ALuint bid
, ALenum param
, ALfloat value1
, ALfloat value2
, ALfloat value3
);
611 AL_API
void AL_APIENTRY
alBufferfv( ALuint bid
, ALenum param
, const ALfloat
* values
);
613 AL_API
void AL_APIENTRY
alBufferi( ALuint bid
, ALenum param
, ALint value
);
615 AL_API
void AL_APIENTRY
alBuffer3i( ALuint bid
, ALenum param
, ALint value1
, ALint value2
, ALint value3
);
617 AL_API
void AL_APIENTRY
alBufferiv( ALuint bid
, ALenum param
, const ALint
* values
);
620 * Get Buffer parameters
622 AL_API
void AL_APIENTRY
alGetBufferf( ALuint bid
, ALenum param
, ALfloat
* value
);
624 AL_API
void AL_APIENTRY
alGetBuffer3f( ALuint bid
, ALenum param
, ALfloat
* value1
, ALfloat
* value2
, ALfloat
* value3
);
626 AL_API
void AL_APIENTRY
alGetBufferfv( ALuint bid
, ALenum param
, ALfloat
* values
);
628 AL_API
void AL_APIENTRY
alGetBufferi( ALuint bid
, ALenum param
, ALint
* value
);
630 AL_API
void AL_APIENTRY
alGetBuffer3i( ALuint bid
, ALenum param
, ALint
* value1
, ALint
* value2
, ALint
* value3
);
632 AL_API
void AL_APIENTRY
alGetBufferiv( ALuint bid
, ALenum param
, ALint
* values
);
638 AL_API
void AL_APIENTRY
alDopplerFactor( ALfloat value
);
640 AL_API
void AL_APIENTRY
alDopplerVelocity( ALfloat value
);
642 AL_API
void AL_APIENTRY
alSpeedOfSound( ALfloat value
);
644 AL_API
void AL_APIENTRY
alDistanceModel( ALenum distanceModel
);
646 #else /* AL_NO_PROTOTYPES */
648 typedef void (AL_APIENTRY
*LPALENABLE
)( ALenum capability
);
649 typedef void (AL_APIENTRY
*LPALDISABLE
)( ALenum capability
);
650 typedef ALboolean (AL_APIENTRY
*LPALISENABLED
)( ALenum capability
);
651 typedef const ALchar
* (AL_APIENTRY
*LPALGETSTRING
)( ALenum param
);
652 typedef void (AL_APIENTRY
*LPALGETBOOLEANV
)( ALenum param
, ALboolean
* data
);
653 typedef void (AL_APIENTRY
*LPALGETINTEGERV
)( ALenum param
, ALint
* data
);
654 typedef void (AL_APIENTRY
*LPALGETFLOATV
)( ALenum param
, ALfloat
* data
);
655 typedef void (AL_APIENTRY
*LPALGETDOUBLEV
)( ALenum param
, ALdouble
* data
);
656 typedef ALboolean (AL_APIENTRY
*LPALGETBOOLEAN
)( ALenum param
);
657 typedef ALint (AL_APIENTRY
*LPALGETINTEGER
)( ALenum param
);
658 typedef ALfloat (AL_APIENTRY
*LPALGETFLOAT
)( ALenum param
);
659 typedef ALdouble (AL_APIENTRY
*LPALGETDOUBLE
)( ALenum param
);
660 typedef ALenum (AL_APIENTRY
*LPALGETERROR
)( void );
661 typedef ALboolean (AL_APIENTRY
*LPALISEXTENSIONPRESENT
)(const ALchar
* extname
);
662 typedef void* (AL_APIENTRY
*LPALGETPROCADDRESS
)( const ALchar
* fname
);
663 typedef ALenum (AL_APIENTRY
*LPALGETENUMVALUE
)( const ALchar
* ename
);
664 typedef void (AL_APIENTRY
*LPALLISTENERF
)( ALenum param
, ALfloat value
);
665 typedef void (AL_APIENTRY
*LPALLISTENER3F
)( ALenum param
, ALfloat value1
, ALfloat value2
, ALfloat value3
);
666 typedef void (AL_APIENTRY
*LPALLISTENERFV
)( ALenum param
, const ALfloat
* values
);
667 typedef void (AL_APIENTRY
*LPALLISTENERI
)( ALenum param
, ALint value
);
668 typedef void (AL_APIENTRY
*LPALLISTENER3I
)( ALenum param
, ALint value1
, ALint value2
, ALint value3
);
669 typedef void (AL_APIENTRY
*LPALLISTENERIV
)( ALenum param
, const ALint
* values
);
670 typedef void (AL_APIENTRY
*LPALGETLISTENERF
)( ALenum param
, ALfloat
* value
);
671 typedef void (AL_APIENTRY
*LPALGETLISTENER3F
)( ALenum param
, ALfloat
*value1
, ALfloat
*value2
, ALfloat
*value3
);
672 typedef void (AL_APIENTRY
*LPALGETLISTENERFV
)( ALenum param
, ALfloat
* values
);
673 typedef void (AL_APIENTRY
*LPALGETLISTENERI
)( ALenum param
, ALint
* value
);
674 typedef void (AL_APIENTRY
*LPALGETLISTENER3I
)( ALenum param
, ALint
*value1
, ALint
*value2
, ALint
*value3
);
675 typedef void (AL_APIENTRY
*LPALGETLISTENERIV
)( ALenum param
, ALint
* values
);
676 typedef void (AL_APIENTRY
*LPALGENSOURCES
)( ALsizei n
, ALuint
* sources
);
677 typedef void (AL_APIENTRY
*LPALDELETESOURCES
)( ALsizei n
, const ALuint
* sources
);
678 typedef ALboolean (AL_APIENTRY
*LPALISSOURCE
)( ALuint sid
);
679 typedef void (AL_APIENTRY
*LPALSOURCEF
)( ALuint sid
, ALenum param
, ALfloat value
);
680 typedef void (AL_APIENTRY
*LPALSOURCE3F
)( ALuint sid
, ALenum param
, ALfloat value1
, ALfloat value2
, ALfloat value3
);
681 typedef void (AL_APIENTRY
*LPALSOURCEFV
)( ALuint sid
, ALenum param
, const ALfloat
* values
);
682 typedef void (AL_APIENTRY
*LPALSOURCEI
)( ALuint sid
, ALenum param
, ALint value
);
683 typedef void (AL_APIENTRY
*LPALSOURCE3I
)( ALuint sid
, ALenum param
, ALint value1
, ALint value2
, ALint value3
);
684 typedef void (AL_APIENTRY
*LPALSOURCEIV
)( ALuint sid
, ALenum param
, const ALint
* values
);
685 typedef void (AL_APIENTRY
*LPALGETSOURCEF
)( ALuint sid
, ALenum param
, ALfloat
* value
);
686 typedef void (AL_APIENTRY
*LPALGETSOURCE3F
)( ALuint sid
, ALenum param
, ALfloat
* value1
, ALfloat
* value2
, ALfloat
* value3
);
687 typedef void (AL_APIENTRY
*LPALGETSOURCEFV
)( ALuint sid
, ALenum param
, ALfloat
* values
);
688 typedef void (AL_APIENTRY
*LPALGETSOURCEI
)( ALuint sid
, ALenum param
, ALint
* value
);
689 typedef void (AL_APIENTRY
*LPALGETSOURCE3I
)( ALuint sid
, ALenum param
, ALint
* value1
, ALint
* value2
, ALint
* value3
);
690 typedef void (AL_APIENTRY
*LPALGETSOURCEIV
)( ALuint sid
, ALenum param
, ALint
* values
);
691 typedef void (AL_APIENTRY
*LPALSOURCEPLAYV
)( ALsizei ns
, const ALuint
*sids
);
692 typedef void (AL_APIENTRY
*LPALSOURCESTOPV
)( ALsizei ns
, const ALuint
*sids
);
693 typedef void (AL_APIENTRY
*LPALSOURCEREWINDV
)( ALsizei ns
, const ALuint
*sids
);
694 typedef void (AL_APIENTRY
*LPALSOURCEPAUSEV
)( ALsizei ns
, const ALuint
*sids
);
695 typedef void (AL_APIENTRY
*LPALSOURCEPLAY
)( ALuint sid
);
696 typedef void (AL_APIENTRY
*LPALSOURCESTOP
)( ALuint sid
);
697 typedef void (AL_APIENTRY
*LPALSOURCEREWIND
)( ALuint sid
);
698 typedef void (AL_APIENTRY
*LPALSOURCEPAUSE
)( ALuint sid
);
699 typedef void (AL_APIENTRY
*LPALSOURCEQUEUEBUFFERS
)(ALuint sid
, ALsizei numEntries
, const ALuint
*bids
);
700 typedef void (AL_APIENTRY
*LPALSOURCEUNQUEUEBUFFERS
)(ALuint sid
, ALsizei numEntries
, ALuint
*bids
);
701 typedef void (AL_APIENTRY
*LPALGENBUFFERS
)( ALsizei n
, ALuint
* buffers
);
702 typedef void (AL_APIENTRY
*LPALDELETEBUFFERS
)( ALsizei n
, const ALuint
* buffers
);
703 typedef ALboolean (AL_APIENTRY
*LPALISBUFFER
)( ALuint bid
);
704 typedef void (AL_APIENTRY
*LPALBUFFERDATA
)( ALuint bid
, ALenum format
, const ALvoid
* data
, ALsizei size
, ALsizei freq
);
705 typedef void (AL_APIENTRY
*LPALBUFFERF
)( ALuint bid
, ALenum param
, ALfloat value
);
706 typedef void (AL_APIENTRY
*LPALBUFFER3F
)( ALuint bid
, ALenum param
, ALfloat value1
, ALfloat value2
, ALfloat value3
);
707 typedef void (AL_APIENTRY
*LPALBUFFERFV
)( ALuint bid
, ALenum param
, const ALfloat
* values
);
708 typedef void (AL_APIENTRY
*LPALBUFFERI
)( ALuint bid
, ALenum param
, ALint value
);
709 typedef void (AL_APIENTRY
*LPALBUFFER3I
)( ALuint bid
, ALenum param
, ALint value1
, ALint value2
, ALint value3
);
710 typedef void (AL_APIENTRY
*LPALBUFFERIV
)( ALuint bid
, ALenum param
, const ALint
* values
);
711 typedef void (AL_APIENTRY
*LPALGETBUFFERF
)( ALuint bid
, ALenum param
, ALfloat
* value
);
712 typedef void (AL_APIENTRY
*LPALGETBUFFER3F
)( ALuint bid
, ALenum param
, ALfloat
* value1
, ALfloat
* value2
, ALfloat
* value3
);
713 typedef void (AL_APIENTRY
*LPALGETBUFFERFV
)( ALuint bid
, ALenum param
, ALfloat
* values
);
714 typedef void (AL_APIENTRY
*LPALGETBUFFERI
)( ALuint bid
, ALenum param
, ALint
* value
);
715 typedef void (AL_APIENTRY
*LPALGETBUFFER3I
)( ALuint bid
, ALenum param
, ALint
* value1
, ALint
* value2
, ALint
* value3
);
716 typedef void (AL_APIENTRY
*LPALGETBUFFERIV
)( ALuint bid
, ALenum param
, ALint
* values
);
717 typedef void (AL_APIENTRY
*LPALDOPPLERFACTOR
)( ALfloat value
);
718 typedef void (AL_APIENTRY
*LPALDOPPLERVELOCITY
)( ALfloat value
);
719 typedef void (AL_APIENTRY
*LPALSPEEDOFSOUND
)( ALfloat value
);
720 typedef void (AL_APIENTRY
*LPALDISTANCEMODEL
)( ALenum distanceModel
);
722 #endif /* AL_NO_PROTOTYPES */
728 #if defined(__cplusplus)