Properly update the Super Stereo width

Previously it would just keep using the set target, instead of tracking and
interpolating changes.
master
Chris Robinson 2022-07-07 02:01:20 -07:00
parent e2f5ceba7b
commit 43b0afdab4
1 changed files with 1 additions and 0 deletions

View File

@ -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
{