61 state->gains[s] = 0.0f;
66 state->gains[
LFE] = Gain;
72 const ALfloat *gains = state->gains;
77 for(i = 0;i < SamplesToDo;i++)
78 SamplesOut[c][i] = SamplesIn[i] * gains[c];
87 state =
malloc(
sizeof(*state));
97 state->gains[s] = 0.0f;
static ALvoid DedicatedDestroy(ALeffectState *effect)
GLvoid **typedef void(GLAPIENTRY *PFNGLGETVERTEXATTRIBDVPROC)(GLuint
struct ALdedicatedState ALdedicatedState
static ALboolean DedicatedDeviceUpdate(ALeffectState *effect, ALCdevice *Device)
#define AL_EFFECT_DEDICATED_DIALOGUE
ALvoid ComputeAngleGains(const ALCdevice *device, ALfloat angle, ALfloat hwidth, ALfloat ingain, ALfloat *gains)
static ALvoid DedicatedUpdate(ALeffectState *effect, ALCdevice *device, const ALeffectslot *Slot)
static ALvoid DedicatedProcess(ALeffectState *effect, ALuint SamplesToDo, const ALfloat *RESTRICT SamplesIn, ALfloat(*RESTRICT SamplesOut)[BUFFERSIZE])
ALeffectState * DedicatedCreate(void)
struct ALeffect::@55 Dedicated
#define AL_EFFECT_DEDICATED_LOW_FREQUENCY_EFFECT