4 #define AL_NUM_SOURCE_PARAMS 128
9 #define AL_DIRECT_FILTER 0x20005
10 #define AL_AUXILIARY_SEND_FILTER 0x20006
11 #define AL_AIR_ABSORPTION_FACTOR 0x20007
12 #define AL_ROOM_ROLLOFF_FACTOR 0x20008
13 #define AL_CONE_OUTER_GAINHF 0x20009
14 #define AL_DIRECT_FILTER_GAINHF_AUTO 0x2000A
15 #define AL_AUXILIARY_SEND_FILTER_GAIN_AUTO 0x2000B
16 #define AL_AUXILIARY_SEND_FILTER_GAINHF_AUTO 0x2000C
22 typedef struct ALbufferlistitem
27 struct ALbufferlistitem
*next
;
30 typedef struct ALsource_struct
39 ALfloat flRefDistance
;
40 ALfloat flMaxDistance
;
41 ALfloat flRollOffFactor
;
44 ALfloat vOrientation
[3];
45 ALboolean bHeadRelative
;
54 ALuint position_fraction
;
55 struct ALbufferlistitem
*queue
; // Linked list of buffers in queue
56 ALuint BuffersInQueue
; // Number of buffers in queue
57 ALuint BuffersProcessed
; // Number of buffers already processed (played)
59 ALuint TotalBufferDataSize
; // Total amount of data contained in the buffers queued for this source
60 ALuint BuffersPlayed
; // Number of buffers played on this loop
61 ALuint BufferPosition
; // Read position in audio data of current buffer
63 ALfilter DirectFilter
;
65 ALfloat LastDrySample
;
66 ALfloat LastWetSample
;
68 ALboolean DryGainHFAuto
;
79 // Source Type (Static, Streaming, or Undetermined)
82 struct ALsource_struct
*next
;