diff options
Diffstat (limited to 'Alc/effects')
-rw-r--r-- | Alc/effects/dedicated.cpp | 4 |
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 |