doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions
stubs.cpp File Reference
#include "../idlib/precompiled.h"
#include "../sound/snd_local.h"

Go to the source code of this file.

Functions

AL_API ALenum AL_APIENTRY alGetError ()
 Error support. More...
 
AL_API ALboolean AL_APIENTRY alIsSource (ALuint sid)
 Verify a handle is a valid Source. More...
 
AL_API void AL_APIENTRY alGenBuffers (ALsizei n, ALuint *buffers)
 BUFFER Buffer objects are storage space for sample data. More...
 
AL_API void AL_APIENTRY alSourceStop (ALuint sid)
 Stop a source, temporarily remove it from the mixer list, and reset its internal state to pre-Play. More...
 
AL_API void AL_APIENTRY alGetSourcei (ALuint sid, ALenum pname, ALint *value)
 Get an integer parameter for a Source object. More...
 
AL_API ALint AL_APIENTRY alGetInteger (ALenum param)
 
ALC_API void ALC_APIENTRY alcSuspendContext (ALCcontext *alcHandle)
 
ALC_API ALCdevice *ALC_APIENTRY alcOpenDevice (const ALchar *tokstr)
 
AL_API void AL_APIENTRY alDeleteBuffers (ALsizei n, const ALuint *buffers)
 
AL_API ALboolean AL_APIENTRY alIsExtensionPresent (const ALchar *fname)
 
AL_API void AL_APIENTRY alBufferData (ALuint buffer, ALenum format, const ALvoid *data, ALsizei size, ALsizei freq)
 
ALC_API ALCboolean ALC_APIENTRY alcMakeContextCurrent (ALCcontext *alcHandle)
 
ALC_API ALCvoid ALC_APIENTRY alcProcessContext (ALCcontext *alcHandle)
 
ALC_API ALCvoid ALC_APIENTRY alcDestroyContext (ALCcontext *alcHandle)
 
ALC_API const ALCchar *ALC_APIENTRY alcGetString (ALCdevice *deviceHandle, ALCenum token)
 
AL_API void AL_APIENTRY alBufferData (ALuint buffer, ALenum format, ALvoid *data, ALsizei size, ALsizei freq)
 Specify the data to be filled into a buffer. More...
 
AL_API void AL_APIENTRY alDeleteBuffers (ALsizei n, ALuint *buffers)
 
AL_API ALboolean AL_APIENTRY alIsExtensionPresent (ALubyte *fname)
 Extension support. More...
 
AL_API void AL_APIENTRY alDeleteSources (ALsizei n, const ALuint *sources)
 
AL_API ALenum AL_APIENTRY alGetEnumValue (const ALchar *ename)
 
AL_API void *AL_APIENTRY alGetProcAddress (const ALchar *fname)
 
ALC_API ALCcontext *ALC_APIENTRY alcCreateContext (ALCdevice *dev, const ALCint *attrlist)
 
ALC_API ALCdevice *ALC_APIENTRY alcOpenDevice (ALubyte *tokstr)
 
AL_API void AL_APIENTRY alListenerfv (ALenum pname, const ALfloat *param)
 
AL_API void AL_APIENTRY alSourceQueueBuffers (ALuint sid, ALsizei numEntries, const ALuint *bids)
 
AL_API void AL_APIENTRY alSourcei (ALuint sid, ALenum param, ALint value)
 Set an integer parameter for a Source object. More...
 
AL_API void AL_APIENTRY alListenerf (ALenum pname, ALfloat param)
 Listener Gain: default 1.0f. More...
 
ALC_API ALCboolean ALC_APIENTRY alcCloseDevice (ALCdevice *dev)
 
AL_API ALboolean AL_APIENTRY alIsBuffer (ALuint buffer)
 
AL_API void AL_APIENTRY alSource3f (ALuint sid, ALenum param, ALfloat f1, ALfloat f2, ALfloat f3)
 
AL_API void AL_APIENTRY alGenSources (ALsizei n, ALuint *sources)
 SOURCE Source objects are by default localized. More...
 
AL_API void AL_APIENTRY alSourcef (ALuint sid, ALenum param, ALfloat value)
 
AL_API void AL_APIENTRY alSourceUnqueueBuffers (ALuint sid, ALsizei numEntries, ALuint *bids)
 
AL_API void AL_APIENTRY alSourcePlay (ALuint sid)
 Activate a source, start replay. More...
 

Function Documentation

AL_API void AL_APIENTRY alBufferData ( ALuint  buffer,
ALenum  format,
const ALvoid data,
ALsizei  size,
ALsizei  freq 
)

Definition at line 59 of file stubs.cpp.

AL_API void AL_APIENTRY alBufferData ( ALuint  buffer,
ALenum  format,
ALvoid data,
ALsizei  size,
ALsizei  freq 
)

Specify the data to be filled into a buffer.

Definition at line 81 of file stubs.cpp.

ALC_API ALCboolean ALC_APIENTRY alcCloseDevice ( ALCdevice dev)

Definition at line 120 of file stubs.cpp.

ALC_API ALCcontext* ALC_APIENTRY alcCreateContext ( ALCdevice dev,
const ALCint attrlist 
)

Definition at line 103 of file stubs.cpp.

ALC_API ALCvoid ALC_APIENTRY alcDestroyContext ( ALCcontext alcHandle)

Definition at line 73 of file stubs.cpp.

ALC_API const ALCchar* ALC_APIENTRY alcGetString ( ALCdevice deviceHandle,
ALCenum  token 
)

Definition at line 77 of file stubs.cpp.

ALC_API ALCboolean ALC_APIENTRY alcMakeContextCurrent ( ALCcontext alcHandle)

Definition at line 65 of file stubs.cpp.

ALC_API ALCdevice* ALC_APIENTRY alcOpenDevice ( const ALchar *  tokstr)

Definition at line 49 of file stubs.cpp.

ALC_API ALCdevice* ALC_APIENTRY alcOpenDevice ( ALubyte tokstr)

Definition at line 108 of file stubs.cpp.

ALC_API ALCvoid ALC_APIENTRY alcProcessContext ( ALCcontext alcHandle)

Definition at line 69 of file stubs.cpp.

ALC_API void ALC_APIENTRY alcSuspendContext ( ALCcontext alcHandle)

Definition at line 47 of file stubs.cpp.

AL_API void AL_APIENTRY alDeleteBuffers ( ALsizei  n,
const ALuint buffers 
)

Definition at line 53 of file stubs.cpp.

AL_API void AL_APIENTRY alDeleteBuffers ( ALsizei  n,
ALuint buffers 
)

Definition at line 87 of file stubs.cpp.

AL_API void AL_APIENTRY alDeleteSources ( ALsizei  n,
const ALuint sources 
)

Definition at line 93 of file stubs.cpp.

AL_API void AL_APIENTRY alGenBuffers ( ALsizei  n,
ALuint buffers 
)

BUFFER Buffer objects are storage space for sample data.

Buffers are referred to by Sources. There can be more than one Source using the same Buffer data. If Buffers have to be duplicated on a per-Source basis, the driver has to take care of allocation, copying, and deallocation as well as propagating buffer data changes.Buffer object generation.

Definition at line 39 of file stubs.cpp.

AL_API void AL_APIENTRY alGenSources ( ALsizei  n,
ALuint sources 
)

SOURCE Source objects are by default localized.

Sources take the PCM data provided in the specified Buffer, apply Source-specific modifications, and then submit them to be mixed according to spatial arrangement etc.Create Source objects.

Definition at line 129 of file stubs.cpp.

AL_API ALenum AL_APIENTRY alGetEnumValue ( const ALchar *  ename)

Definition at line 95 of file stubs.cpp.

AL_API ALenum AL_APIENTRY alGetError ( )

Error support.

Obtain the most recent error generated in the AL state machine.

Definition at line 31 of file stubs.cpp.

AL_API ALint AL_APIENTRY alGetInteger ( ALenum  param)

Definition at line 45 of file stubs.cpp.

AL_API void* AL_APIENTRY alGetProcAddress ( const ALchar *  fname)

Definition at line 99 of file stubs.cpp.

AL_API void AL_APIENTRY alGetSourcei ( ALuint  source,
ALenum  param,
ALint value 
)

Get an integer parameter for a Source object.

Definition at line 43 of file stubs.cpp.

AL_API ALboolean AL_APIENTRY alIsBuffer ( ALuint  buffer)

Definition at line 122 of file stubs.cpp.

AL_API ALboolean AL_APIENTRY alIsExtensionPresent ( const ALchar *  fname)

Definition at line 55 of file stubs.cpp.

AL_API ALboolean AL_APIENTRY alIsExtensionPresent ( ALubyte fname)

Extension support.

Obtain the address of a function (usually an extension) with the name fname. All addresses are context-independent.

Definition at line 89 of file stubs.cpp.

AL_API ALboolean AL_APIENTRY alIsSource ( ALuint  id)

Verify a handle is a valid Source.

Definition at line 35 of file stubs.cpp.

AL_API void AL_APIENTRY alListenerf ( ALenum  pname,
ALfloat  param 
)

Listener Gain: default 1.0f.

Definition at line 118 of file stubs.cpp.

AL_API void AL_APIENTRY alListenerfv ( ALenum  pname,
const ALfloat param 
)

Definition at line 112 of file stubs.cpp.

AL_API void AL_APIENTRY alSource3f ( ALuint  sid,
ALenum  param,
ALfloat  f1,
ALfloat  f2,
ALfloat  f3 
)

Definition at line 126 of file stubs.cpp.

AL_API void AL_APIENTRY alSourcef ( ALuint  sid,
ALenum  param,
ALfloat  value 
)

Definition at line 131 of file stubs.cpp.

AL_API void AL_APIENTRY alSourcei ( ALuint  source,
ALenum  param,
ALint  value 
)

Set an integer parameter for a Source object.

Definition at line 116 of file stubs.cpp.

AL_API void AL_APIENTRY alSourcePlay ( ALuint  source)

Activate a source, start replay.

Definition at line 135 of file stubs.cpp.

AL_API void AL_APIENTRY alSourceQueueBuffers ( ALuint  sid,
ALsizei  numEntries,
const ALuint bids 
)

Definition at line 114 of file stubs.cpp.

AL_API void AL_APIENTRY alSourceStop ( ALuint  source)

Stop a source, temporarily remove it from the mixer list, and reset its internal state to pre-Play.

To remove a Source completely, it has to be deleted following Stop, or before Play.

Definition at line 41 of file stubs.cpp.

AL_API void AL_APIENTRY alSourceUnqueueBuffers ( ALuint  sid,
ALsizei  numEntries,
ALuint bids 
)

Definition at line 133 of file stubs.cpp.