aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/effects/dedicated.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-07-03 23:26:33 -0700
committerChris Robinson <[email protected]>2019-07-03 23:26:33 -0700
commit949507c891035a4b14d6c06ab5bee1f56e6c24cb (patch)
treeec553fdae3517954c080e9d820e7e182b1abc021 /Alc/effects/dedicated.cpp
parent9a51ca0a782764c97c5c393b799ff76b7b6fb75f (diff)
Use a span for RealMixParams
Diffstat (limited to 'Alc/effects/dedicated.cpp')
-rw-r--r--Alc/effects/dedicated.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/effects/dedicated.cpp b/Alc/effects/dedicated.cpp
index eb4076b2..12040af9 100644
--- a/Alc/effects/dedicated.cpp
+++ b/Alc/effects/dedicated.cpp
@@ -62,7 +62,7 @@ void DedicatedState::update(const ALCcontext* UNUSED(context), const ALeffectslo
const int idx{!target.RealOut ? -1 : GetChannelIdxByName(*target.RealOut, LFE)};
if(idx != -1)
{
- mOutTarget = {target.RealOut->Buffer, target.RealOut->NumChannels};
+ mOutTarget = target.RealOut->Buffer;
mTargetGains[idx] = Gain;
}
}
@@ -73,7 +73,7 @@ void DedicatedState::update(const ALCcontext* UNUSED(context), const ALeffectslo
const int idx{!target.RealOut ? -1 : GetChannelIdxByName(*target.RealOut, FrontCenter)};
if(idx != -1)
{
- mOutTarget = {target.RealOut->Buffer, target.RealOut->NumChannels};
+ mOutTarget = target.RealOut->Buffer;
mTargetGains[idx] = Gain;
}
else