diff options
author | Chris Robinson <[email protected]> | 2019-07-04 15:02:12 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2019-07-04 15:02:12 -0700 |
commit | 3fe5ef272f436db82beeeee3ad123029e4d219b6 (patch) | |
tree | d7f79f3e99ec15bc8474050c922f227e888f24bd /OpenAL32/alAuxEffectSlot.cpp | |
parent | 729ffe02d6ab05dc8c62e8332ef1878bbfbdf756 (diff) |
Use a span for MixParams
Diffstat (limited to 'OpenAL32/alAuxEffectSlot.cpp')
-rw-r--r-- | OpenAL32/alAuxEffectSlot.cpp | 2 |
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(); |