From dd3f03c1485064a58c1a1de72b4b17c20cb94750 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Tue, 9 Aug 2022 22:19:11 -0700 Subject: Move a member variable to the struct it's needed --- core/uhjfilter.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/uhjfilter.h b/core/uhjfilter.h index d1e0a5eb..c6ec3363 100644 --- a/core/uhjfilter.h +++ b/core/uhjfilter.h @@ -70,8 +70,6 @@ struct DecoderBase { * calls to decode, with valid values being between 0...0.7. */ float mWidthControl{0.593f}; - - float mCurrentWidth{-1.0f}; }; template @@ -109,6 +107,8 @@ template struct UhjStereoDecoder final : public DecoderBase { static constexpr size_t sFilterDelay{N/2}; + float mCurrentWidth{-1.0f}; + alignas(16) std::array mS{}; alignas(16) std::array mD{}; -- cgit v1.2.3