diff options
Diffstat (limited to 'Alc/effects')
-rw-r--r-- | Alc/effects/dedicated.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/effects/dedicated.cpp b/Alc/effects/dedicated.cpp index 491b57ec..c0af33e1 100644 --- a/Alc/effects/dedicated.cpp +++ b/Alc/effects/dedicated.cpp @@ -60,7 +60,7 @@ void ALdedicatedState::update(const ALCcontext *context, const ALeffectslot *slo if(slot->Params.EffectType == AL_EFFECT_DEDICATED_LOW_FREQUENCY_EFFECT) { int idx; - if((idx=GetChannelIdxByName(&device->RealOut, LFE)) != -1) + if((idx=GetChannelIdxByName(device->RealOut, LFE)) != -1) { mOutBuffer = device->RealOut.Buffer; mOutChannels = device->RealOut.NumChannels; @@ -71,7 +71,7 @@ void ALdedicatedState::update(const ALCcontext *context, const ALeffectslot *slo { /* Dialog goes to the front-center speaker if it exists, otherwise it * plays from the front-center location. */ - int idx{GetChannelIdxByName(&device->RealOut, FrontCenter)}; + int idx{GetChannelIdxByName(device->RealOut, FrontCenter)}; if(idx != -1) { mOutBuffer = device->RealOut.Buffer; |