aboutsummaryrefslogtreecommitdiffstats
path: root/alc/alu.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-08-26 09:16:20 -0700
committerChris Robinson <[email protected]>2019-08-26 09:16:20 -0700
commit7dbf69afa270417c28605a265cc2ec0a7c4fc939 (patch)
treeff6af7e2f556ecace074ef1ee968f088b5de2094 /alc/alu.cpp
parent12e6dc0cced98d8d4379dbdaa922381920d32df2 (diff)
Use a span for effect state input
Diffstat (limited to 'alc/alu.cpp')
-rw-r--r--alc/alu.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/alc/alu.cpp b/alc/alu.cpp
index ba42c21f..7f3f286b 100644
--- a/alc/alu.cpp
+++ b/alc/alu.cpp
@@ -1416,8 +1416,7 @@ void ProcessContext(ALCcontext *ctx, const ALuint SamplesToDo)
[SamplesToDo](const ALeffectslot *slot) -> void
{
EffectState *state{slot->Params.mEffectState};
- state->process(SamplesToDo, slot->Wet.Buffer.data(),
- static_cast<ALsizei>(slot->Wet.Buffer.size()), state->mOutTarget);
+ state->process(SamplesToDo, slot->Wet.Buffer, state->mOutTarget);
}
);
}