diff options
author | Chris Robinson <[email protected]> | 2018-12-20 13:26:39 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-12-20 13:26:39 -0800 |
commit | 7744e4ff72def926a26feca391170d25df39c469 (patch) | |
tree | c7e92ed0daab3bd55944d7042c43ae3f667d9b7b /Alc/panning.cpp | |
parent | 9fde260df9237cd99967a816332be31ce1524770 (diff) |
Pass RealMixParams by reference instead of pointer
Diffstat (limited to 'Alc/panning.cpp')
-rw-r--r-- | Alc/panning.cpp | 2 |
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; |