aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/alAuxEffectSlot.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-07-04 15:02:12 -0700
committerChris Robinson <[email protected]>2019-07-04 15:02:12 -0700
commit3fe5ef272f436db82beeeee3ad123029e4d219b6 (patch)
treed7f79f3e99ec15bc8474050c922f227e888f24bd /OpenAL32/alAuxEffectSlot.cpp
parent729ffe02d6ab05dc8c62e8332ef1878bbfbdf756 (diff)
Use a span for MixParams
Diffstat (limited to 'OpenAL32/alAuxEffectSlot.cpp')
-rw-r--r--OpenAL32/alAuxEffectSlot.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenAL32/alAuxEffectSlot.cpp b/OpenAL32/alAuxEffectSlot.cpp
index 249f7cf3..55fbc622 100644
--- a/OpenAL32/alAuxEffectSlot.cpp
+++ b/OpenAL32/alAuxEffectSlot.cpp
@@ -643,7 +643,7 @@ ALenum InitializeEffect(ALCcontext *Context, ALeffectslot *EffectSlot, ALeffect
FPUCtl mixer_mode{};
ALCdevice *Device{Context->Device};
std::unique_lock<std::mutex> statelock{Device->StateLock};
- State->mOutTarget = {Device->Dry.Buffer, Device->Dry.NumChannels};
+ State->mOutTarget = Device->Dry.Buffer;
if(State->deviceUpdate(Device) == AL_FALSE)
{
statelock.unlock();