diff options
Diffstat (limited to 'Alc/alcDedicated.c')
-rw-r--r-- | Alc/alcDedicated.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/alcDedicated.c b/Alc/alcDedicated.c index 4ffc6534..f6fd0f2d 100644 --- a/Alc/alcDedicated.c +++ b/Alc/alcDedicated.c @@ -62,7 +62,7 @@ static ALvoid DedicatedDLGUpdate(ALeffectState *effect, ALCcontext *Context, con SpeakerGain = &device->PanningLUT[MAXCHANNELS * pos]; for(s = 0;s < MAXCHANNELS;s++) - state->gains[s] = SpeakerGain[s] * Effect->Dedicated.Gain; + state->gains[s] = SpeakerGain[s] * Effect->Params.Dedicated.Gain; } static ALvoid DedicatedLFEUpdate(ALeffectState *effect, ALCcontext *Context, const ALeffect *Effect) @@ -73,7 +73,7 @@ static ALvoid DedicatedLFEUpdate(ALeffectState *effect, ALCcontext *Context, con for(s = 0;s < MAXCHANNELS;s++) state->gains[s] = 0.0f; - state->gains[LFE] = Effect->Dedicated.Gain; + state->gains[LFE] = Effect->Params.Dedicated.Gain; } static ALvoid DedicatedProcess(ALeffectState *effect, const ALeffectslot *Slot, ALuint SamplesToDo, const ALfloat *SamplesIn, ALfloat (*SamplesOut)[MAXCHANNELS]) |