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 /OpenAL32 | |
parent | 9fde260df9237cd99967a816332be31ce1524770 (diff) |
Pass RealMixParams by reference instead of pointer
Diffstat (limited to 'OpenAL32')
-rw-r--r-- | OpenAL32/Include/alMain.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index a2666435..daafaad1 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -906,8 +906,8 @@ inline ALint GetChannelIndex(const Channel (&names)[MAX_OUTPUT_CHANNELS], Channe * Returns the index for the given channel name (e.g. FrontCenter), or -1 if it * doesn't exist. */ -inline ALint GetChannelIdxByName(const RealMixParams *real, enum Channel chan) -{ return GetChannelIndex(real->ChannelName, chan); } +inline ALint GetChannelIdxByName(const RealMixParams &real, Channel chan) +{ return GetChannelIndex(real.ChannelName, chan); } void StartEventThrd(ALCcontext *ctx); |