aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/panning.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/panning.cpp
parent9fde260df9237cd99967a816332be31ce1524770 (diff)
Pass RealMixParams by reference instead of pointer
Diffstat (limited to 'Alc/panning.cpp')
-rw-r--r--Alc/panning.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/panning.cpp b/Alc/panning.cpp
index d03977b8..783fe480 100644
--- a/Alc/panning.cpp
+++ b/Alc/panning.cpp
@@ -198,7 +198,7 @@ bool MakeSpeakerMap(ALCdevice *device, const AmbDecConf *conf, ALsizei (&speaker
return -1;
}
}
- const int chidx{GetChannelIdxByName(&device->RealOut, ch)};
+ const int chidx{GetChannelIdxByName(device->RealOut, ch)};
if(chidx == -1)
ERR("Failed to lookup AmbDec speaker label %s\n", speaker.Name.c_str());
return chidx;