aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/effects/dedicated.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-12-20 13:26:39 -0800
committerChris Robinson <[email protected]>2018-12-20 13:26:39 -0800
commit7744e4ff72def926a26feca391170d25df39c469 (patch)
treec7e92ed0daab3bd55944d7042c43ae3f667d9b7b /Alc/effects/dedicated.cpp
parent9fde260df9237cd99967a816332be31ce1524770 (diff)
Pass RealMixParams by reference instead of pointer
Diffstat (limited to 'Alc/effects/dedicated.cpp')
-rw-r--r--Alc/effects/dedicated.cpp4
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;