zenilib
0.5.3.0
|
Go to the source code of this file.
Macros | |
#define | AL_API extern |
#define | AL_APIENTRY |
#define | AL_BITS 0x2002 |
#define | AL_BUFFER 0x1009 |
#define | AL_BUFFERS_PROCESSED 0x1016 |
#define | AL_BUFFERS_QUEUED 0x1015 |
#define | AL_BYTE_OFFSET 0x1026 |
#define | AL_CHANNELS 0x2003 |
#define | AL_CONE_INNER_ANGLE 0x1001 |
#define | AL_CONE_OUTER_ANGLE 0x1002 |
#define | AL_CONE_OUTER_GAIN 0x1022 |
#define | AL_DIRECTION 0x1005 |
#define | AL_DISTANCE_MODEL 0xD000 |
#define | AL_DOPPLER_FACTOR 0xC000 |
#define | AL_DOPPLER_VELOCITY 0xC001 |
#define | AL_EXPONENT_DISTANCE 0xD005 |
#define | AL_EXPONENT_DISTANCE_CLAMPED 0xD006 |
#define | AL_EXTENSIONS 0xB004 |
#define | AL_FALSE 0 |
#define | AL_FORMAT_MONO16 0x1101 |
#define | AL_FORMAT_MONO8 0x1100 |
#define | AL_FORMAT_STEREO16 0x1103 |
#define | AL_FORMAT_STEREO8 0x1102 |
#define | AL_FREQUENCY 0x2001 |
#define | AL_GAIN 0x100A |
#define | AL_ILLEGAL_COMMAND AL_INVALID_OPERATION |
#define | AL_ILLEGAL_ENUM AL_INVALID_ENUM |
#define | AL_INITIAL 0x1011 |
#define | AL_INVALID (-1) |
#define | AL_INVALID_ENUM 0xA002 |
#define | AL_INVALID_NAME 0xA001 |
#define | AL_INVALID_OPERATION 0xA004 |
#define | AL_INVALID_VALUE 0xA003 |
#define | AL_INVERSE_DISTANCE 0xD001 |
#define | AL_INVERSE_DISTANCE_CLAMPED 0xD002 |
#define | AL_LINEAR_DISTANCE 0xD003 |
#define | AL_LINEAR_DISTANCE_CLAMPED 0xD004 |
#define | AL_LOOPING 0x1007 |
#define | AL_MAX_DISTANCE 0x1023 |
#define | AL_MAX_GAIN 0x100E |
#define | AL_MIN_GAIN 0x100D |
#define | AL_NO_ERROR 0 |
#define | AL_NONE 0 |
#define | AL_ORIENTATION 0x100F |
#define | AL_OUT_OF_MEMORY 0xA005 |
#define | AL_PAUSED 0x1013 |
#define | AL_PENDING 0x2011 |
#define | AL_PITCH 0x1003 |
#define | AL_PLAYING 0x1012 |
#define | AL_POSITION 0x1004 |
#define | AL_PROCESSED 0x2012 |
#define | AL_REFERENCE_DISTANCE 0x1020 |
#define | AL_RENDERER 0xB003 |
#define | AL_ROLLOFF_FACTOR 0x1021 |
#define | AL_SAMPLE_OFFSET 0x1025 |
#define | AL_SEC_OFFSET 0x1024 |
#define | AL_SIZE 0x2004 |
#define | AL_SOURCE_RELATIVE 0x202 |
#define | AL_SOURCE_STATE 0x1010 |
#define | AL_SOURCE_TYPE 0x1027 |
#define | AL_SPEED_OF_SOUND 0xC003 |
#define | AL_STATIC 0x1028 |
#define | AL_STOPPED 0x1014 |
#define | AL_STREAMING 0x1029 |
#define | AL_TRUE 1 |
#define | AL_UNDETERMINED 0x1030 |
#define | AL_UNUSED 0x2010 |
#define | AL_VELOCITY 0x1006 |
#define | AL_VENDOR 0xB001 |
#define | AL_VERSION 0xB002 |
#define | AL_VERSION_1_0 |
#define | AL_VERSION_1_1 |
#define | ALAPI AL_API |
#define | ALAPIENTRY AL_APIENTRY |
#define | OPENAL |
#define AL_BITS 0x2002 |
Buffer bits per sample (query only).
Definition at line 347 of file al.h.
Referenced by alGetBufferi(), and alGetBufferiv().
#define AL_BUFFER 0x1009 |
Source buffer. Type: ALuint Range: any valid Buffer.
Specifies the buffer to provide sound samples.
Definition at line 182 of file al.h.
Referenced by GetSourcedv(), GetSourceiv(), main(), Zeni::Sound_Source_HW::set_buffer(), SetSourcei64v(), SetSourceiv(), and StartPlayer().
#define AL_BUFFERS_PROCESSED 0x1016 |
Source Buffer Queue processed count (query only). Type: ALint
The number of queued buffers that have been fully processed, and can be removed with alSourceUnqueueBuffers.
Looping sources will never fully process buffers because they will be set to play again for when the source loops.
Definition at line 262 of file al.h.
Referenced by GetSourcedv(), GetSourcei64v(), GetSourceiv(), Zeni::Sound_Stream_AL::update(), and UpdatePlayer().
#define AL_BUFFERS_QUEUED 0x1015 |
Source Buffer Queue size (query only). Type: ALint
The number of buffers queued using alSourceQueueBuffers, minus the buffers removed with alSourceUnqueueBuffers.
Definition at line 250 of file al.h.
Referenced by GetSourcedv(), GetSourcei64v(), GetSourceiv(), and UpdatePlayer().
#define AL_BYTE_OFFSET 0x1026 |
Source buffer position, in bytes
Definition at line 316 of file al.h.
Referenced by GetSampleOffset(), GetSourcedv(), GetSourcei64v(), GetSourceiv(), GetSourceOffsets(), SetSourcefv(), SetSourcei64v(), and SetSourceiv().
#define AL_CHANNELS 0x2003 |
Buffer channel count (query only).
Definition at line 349 of file al.h.
Referenced by alGetBufferi(), and alGetBufferiv().
#define AL_CONE_INNER_ANGLE 0x1001 |
Inner cone angle, in degrees. Type: ALint, ALfloat Range: [0 - 360] Default: 360
The angle covered by the inner cone, where the source will not attenuate.
Definition at line 108 of file al.h.
Referenced by GetSourcedv(), GetSourcei64v(), GetSourceiv(), SetSourcefv(), SetSourcei64v(), and SetSourceiv().
#define AL_CONE_OUTER_ANGLE 0x1002 |
Outer cone angle, in degrees. Range: [0 - 360] Default: 360
The angle covered by the outer cone, where the source will be fully attenuated.
Definition at line 118 of file al.h.
Referenced by GetSourcedv(), GetSourcei64v(), GetSourceiv(), SetSourcefv(), SetSourcei64v(), and SetSourceiv().
#define AL_CONE_OUTER_GAIN 0x1022 |
Outer cone gain. Type: ALfloat Range: [0.0 - 1.0] Default: 0.0
The gain attenuation applied when the listener is outside of the source's outer cone.
Definition at line 297 of file al.h.
Referenced by GetSourcedv(), and SetSourcefv().
#define AL_DIRECTION 0x1005 |
Source direction. Type: ALfloat[3], ALint[3] Default: {0, 0, 0}
Specifies the current direction in local space. A zero-length vector specifies an omni-directional source (cone is ignored).
Definition at line 154 of file al.h.
Referenced by GetSourcedv(), GetSourcei64v(), GetSourceiv(), SetSourcefv(), SetSourcei64v(), SetSourceiv(), and Zeni::Sound_Stream_AL::Sound_Stream_AL().
#define AL_DISTANCE_MODEL 0xD000 |
Distance attenuation model. Type: ALint Range: [AL_NONE, AL_INVERSE_DISTANCE, AL_INVERSE_DISTANCE_CLAMPED, AL_LINEAR_DISTANCE, AL_LINEAR_DISTANCE_CLAMPED, AL_EXPONENT_DISTANCE, AL_EXPONENT_DISTANCE_CLAMPED] Default: AL_INVERSE_DISTANCE_CLAMPED
The model by which sources attenuate with distance.
None - No distance attenuation. Inverse - Doubling the distance halves the source gain. Linear - Linear gain scaling between the reference and max distances. Exponent - Exponential gain dropoff.
Clamped variations work like the non-clamped counterparts, except the distance calculated is clamped between the reference and max distances.
Definition at line 441 of file al.h.
Referenced by alGetBoolean(), alGetBooleanv(), alGetDouble(), alGetDoublev(), alGetFloat(), alGetFloatv(), alGetInteger(), alGetIntegerv(), GetSourcedv(), GetSourcei64v(), GetSourceiv(), SetSourcei64v(), and SetSourceiv().
#define AL_DOPPLER_FACTOR 0xC000 |
Doppler scale. Type: ALfloat Range: [0.0 - ] Default: 1.0
Scale for source and listener velocities.
Definition at line 400 of file al.h.
Referenced by alGetBoolean(), alGetBooleanv(), alGetDouble(), alGetDoublev(), alGetFloat(), alGetFloatv(), alGetInteger(), alGetIntegerv(), GetSourcedv(), GetSourcei64v(), GetSourceiv(), and SetSourcefv().
#define AL_DOPPLER_VELOCITY 0xC001 |
Doppler velocity (deprecated).
A multiplier applied to the Speed of Sound.
Definition at line 408 of file al.h.
Referenced by alGetBoolean(), alGetBooleanv(), alGetDouble(), alGetDoublev(), alGetFloat(), alGetFloatv(), alGetInteger(), and alGetIntegerv().
#define AL_EXPONENT_DISTANCE 0xD005 |
Definition at line 449 of file al.h.
Referenced by alDistanceModel(), and SetSourceiv().
#define AL_EXPONENT_DISTANCE_CLAMPED 0xD006 |
Definition at line 450 of file al.h.
Referenced by alDistanceModel(), and SetSourceiv().
#define AL_EXTENSIONS 0xB004 |
Context string: Space-separated extension list.
Definition at line 389 of file al.h.
Referenced by alGetString(), and printALInfo().
#define AL_FALSE 0 |
Boolean False.
Definition at line 83 of file al.h.
Referenced by alAuxiliaryEffectSloti(), alBufferData(), alBufferSamplesSOFT(), alBufferSubDataSOFT(), alBufferSubSamplesSOFT(), alc_initconfig(), alcCaptureOpenDevice(), alDeferUpdatesSOFT(), alDisable(), alGetBoolean(), alGetBufferSamplesSOFT(), alIsAuxiliaryEffectSlot(), alIsBuffer(), alIsBufferFormatSupportedSOFT(), alIsEffect(), alIsEnabled(), alIsExtensionPresent(), alIsFilter(), alIsSource(), AllocLines(), alProcessUpdatesSOFT(), alsa_open_capture(), alsa_stop_capture(), aluMixData(), ApplyOffset(), CalcNonAttnSourceParams(), CalcSourceParams(), DecomposeDevFormat(), DecomposeFormat(), DecomposeUserFormat(), EchoDeviceUpdate(), FreeThunkEntry(), InitContext(), InitEffectSlot(), InitializeEffect(), InitSourceParams(), Zeni::Sound_Source_HW::is_looping(), IsValidChannels(), IsValidType(), LoadData(), LoadHrtf00(), LoadHrtf01(), main(), MixSource(), NewThunkEntry(), printALCInfo(), printEFXInfo(), ReverbDeviceUpdate(), ReverbUpdate(), RWLockInit(), SetRTPriority(), SetSourcefv(), SetSourceiv(), SetSourceState(), Unlock(), UpdateDeviceParams(), and WinMMStopPlayback().
#define AL_FORMAT_MONO16 0x1101 |
Definition at line 340 of file al.h.
Referenced by alBufferData(), DecomposeDevFormat(), DecomposeUserFormat(), GetFormat(), Zeni::Sound_Buffer::load_ogg_vorbis(), and Zeni::Sound_Stream_AL::Sound_Stream_AL().
#define AL_FORMAT_MONO8 0x1100 |
Buffer format specifier.
Definition at line 339 of file al.h.
Referenced by DecomposeDevFormat(), DecomposeUserFormat(), and GetFormat().
#define AL_FORMAT_STEREO16 0x1103 |
Definition at line 342 of file al.h.
Referenced by alBufferData(), DecomposeDevFormat(), DecomposeUserFormat(), GetFormat(), Zeni::Sound_Buffer::load_ogg_vorbis(), and Zeni::Sound_Stream_AL::Sound_Stream_AL().
#define AL_FORMAT_STEREO8 0x1102 |
Definition at line 341 of file al.h.
Referenced by DecomposeDevFormat(), DecomposeUserFormat(), and GetFormat().
#define AL_FREQUENCY 0x2001 |
Buffer frequency (query only).
Definition at line 345 of file al.h.
Referenced by alGetBufferi(), and alGetBufferiv().
#define AL_GAIN 0x100A |
Source or listener gain. Type: ALfloat Range: [0.0 - ]
A value of 1.0 means unattenuated. Each division by 2 equals an attenuation of about -6dB. Each multiplicaton by 2 equals an amplification of about +6dB.
A value of 0.0 is meaningless with respect to a logarithmic scale; it is silent.
Definition at line 196 of file al.h.
Referenced by alGetListenerf(), alGetListenerfv(), alListenerf(), alListenerfv(), Zeni::Sound_Stream_AL::get_gain(), Zeni::Sound_Source_HW::get_gain(), GetSourcedv(), Zeni::Sound_Stream_AL::set_gain(), Zeni::Sound_Source_HW::set_gain(), Zeni::Sound_Renderer_AL::set_listener_gain(), and SetSourcefv().
#define AL_ILLEGAL_COMMAND AL_INVALID_OPERATION |
#define AL_ILLEGAL_ENUM AL_INVALID_ENUM |
#define AL_INITIAL 0x1011 |
Source state value.
Definition at line 238 of file al.h.
Referenced by alSourceRewindv(), InitSourceParams(), SetSourceiv(), and SetSourceState().
#define AL_INVALID_ENUM 0xA002 |
Invalid enum parameter passed to AL call.
Definition at line 370 of file al.h.
Referenced by alAuxiliaryEffectSlotf(), alAuxiliaryEffectSlotfv(), alAuxiliaryEffectSloti(), alAuxiliaryEffectSlotiv(), alBuffer3f(), alBuffer3i(), alBufferData(), alBufferf(), alBufferfv(), alBufferi(), alBufferiv(), alBufferSamplesSOFT(), alBufferSubDataSOFT(), alBufferSubSamplesSOFT(), alDisable(), alEnable(), alGetAuxiliaryEffectSlotf(), alGetAuxiliaryEffectSlotfv(), alGetAuxiliaryEffectSloti(), alGetAuxiliaryEffectSlotiv(), alGetBoolean(), alGetBooleanv(), alGetBuffer3f(), alGetBuffer3i(), alGetBufferf(), alGetBufferfv(), alGetBufferi(), alGetBufferiv(), alGetBufferSamplesSOFT(), alGetDouble(), alGetDoublev(), alGetFloat(), alGetFloatv(), alGetInteger(), alGetIntegerv(), alGetListener3f(), alGetListener3i(), alGetListenerf(), alGetListenerfv(), alGetListeneri(), alGetListeneriv(), alGetSource3dSOFT(), alGetSource3f(), alGetSource3i(), alGetSource3i64SOFT(), alGetSourcedSOFT(), alGetSourcedvSOFT(), alGetSourcef(), alGetSourcefv(), alGetSourcei(), alGetSourcei64SOFT(), alGetSourcei64vSOFT(), alGetSourceiv(), alGetString(), alIsEnabled(), alListener3f(), alListener3i(), alListenerf(), alListenerfv(), alListeneri(), alListeneriv(), alSource3dSOFT(), alSource3f(), alSource3i(), alSource3i64SOFT(), alSourcedSOFT(), alSourcedvSOFT(), alSourcef(), alSourcefv(), alSourcei(), alSourcei64SOFT(), alSourcei64vSOFT(), alSourceiv(), ded_GetParamf(), ded_GetParami(), ded_SetParamf(), ded_SetParami(), eaxreverb_GetParamf(), eaxreverb_GetParami(), eaxreverb_SetParamf(), eaxreverb_SetParami(), echo_GetParamf(), echo_GetParami(), echo_SetParamf(), echo_SetParami(), Zeni::Sound_Renderer_AL::errorString(), GetSourcedv(), GetSourcei64v(), GetSourceiv(), LoadData(), lp_GetParamf(), lp_GetParami(), lp_GetParamiv(), lp_SetParamf(), lp_SetParami(), lp_SetParamiv(), mod_GetParamf(), mod_GetParami(), mod_SetParamf(), mod_SetParami(), null_GetParamf(), null_GetParamfv(), null_GetParami(), null_GetParamiv(), null_SetParamf(), null_SetParamfv(), null_SetParami(), null_SetParamiv(), reverb_GetParamf(), reverb_GetParami(), reverb_SetParamf(), reverb_SetParami(), SetSourcefv(), SetSourcei64v(), and SetSourceiv().
#define AL_INVALID_NAME 0xA001 |
Invalid name paramater passed to AL call.
Definition at line 367 of file al.h.
Referenced by alAuxiliaryEffectSlotf(), alAuxiliaryEffectSlotfv(), alAuxiliaryEffectSloti(), alAuxiliaryEffectSlotiv(), alBuffer3f(), alBuffer3i(), alBufferData(), alBufferf(), alBufferfv(), alBufferi(), alBufferiv(), alBufferSamplesSOFT(), alBufferSubDataSOFT(), alBufferSubSamplesSOFT(), alDeleteAuxiliaryEffectSlots(), alDeleteBuffers(), alDeleteEffects(), alDeleteFilters(), alDeleteSources(), alEffectf(), alEffectfv(), alEffecti(), alEffectiv(), alFilterf(), alFilterfv(), alFilteri(), alFilteriv(), alGetAuxiliaryEffectSlotf(), alGetAuxiliaryEffectSlotfv(), alGetAuxiliaryEffectSloti(), alGetAuxiliaryEffectSlotiv(), alGetBuffer3f(), alGetBuffer3i(), alGetBufferf(), alGetBufferfv(), alGetBufferi(), alGetBufferiv(), alGetBufferSamplesSOFT(), alGetEffectf(), alGetEffectfv(), alGetEffecti(), alGetEffectiv(), alGetFilterf(), alGetFilterfv(), alGetFilteri(), alGetFilteriv(), alGetSource3dSOFT(), alGetSource3f(), alGetSource3i(), alGetSource3i64SOFT(), alGetSourcedSOFT(), alGetSourcedvSOFT(), alGetSourcef(), alGetSourcefv(), alGetSourcei(), alGetSourcei64SOFT(), alGetSourcei64vSOFT(), alGetSourceiv(), alGetString(), alSource3dSOFT(), alSource3f(), alSource3i(), alSource3i64SOFT(), alSourcedSOFT(), alSourcedvSOFT(), alSourcef(), alSourcefv(), alSourcei(), alSourcei64SOFT(), alSourcei64vSOFT(), alSourceiv(), alSourcePausev(), alSourcePlayv(), alSourceQueueBuffers(), alSourceRewindv(), alSourceStopv(), alSourceUnqueueBuffers(), and Zeni::Sound_Renderer_AL::errorString().
#define AL_INVALID_OPERATION 0xA004 |
Illegal AL call.
Definition at line 376 of file al.h.
Referenced by alBufferiv(), alDeleteAuxiliaryEffectSlots(), alDeleteBuffers(), alGetError(), alGetString(), alSourceQueueBuffers(), Zeni::Sound_Renderer_AL::errorString(), LoadData(), SetSourcefv(), SetSourcei64v(), and SetSourceiv().
#define AL_INVALID_VALUE 0xA003 |
Invalid value parameter passed to AL call.
Definition at line 373 of file al.h.
Referenced by alBufferiv(), alBufferSubDataSOFT(), alBufferSubSamplesSOFT(), alEffecti(), alFilteri(), alGetBufferSamplesSOFT(), alGetSource3dSOFT(), alGetSource3f(), alGetSource3i(), alGetSource3i64SOFT(), alGetSourcedSOFT(), alGetSourcedvSOFT(), alGetSourcef(), alGetSourcefv(), alGetSourcei(), alGetSourcei64SOFT(), alGetSourcei64vSOFT(), alGetSourceiv(), alGetString(), alSourcedvSOFT(), alSourcefv(), alSourcei64vSOFT(), alSourceiv(), alSourceUnqueueBuffers(), ded_SetParamf(), eaxreverb_SetParamf(), eaxreverb_SetParamfv(), eaxreverb_SetParami(), echo_SetParamf(), Zeni::Sound_Renderer_AL::errorString(), lp_SetParamf(), mod_SetParamf(), mod_SetParami(), reverb_SetParamf(), reverb_SetParami(), SetSourcefv(), and SetSourceiv().
#define AL_INVERSE_DISTANCE 0xD001 |
Distance model value.
Definition at line 445 of file al.h.
Referenced by alDistanceModel(), and SetSourceiv().
#define AL_INVERSE_DISTANCE_CLAMPED 0xD002 |
Definition at line 446 of file al.h.
Referenced by alDistanceModel(), alGetBoolean(), and SetSourceiv().
#define AL_LINEAR_DISTANCE 0xD003 |
Definition at line 447 of file al.h.
Referenced by alDistanceModel(), and SetSourceiv().
#define AL_LINEAR_DISTANCE_CLAMPED 0xD004 |
Definition at line 448 of file al.h.
Referenced by alDistanceModel(), and SetSourceiv().
#define AL_LOOPING 0x1007 |
Source looping. Type: ALboolean Range: [AL_TRUE, AL_FALSE] Default: AL_FALSE
Specifies whether source is looping.
Definition at line 173 of file al.h.
Referenced by GetSourcedv(), GetSourcei64v(), GetSourceiv(), Zeni::Sound_Source_HW::is_looping(), Zeni::Sound_Source_HW::set_looping(), SetSourcei64v(), and SetSourceiv().
#define AL_MAX_DISTANCE 0x1023 |
Source maximum distance. Type: ALfloat Range: [0.0 - ] Default: +inf
The distance above which the source is not attenuated any further with a clamped distance model, or where attenuation reaches 0.0 gain for linear distance models with a default rolloff factor.
Definition at line 309 of file al.h.
Referenced by Zeni::Sound_Stream_AL::get_max_distance(), Zeni::Sound_Source_HW::get_max_distance(), GetSourcedv(), GetSourcei64v(), GetSourceiv(), Zeni::Sound_Stream_AL::set_max_distance(), Zeni::Sound_Source_HW::set_max_distance(), SetSourcefv(), SetSourcei64v(), and SetSourceiv().
#define AL_MAX_GAIN 0x100E |
Maximum source gain. Type: ALfloat Range: [0.0 - 1.0]
The maximum gain allowed for a source, after distance and cone attenation is applied (if applicable).
Definition at line 216 of file al.h.
Referenced by GetSourcedv(), and SetSourcefv().
#define AL_MIN_GAIN 0x100D |
Minimum source gain. Type: ALfloat Range: [0.0 - 1.0]
The minimum gain allowed for a source, after distance and cone attenation is applied (if applicable).
Definition at line 206 of file al.h.
Referenced by GetSourcedv(), and SetSourcefv().
#define AL_NO_ERROR 0 |
No error.
Definition at line 364 of file al.h.
Referenced by AddEffectSlotArray(), alAuxiliaryEffectSloti(), alBufferData(), alBufferSamplesSOFT(), alcOpenDevice(), alGenAuxiliaryEffectSlots(), alGenBuffers(), alGenEffects(), alGenFilters(), alGenSources(), alGetError(), alGetSource3dSOFT(), alGetSource3f(), alGetSource3i(), alGetSource3i64SOFT(), alGetSourcef(), alGetSourcefv(), alGetString(), alSetError(), checkALErrors(), DeletePlayer(), Zeni::Sound_Renderer_AL::errorString(), GetSourcedv(), GetSourcei64v(), GetSourceiv(), InitContext(), InitEffect(), InitEffectSlot(), InitializeEffect(), InsertUIntMapEntry(), LoadData(), LoadEffect(), LoadSound(), main(), NewPlayer(), NewThunkEntry(), printEFXInfo(), SetSourcefv(), SetSourceiv(), Zeni::Sound_Stream_AL::Sound_Stream_AL(), StartPlayer(), and UpdatePlayer().
#define AL_NONE 0 |
"no distance model" or "no buffer"
Definition at line 80 of file al.h.
Referenced by alDistanceModel(), alProcessUpdatesSOFT(), alSourceRewindv(), alSourceStopv(), GetFormat(), InitSourceParams(), Zeni::Sound_Buffer::load_ogg_vorbis(), LoadSound(), and SetSourceiv().
#define AL_ORIENTATION 0x100F |
Listener orientation. Type: ALfloat[6] Default: {0.0, 0.0, -1.0, 0.0, 1.0, 0.0}
Effectively two three dimensional vectors. The first vector is the front (or "at") and the second is the top (or "up").
Both vectors are in local space.
Definition at line 228 of file al.h.
Referenced by alGetListenerfv(), alGetListeneriv(), alListenerfv(), alListeneriv(), Zeni::Sound_Renderer_AL::get_listener_forward_and_up(), and Zeni::Sound_Renderer_AL::set_listener_forward_and_up().
#define AL_OUT_OF_MEMORY 0xA005 |
Not enough memory.
Definition at line 379 of file al.h.
Referenced by AddEffectSlotArray(), alGenAuxiliaryEffectSlots(), alGenBuffers(), alGenEffects(), alGenFilters(), alGenSources(), alGetString(), alSourcePlayv(), Zeni::Sound_Renderer_AL::errorString(), InitEffectSlot(), InitializeEffect(), InsertUIntMapEntry(), LoadData(), and NewThunkEntry().
#define AL_PAUSED 0x1013 |
Definition at line 240 of file al.h.
Referenced by alProcessUpdatesSOFT(), alSourcePausev(), Zeni::Sound_Source_HW::get_state(), GetSourceOffset(), GetSourceOffsets(), GetSourceSecOffset(), Zeni::Sound_Stream_AL::is_paused(), SetSourcefv(), SetSourceiv(), SetSourceState(), and UpdatePlayer().
#define AL_PITCH 0x1003 |
Source pitch. Type: ALfloat Range: [0.5 - 2.0] Default: 1.0
A multiplier for the frequency (sample rate) of the source's buffer.
Definition at line 128 of file al.h.
Referenced by Zeni::Sound_Stream_AL::get_pitch(), Zeni::Sound_Source_HW::get_pitch(), GetSourcedv(), Zeni::Sound_Stream_AL::set_pitch(), Zeni::Sound_Source_HW::set_pitch(), and SetSourcefv().
#define AL_PLAYING 0x1012 |
Definition at line 239 of file al.h.
Referenced by alDeferUpdatesSOFT(), alProcessUpdatesSOFT(), alSourcePlayv(), aluHandleDisconnect(), aluMixData(), Zeni::Sound_Source_HW::get_state(), GetSourceOffset(), GetSourceOffsets(), GetSourceSecOffset(), Zeni::Sound_Stream_AL::is_playing(), main(), MixSource(), SetSourcefv(), SetSourceiv(), SetSourceState(), and UpdatePlayer().
#define AL_POSITION 0x1004 |
Source or listener position. Type: ALfloat[3], ALint[3] Default: {0, 0, 0}
The source or listener location in three dimensional space.
OpenAL, like OpenGL, uses a right handed coordinate system, where in a frontal default view X (thumb) points right, Y points up (index finger), and Z points towards the viewer/camera (middle finger).
To switch from a left handed coordinate system, flip the sign on the Z coordinate.
Definition at line 144 of file al.h.
Referenced by alGetListener3f(), alGetListener3i(), alGetListenerfv(), alGetListeneriv(), alListener3f(), alListener3i(), alListenerfv(), alListeneriv(), Zeni::Sound_Stream_AL::get_position(), Zeni::Sound_Source_HW::get_position(), GetSourcedv(), GetSourcei64v(), GetSourceiv(), NewPlayer(), Zeni::Sound_Renderer_AL::set_listener_position(), Zeni::Sound_Stream_AL::set_position(), Zeni::Sound_Source_HW::set_position(), SetSourcefv(), SetSourcei64v(), SetSourceiv(), and Zeni::Sound_Stream_AL::Sound_Stream_AL().
#define AL_REFERENCE_DISTANCE 0x1020 |
Source reference distance. Type: ALfloat Range: [0.0 - ] Default: 1.0
The distance in units that no attenuation occurs.
At 0.0, no distance attenuation ever occurs on non-linear attenuation models.
Definition at line 274 of file al.h.
Referenced by Zeni::Sound_Stream_AL::get_reference_distance(), Zeni::Sound_Source_HW::get_reference_distance(), GetSourcedv(), GetSourcei64v(), GetSourceiv(), Zeni::Sound_Stream_AL::set_reference_distance(), Zeni::Sound_Source_HW::set_reference_distance(), SetSourcefv(), SetSourcei64v(), and SetSourceiv().
#define AL_RENDERER 0xB003 |
Context string: Renderer ID.
Definition at line 387 of file al.h.
Referenced by alGetString(), and printALInfo().
#define AL_ROLLOFF_FACTOR 0x1021 |
Source rolloff factor. Type: ALfloat Range: [0.0 - ] Default: 1.0
Multiplier to exaggerate or diminish distance attenuation.
At 0.0, no distance attenuation ever occurs.
Definition at line 286 of file al.h.
Referenced by Zeni::Sound_Stream_AL::get_rolloff(), Zeni::Sound_Source_HW::get_rolloff(), GetSourcedv(), GetSourcei64v(), GetSourceiv(), NewPlayer(), Zeni::Sound_Stream_AL::set_rolloff(), Zeni::Sound_Source_HW::set_rolloff(), SetSourcefv(), SetSourcei64v(), SetSourceiv(), and Zeni::Sound_Stream_AL::Sound_Stream_AL().
#define AL_SAMPLE_OFFSET 0x1025 |
Source buffer position, in sample frames
Definition at line 314 of file al.h.
Referenced by GetSampleOffset(), GetSourcedv(), GetSourcei64v(), GetSourceiv(), GetSourceOffsets(), SetSourcefv(), SetSourcei64v(), and SetSourceiv().
#define AL_SEC_OFFSET 0x1024 |
Source buffer position, in seconds
Definition at line 312 of file al.h.
Referenced by Zeni::Sound_Source_HW::get_time(), GetSampleOffset(), GetSourcedv(), GetSourcei64v(), GetSourceiv(), GetSourceOffsets(), Zeni::Sound_Source_HW::set_time(), SetSourcefv(), SetSourcei64v(), and SetSourceiv().
#define AL_SIZE 0x2004 |
Buffer data size (query only).
Definition at line 351 of file al.h.
Referenced by alGetBufferi(), and alGetBufferiv().
#define AL_SOURCE_RELATIVE 0x202 |
Relative source. Type: ALboolean Range: [AL_TRUE, AL_FALSE] Default: AL_FALSE
Specifies if the Source has relative coordinates.
Definition at line 97 of file al.h.
Referenced by GetSourcedv(), GetSourcei64v(), GetSourceiv(), NewPlayer(), SetSourcei64v(), SetSourceiv(), and Zeni::Sound_Stream_AL::Sound_Stream_AL().
#define AL_SOURCE_STATE 0x1010 |
Source state (query only). Type: ALint Range: [AL_INITIAL, AL_PLAYING, AL_PAUSED, AL_STOPPED]
Definition at line 235 of file al.h.
Referenced by Zeni::Sound_Source_HW::get_state(), GetSourcedv(), GetSourcei64v(), GetSourceiv(), Zeni::Sound_Stream_AL::is_paused(), Zeni::Sound_Stream_AL::is_playing(), Zeni::Sound_Stream_AL::is_stopped(), main(), SetSourcei64v(), and UpdatePlayer().
#define AL_SOURCE_TYPE 0x1027 |
Source type (query only). Type: ALint Range: [AL_STATIC, AL_STREAMING, AL_UNDETERMINED]
A Source is Static if a Buffer has been attached using AL_BUFFER.
A Source is Streaming if one or more Buffers have been attached using alSourceQueueBuffers.
A Source is Undetermined when it has the NULL buffer attached using AL_BUFFER.
Definition at line 331 of file al.h.
Referenced by GetSourcedv(), GetSourcei64v(), and GetSourceiv().
#define AL_SPEED_OF_SOUND 0xC003 |
Speed of Sound, in units per second. Type: ALfloat Range: [0.0001 - ] Default: 343.3
The speed at which sound waves are assumed to travel, when calculating the doppler effect.
Definition at line 420 of file al.h.
Referenced by alGetBoolean(), alGetBooleanv(), alGetDouble(), alGetDoublev(), alGetFloat(), alGetFloatv(), alGetInteger(), and alGetIntegerv().
#define AL_STATIC 0x1028 |
Source type value.
Definition at line 334 of file al.h.
Referenced by alSourceQueueBuffers(), GetSourceiv(), MixSource(), and SetSourceiv().
#define AL_STOPPED 0x1014 |
Definition at line 241 of file al.h.
Referenced by alSourceStopv(), aluHandleDisconnect(), Zeni::Sound_Source_HW::get_state(), Zeni::Sound_Stream_AL::is_stopped(), MixSource(), SetSourceiv(), and SetSourceState().
#define AL_STREAMING 0x1029 |
Definition at line 335 of file al.h.
Referenced by alSourceQueueBuffers(), alSourceUnqueueBuffers(), and GetSourceiv().
#define AL_TRUE 1 |
Boolean True.
Definition at line 86 of file al.h.
Referenced by alAuxiliaryEffectSlotf(), alAuxiliaryEffectSloti(), alBufferData(), alc_initconfig(), alDeferUpdatesSOFT(), alDisable(), alDistanceModel(), alDopplerFactor(), alDopplerVelocity(), alEffecti(), alEnable(), alGetBoolean(), alIsAuxiliaryEffectSlot(), alIsBuffer(), alIsEffect(), alIsExtensionPresent(), alIsFilter(), alIsSource(), alListener3f(), alListenerf(), alListenerfv(), AllocLines(), alsa_open_capture(), alsa_start_capture(), alSourceQueueBuffers(), alSpeedOfSound(), ApplyOffset(), CalcSourceParams(), DecomposeDevFormat(), DecomposeFormat(), DecomposeUserFormat(), DedicatedDeviceUpdate(), EchoDeviceUpdate(), InitEffectSlot(), InitializeEffect(), InitSourceParams(), IsValidChannels(), IsValidType(), LoadHrtf00(), LoadHrtf01(), Lock(), ModulatorDeviceUpdate(), NewPlayer(), NewThunkEntry(), NoneDeviceUpdate(), ReverbDeviceUpdate(), ReverbUpdate(), SetSourcefv(), SetSourceiv(), Zeni::Sound_Stream_AL::Sound_Stream_AL(), WinMMCloseCapture(), and WinMMStopPlayback().
#define AL_UNDETERMINED 0x1030 |
Definition at line 336 of file al.h.
Referenced by InitSourceParams(), and SetSourceiv().
#define AL_VELOCITY 0x1006 |
Source or listener velocity. Type: ALfloat[3], ALint[3] Default: {0, 0, 0}
Specifies the current velocity in local space.
Definition at line 163 of file al.h.
Referenced by alGetListener3f(), alGetListener3i(), alGetListenerfv(), alGetListeneriv(), alListener3f(), alListener3i(), alListenerfv(), alListeneriv(), Zeni::Sound_Stream_AL::get_velocity(), Zeni::Sound_Source_HW::get_velocity(), GetSourcedv(), GetSourcei64v(), GetSourceiv(), Zeni::Sound_Renderer_AL::set_listener_velocity(), Zeni::Sound_Stream_AL::set_velocity(), Zeni::Sound_Source_HW::set_velocity(), SetSourcefv(), SetSourcei64v(), SetSourceiv(), and Zeni::Sound_Stream_AL::Sound_Stream_AL().
#define AL_VENDOR 0xB001 |
Context string: Vendor ID.
Definition at line 383 of file al.h.
Referenced by alGetString(), and printALInfo().
#define AL_VERSION 0xB002 |
Context string: Version.
Definition at line 385 of file al.h.
Referenced by alGetString(), and printALInfo().
#define ALAPIENTRY AL_APIENTRY |
typedef void(AL_APIENTRY * LPALDISABLE)(ALenum capability) |
typedef void(AL_APIENTRY * LPALDISTANCEMODEL)(ALenum distanceModel) |
typedef void(AL_APIENTRY * LPALENABLE)(ALenum capability) |
typedef ALenum(AL_APIENTRY * LPALGETENUMVALUE)(const ALchar *ename) |
typedef ALenum(AL_APIENTRY * LPALGETERROR)(void) |
typedef void*(AL_APIENTRY * LPALGETPROCADDRESS)(const ALchar *fname) |
typedef const ALchar*(AL_APIENTRY * LPALGETSTRING)(ALenum param) |
typedef ALboolean(AL_APIENTRY * LPALISENABLED)(ALenum capability) |
typedef ALboolean(AL_APIENTRY * LPALISEXTENSIONPRESENT)(const ALchar *extname) |
AL_API void AL_APIENTRY alBuffer3f | ( | ALuint | buffer, |
ALenum | param, | ||
ALfloat | value1, | ||
ALfloat | value2, | ||
ALfloat | value3 | ||
) |
Definition at line 639 of file alBuffer.c.
AL_API void AL_APIENTRY alBuffer3i | ( | ALuint | buffer, |
ALenum | param, | ||
ALint | value1, | ||
ALint | value2, | ||
ALint | value3 | ||
) |
Definition at line 721 of file alBuffer.c.
AL_API void AL_APIENTRY alBufferData | ( | ALuint | buffer, |
ALenum | format, | ||
const ALvoid * | data, | ||
ALsizei | size, | ||
ALsizei | freq | ||
) |
Specifies the data to be copied into a buffer
Definition at line 289 of file alBuffer.c.
Referenced by wrap_BufferSamples().
Set Buffer parameters,
Definition at line 612 of file alBuffer.c.
Definition at line 668 of file alBuffer.c.
Definition at line 694 of file alBuffer.c.
Definition at line 750 of file alBuffer.c.
Delete Buffer objects
Definition at line 229 of file alBuffer.c.
Referenced by alGenBuffers(), DeletePlayer(), LoadSound(), and main().
Delete Source objects.
Definition at line 1262 of file alSource.c.
Referenced by alGenSources(), DeletePlayer(), and main().
AL_API void AL_APIENTRY alDistanceModel | ( | ALenum | distanceModel | ) |
AL_API void AL_APIENTRY alDopplerVelocity | ( | ALfloat | value | ) |
AL_API void AL_APIENTRY alEnable | ( | ALenum | capability | ) |
AL_API void AL_APIENTRY alGenBuffers | ( | ALsizei | n, |
ALuint * | buffers | ||
) |
Create Buffer objects
Definition at line 183 of file alBuffer.c.
Referenced by LoadSound(), and NewPlayer().
AL_API void AL_APIENTRY alGenSources | ( | ALsizei | n, |
ALuint * | sources | ||
) |
Create Source objects.
Definition at line 1216 of file alSource.c.
Referenced by main(), and NewPlayer().
AL_API ALboolean AL_APIENTRY alGetBoolean | ( | ALenum | param | ) |
Definition at line 121 of file alState.c.
Referenced by alGetBooleanv().
AL_API void AL_APIENTRY alGetBooleanv | ( | ALenum | param, |
ALboolean * | values | ||
) |
AL_API void AL_APIENTRY alGetBuffer3f | ( | ALuint | buffer, |
ALenum | param, | ||
ALfloat * | value1, | ||
ALfloat * | value2, | ||
ALfloat * | value3 | ||
) |
Definition at line 832 of file alBuffer.c.
AL_API void AL_APIENTRY alGetBuffer3i | ( | ALuint | buffer, |
ALenum | param, | ||
ALint * | value1, | ||
ALint * | value2, | ||
ALint * | value3 | ||
) |
Definition at line 949 of file alBuffer.c.
Definition at line 858 of file alBuffer.c.
Definition at line 891 of file alBuffer.c.
Referenced by alGetBufferiv().
Definition at line 975 of file alBuffer.c.
AL_API ALdouble AL_APIENTRY alGetDouble | ( | ALenum | param | ) |
Definition at line 168 of file alState.c.
Referenced by alGetDoublev().
AL_API void AL_APIENTRY alGetDoublev | ( | ALenum | param, |
ALdouble * | values | ||
) |
AL_API ALenum AL_APIENTRY alGetEnumValue | ( | const ALchar * | ename | ) |
Definition at line 95 of file alExtension.c.
Referenced by GetFormat(), LoadEffect(), and printEFXInfo().
AL_API ALenum AL_APIENTRY alGetError | ( | void | ) |
Error retrieval.
Obtain the first error generated in the AL context since the last check.
Definition at line 46 of file alError.c.
Referenced by checkALErrors(), DeletePlayer(), LoadEffect(), LoadSound(), main(), NewPlayer(), printEFXInfo(), StartPlayer(), and UpdatePlayer().
AL_API ALfloat AL_APIENTRY alGetFloat | ( | ALenum | param | ) |
Definition at line 211 of file alState.c.
Referenced by alGetFloatv().
AL_API void AL_APIENTRY alGetFloatv | ( | ALenum | param, |
ALfloat * | values | ||
) |
AL_API ALint AL_APIENTRY alGetInteger | ( | ALenum | param | ) |
Definition at line 254 of file alState.c.
Referenced by alGetIntegerv().
AL_API void AL_APIENTRY alGetIntegerv | ( | ALenum | param, |
ALint * | values | ||
) |
AL_API void AL_APIENTRY alGetListener3f | ( | ALenum | param, |
ALfloat * | value1, | ||
ALfloat * | value2, | ||
ALfloat * | value3 | ||
) |
Definition at line 288 of file alListener.c.
Referenced by alGetListenerfv().
AL_API void AL_APIENTRY alGetListener3i | ( | ALenum | param, |
ALint * | value1, | ||
ALint * | value2, | ||
ALint * | value3 | ||
) |
Definition at line 395 of file alListener.c.
Referenced by alGetListeneriv().
AL_API void AL_APIENTRY alGetListenerf | ( | ALenum | param, |
ALfloat * | value | ||
) |
Get Listener parameters
Definition at line 258 of file alListener.c.
Referenced by alGetListenerfv().
AL_API void AL_APIENTRY alGetListenerfv | ( | ALenum | param, |
ALfloat * | values | ||
) |
Definition at line 326 of file alListener.c.
AL_API void AL_APIENTRY alGetListeneri | ( | ALenum | param, |
ALint * | value | ||
) |
Definition at line 373 of file alListener.c.
AL_API void AL_APIENTRY alGetListeneriv | ( | ALenum | param, |
ALint * | values | ||
) |
Definition at line 433 of file alListener.c.
AL_API void* AL_APIENTRY alGetProcAddress | ( | const ALchar * | fname | ) |
Definition at line 88 of file alExtension.c.
Referenced by main().
AL_API void AL_APIENTRY alGetSource3f | ( | ALuint | source, |
ALenum | param, | ||
ALfloat * | value1, | ||
ALfloat * | value2, | ||
ALfloat * | value3 | ||
) |
Definition at line 1626 of file alSource.c.
AL_API void AL_APIENTRY alGetSource3i | ( | ALuint | source, |
ALenum | param, | ||
ALint * | value1, | ||
ALint * | value2, | ||
ALint * | value3 | ||
) |
Definition at line 1775 of file alSource.c.
Get Source parameters.
Definition at line 1601 of file alSource.c.
Definition at line 1655 of file alSource.c.
Definition at line 1754 of file alSource.c.
Referenced by main(), and UpdatePlayer().
Definition at line 1804 of file alSource.c.
AL_API const ALchar* AL_APIENTRY alGetString | ( | ALenum | param | ) |
State retrieval.
Definition at line 437 of file alState.c.
Referenced by checkALErrors(), LoadEffect(), LoadSound(), and printALInfo().
AL_API ALboolean AL_APIENTRY alIsBuffer | ( | ALuint | buffer | ) |
Verify a handle is a valid Buffer
Definition at line 272 of file alBuffer.c.
Referenced by LoadSound().
AL_API ALboolean AL_APIENTRY alIsEnabled | ( | ALenum | capability | ) |
AL_API ALboolean AL_APIENTRY alIsExtensionPresent | ( | const ALchar * | extname | ) |
Extension support.
Query for the presence of an extension, and obtain any appropriate function pointers and enum values.
Definition at line 49 of file alExtension.c.
Referenced by GetFormat(), and main().
AL_API ALboolean AL_APIENTRY alIsSource | ( | ALuint | source | ) |
Verify a handle is a valid Source.
Definition at line 1334 of file alSource.c.
AL_API void AL_APIENTRY alListener3f | ( | ALenum | param, |
ALfloat | value1, | ||
ALfloat | value2, | ||
ALfloat | value3 | ||
) |
Definition at line 64 of file alListener.c.
Referenced by alListener3i(), alListenerfv(), and alListeneriv().
Definition at line 185 of file alListener.c.
AL_API void AL_APIENTRY alListenerf | ( | ALenum | param, |
ALfloat | value | ||
) |
Set Listener parameters
OpenAL cross platform audio library Copyright (C) 1999-2000 by authors. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details.
You should have received a copy of the GNU Library General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Or go to http://www.gnu.org/copyleft/lgpl.html
Definition at line 29 of file alListener.c.
Referenced by alListenerfv().
Definition at line 107 of file alListener.c.
Referenced by alListeneriv().
AL_API void AL_APIENTRY alListeneri | ( | ALenum | param, |
ALint | value | ||
) |
Definition at line 162 of file alListener.c.
Definition at line 214 of file alListener.c.
AL_API void AL_APIENTRY alSource3f | ( | ALuint | source, |
ALenum | param, | ||
ALfloat | value1, | ||
ALfloat | value2, | ||
ALfloat | value3 | ||
) |
Definition at line 1368 of file alSource.c.
AL_API void AL_APIENTRY alSource3i | ( | ALuint | source, |
ALenum | param, | ||
ALint | value1, | ||
ALint | value2, | ||
ALint | value3 | ||
) |
Definition at line 1499 of file alSource.c.
Referenced by main(), and NewPlayer().
Set Source parameters.
Definition at line 1350 of file alSource.c.
Definition at line 1389 of file alSource.c.
Definition at line 1481 of file alSource.c.
Referenced by main(), NewPlayer(), and StartPlayer().
Definition at line 1520 of file alSource.c.
AL_API void AL_APIENTRY alSourcePause | ( | ALuint | source | ) |
Pause a Source
Definition at line 1949 of file alSource.c.
AL_API void AL_APIENTRY alSourcePlay | ( | ALuint | source | ) |
Play, replay, or resume a Source
Definition at line 1894 of file alSource.c.
Referenced by main(), StartPlayer(), and UpdatePlayer().
Play, replay, or resume (if paused) a list of Sources
Definition at line 1898 of file alSource.c.
Referenced by alSourcePlay().
Queue buffers onto a source
Definition at line 2058 of file alSource.c.
Referenced by StartPlayer(), and UpdatePlayer().
AL_API void AL_APIENTRY alSourceRewind | ( | ALuint | source | ) |
Rewind a Source (set playback postiton to beginning)
Definition at line 2021 of file alSource.c.
Referenced by StartPlayer().
Rewind a list of Sources
Definition at line 2025 of file alSource.c.
Referenced by alSourceRewind().
AL_API void AL_APIENTRY alSourceStop | ( | ALuint | source | ) |
Stop a Source
Definition at line 1985 of file alSource.c.
Unqueue processed buffers from a source
Definition at line 2194 of file alSource.c.
Referenced by UpdatePlayer().