diff options
author | Chris Robinson <[email protected]> | 2022-08-09 22:19:11 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2022-08-09 22:19:11 -0700 |
commit | dd3f03c1485064a58c1a1de72b4b17c20cb94750 (patch) | |
tree | 2b4fe119f5404be54131585191000c04fc6f3a74 /core | |
parent | 63a82feae61b27db769ae17ea52df87c4bddbd4c (diff) |
Move a member variable to the struct it's needed
Diffstat (limited to 'core')
-rw-r--r-- | core/uhjfilter.h | 4 |
1 files 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<size_t N> @@ -109,6 +107,8 @@ template<size_t N> struct UhjStereoDecoder final : public DecoderBase { static constexpr size_t sFilterDelay{N/2}; + float mCurrentWidth{-1.0f}; + alignas(16) std::array<float,BufferLineSize+MaxResamplerEdge+sFilterDelay> mS{}; alignas(16) std::array<float,BufferLineSize+MaxResamplerEdge+sFilterDelay> mD{}; |