zenilib  0.5.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ALsource Struct Reference

#include <alSource.h>

Public Attributes

volatile ALfloat AirAbsorptionFactor
 
ALuint BuffersInQueue
 
ALuint BuffersPlayed
 
volatile ALboolean DirectChannels
 
ALfloat DirectGain
 
ALfloat DirectGainHF
 
enum DistanceModel DistanceModel
 
volatile ALfloat DopplerFactor
 
volatile ALboolean DryGainHFAuto
 
volatile ALfloat Gain
 
volatile ALboolean HeadRelative
 
HrtfState Hrtf
 
ALuint id
 
volatile ALfloat InnerAngle
 
volatile ALboolean Looping
 
volatile ALfloat MaxDistance
 
volatile ALfloat MaxGain
 
volatile ALfloat MinGain
 
volatile ALenum NeedsUpdate
 
ALenum new_state
 
ALuint NumChannels
 
ALdouble Offset
 
ALenum OffsetType
 
volatile ALfloat Orientation [3]
 
volatile ALfloat OuterAngle
 
volatile ALfloat OuterGain
 
volatile ALfloat OuterGainHF
 
struct {
   DirectParams   Direct
 
   DryMixerFunc   DryMix
 
   ResamplerFunc   Resample
 
   SendParams   Send [MAX_SENDS]
 
   ALint   Step
 
   WetMixerFunc   WetMix
 
Params
 
volatile ALfloat Pitch
 
volatile ALfloat Position [3]
 
ALuint position
 
ALuint position_fraction
 
ALbufferlistitemqueue
 
volatile ALfloat RefDistance
 
enum Resampler Resampler
 
volatile ALfloat RollOffFactor
 
volatile ALfloat RoomRolloffFactor
 
ALuint SampleSize
 
struct {
   ALfloat   Gain
 
   ALfloat   GainHF
 
   struct ALeffectslot *   Slot
 
Send [MAX_SENDS]
 
volatile ALint SourceType
 
volatile ALenum state
 
ALvoid(* Update )(struct ALsource *self, const ALCcontext *context)
 
volatile ALfloat Velocity [3]
 
volatile ALboolean WetGainAuto
 
volatile ALboolean WetGainHFAuto
 

Detailed Description

Definition at line 82 of file alSource.h.

Member Data Documentation

volatile ALfloat ALsource::AirAbsorptionFactor

Definition at line 108 of file alSource.h.

Referenced by CalcSourceParams(), GetSourcedv(), InitSourceParams(), and SetSourcefv().

ALuint ALsource::BuffersInQueue
DirectParams ALsource::Direct

Definition at line 166 of file alSource.h.

Referenced by CalcNonAttnSourceParams(), CalcSourceParams(), and MixSource().

volatile ALboolean ALsource::DirectChannels

Definition at line 101 of file alSource.h.

Referenced by CalcNonAttnSourceParams(), GetSourceiv(), InitSourceParams(), and SetSourceiv().

ALfloat ALsource::DirectGain

Direct filter and auxiliary send info.

Definition at line 146 of file alSource.h.

Referenced by CalcNonAttnSourceParams(), CalcSourceParams(), InitSourceParams(), and SetSourceiv().

ALfloat ALsource::DirectGainHF
enum DistanceModel ALsource::DistanceModel

Definition at line 100 of file alSource.h.

Referenced by CalcSourceParams(), GetSourceiv(), InitSourceParams(), and SetSourceiv().

volatile ALfloat ALsource::DopplerFactor

Definition at line 110 of file alSource.h.

Referenced by CalcSourceParams(), GetSourcedv(), InitSourceParams(), and SetSourcefv().

volatile ALboolean ALsource::DryGainHFAuto

Definition at line 103 of file alSource.h.

Referenced by CalcSourceParams(), GetSourceiv(), InitSourceParams(), and SetSourceiv().

DryMixerFunc ALsource::DryMix

Definition at line 161 of file alSource.h.

Referenced by CalcNonAttnSourceParams(), CalcSourceParams(), and MixSource().

ALfloat ALsource::Gain

Definition at line 151 of file alSource.h.

ALfloat ALsource::GainHF
volatile ALboolean ALsource::HeadRelative

Definition at line 98 of file alSource.h.

Referenced by CalcSourceParams(), GetSourceiv(), and SetSourceiv().

HrtfState ALsource::Hrtf

HRTF info.

Definition at line 156 of file alSource.h.

Referenced by CalcNonAttnSourceParams(), CalcSourceParams(), InitSourceParams(), MixSource(), and SetSourceState().

ALuint ALsource::id

Self ID

Definition at line 177 of file alSource.h.

Referenced by alDeleteSources(), alGenSources(), and ReleaseALSources().

volatile ALfloat ALsource::InnerAngle

Definition at line 90 of file alSource.h.

Referenced by CalcSourceParams(), GetSourcedv(), InitSourceParams(), and SetSourcefv().

volatile ALboolean ALsource::Looping
volatile ALfloat ALsource::MaxDistance

Definition at line 93 of file alSource.h.

Referenced by CalcSourceParams(), GetSourcedv(), InitSourceParams(), and SetSourcefv().

volatile ALfloat ALsource::MaxGain
volatile ALfloat ALsource::MinGain
volatile ALenum ALsource::NeedsUpdate

Source needs to update its mixing parameters.

Definition at line 171 of file alSource.h.

Referenced by alSourceQueueBuffers(), InitSourceParams(), SetSourcefv(), SetSourceiv(), and UpdateDeviceParams().

ALenum ALsource::new_state
ALuint ALsource::NumChannels

Current buffer sample info.

Definition at line 142 of file alSource.h.

Referenced by alSourceQueueBuffers(), MixSource(), and SetSourceiv().

ALdouble ALsource::Offset

Last user-specified offset, and the offset type (bytes, samples, or seconds).

Definition at line 118 of file alSource.h.

Referenced by alProcessUpdatesSOFT(), GetSampleOffset(), InitSourceParams(), SetSourcefv(), SetSourceiv(), and SetSourceState().

ALenum ALsource::OffsetType

Definition at line 119 of file alSource.h.

Referenced by GetSampleOffset(), SetSourcefv(), and SetSourceiv().

volatile ALfloat ALsource::Orientation[3]

Definition at line 97 of file alSource.h.

Referenced by CalcSourceParams(), GetSourcedv(), InitSourceParams(), and SetSourcefv().

volatile ALfloat ALsource::OuterAngle

Definition at line 91 of file alSource.h.

Referenced by CalcSourceParams(), GetSourcedv(), InitSourceParams(), and SetSourcefv().

volatile ALfloat ALsource::OuterGain

Definition at line 87 of file alSource.h.

Referenced by CalcSourceParams(), GetSourcedv(), InitSourceParams(), and SetSourcefv().

volatile ALfloat ALsource::OuterGainHF

Definition at line 106 of file alSource.h.

Referenced by CalcSourceParams(), GetSourcedv(), InitSourceParams(), and SetSourcefv().

struct { ... } ALsource::Params

Current target parameters used for mixing.

Referenced by CalcNonAttnSourceParams(), CalcSourceParams(), and MixSource().

volatile ALfloat ALsource::Pitch

Source properties.

Definition at line 85 of file alSource.h.

Referenced by CalcNonAttnSourceParams(), CalcSourceParams(), GetSourcedv(), InitSourceParams(), and SetSourcefv().

volatile ALfloat ALsource::Position[3]

Definition at line 95 of file alSource.h.

Referenced by CalcSourceParams(), GetSourcedv(), InitSourceParams(), and SetSourcefv().

ALuint ALsource::position

Source offset in samples, relative to the currently playing buffer, NOT the whole queue, and the fractional (fixed-point) offset to the next sample.

Definition at line 133 of file alSource.h.

Referenced by ApplyOffset(), GetSourceOffset(), GetSourceOffsets(), GetSourceSecOffset(), MixSource(), and SetSourceState().

ALuint ALsource::position_fraction
volatile ALfloat ALsource::RefDistance

Definition at line 92 of file alSource.h.

Referenced by CalcSourceParams(), GetSourcedv(), InitSourceParams(), and SetSourcefv().

ResamplerFunc ALsource::Resample

Definition at line 160 of file alSource.h.

Referenced by CalcNonAttnSourceParams(), CalcSourceParams(), and MixSource().

enum Resampler ALsource::Resampler

Definition at line 112 of file alSource.h.

Referenced by CalcNonAttnSourceParams(), CalcSourceParams(), InitSourceParams(), and MixSource().

volatile ALfloat ALsource::RollOffFactor

Definition at line 94 of file alSource.h.

Referenced by CalcSourceParams(), GetSourcedv(), InitSourceParams(), and SetSourcefv().

volatile ALfloat ALsource::RoomRolloffFactor

Definition at line 109 of file alSource.h.

Referenced by CalcSourceParams(), GetSourcedv(), InitSourceParams(), and SetSourcefv().

ALuint ALsource::SampleSize

Definition at line 143 of file alSource.h.

Referenced by alSourceQueueBuffers(), MixSource(), and SetSourceiv().

SendParams ALsource::Send[MAX_SENDS]

Definition at line 168 of file alSource.h.

volatile ALint ALsource::SourceType

Source type (static, streaming, or undetermined)

Definition at line 122 of file alSource.h.

Referenced by alSourceQueueBuffers(), alSourceUnqueueBuffers(), GetSourceiv(), InitSourceParams(), MixSource(), and SetSourceiv().

volatile ALenum ALsource::state

Source state (initial, playing, paused, or stopped)

Definition at line 125 of file alSource.h.

Referenced by alProcessUpdatesSOFT(), GetSourceiv(), GetSourceOffset(), GetSourceOffsets(), GetSourceSecOffset(), InitSourceParams(), MixSource(), SetSourcefv(), SetSourceiv(), and SetSourceState().

ALint ALsource::Step

Definition at line 164 of file alSource.h.

Referenced by CalcNonAttnSourceParams(), CalcSourceParams(), and MixSource().

ALvoid(* ALsource::Update)(struct ALsource *self, const ALCcontext *context)

Method to update mixing parameters.

Definition at line 174 of file alSource.h.

Referenced by alSourceQueueBuffers(), and SetSourceiv().

volatile ALfloat ALsource::Velocity[3]

Definition at line 96 of file alSource.h.

Referenced by CalcSourceParams(), GetSourcedv(), InitSourceParams(), and SetSourcefv().

volatile ALboolean ALsource::WetGainAuto

Definition at line 104 of file alSource.h.

Referenced by CalcSourceParams(), GetSourceiv(), InitSourceParams(), and SetSourceiv().

volatile ALboolean ALsource::WetGainHFAuto

Definition at line 105 of file alSource.h.

Referenced by CalcSourceParams(), GetSourceiv(), InitSourceParams(), and SetSourceiv().

WetMixerFunc ALsource::WetMix

Definition at line 162 of file alSource.h.

Referenced by CalcNonAttnSourceParams(), CalcSourceParams(), and MixSource().


The documentation for this struct was generated from the following file: