aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2022-07-07 02:01:20 -0700
committerChris Robinson <[email protected]>2022-07-07 02:01:20 -0700
commit43b0afdab4b4024001f8f7eb04aebf29bd72793e (patch)
treebc219d56818ac3907dccf11593f12e3498f881ae /core
parente2f5ceba7b3cbf40662576e6a49c219faf8097e0 (diff)
Properly update the Super Stereo width
Previously it would just keep using the set target, instead of tracking and interpolating changes.
Diffstat (limited to 'core')
-rw-r--r--core/uhjfilter.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/uhjfilter.cpp b/core/uhjfilter.cpp
index 6cdc2944..52e7f964 100644
--- a/core/uhjfilter.cpp
+++ b/core/uhjfilter.cpp
@@ -195,6 +195,7 @@ void UhjStereoDecoder::decode(const al::span<float*> samples, const size_t sampl
{
for(size_t i{0};i < samplesToDo+sFilterDelay;++i)
mD[i] = (left[i] - right[i]) * wcurrent;
+ mCurrentWidth = wcurrent;
}
else
{