aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2021-03-15 22:11:35 -0700
committerChris Robinson <[email protected]>2021-03-15 22:11:35 -0700
commite5833a9a68c9e06b2dfd8c8d9beeb27c9a4e1b30 (patch)
treefd93b90e203c056fb907e62bb10bba60b51946d8
parentc1f0555fef488df0085961710320051c650beecd (diff)
Fix UHJ FIR filter alignment
-rw-r--r--core/uhjfilter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/uhjfilter.h b/core/uhjfilter.h
index 7cd797d9..7609533b 100644
--- a/core/uhjfilter.h
+++ b/core/uhjfilter.h
@@ -22,7 +22,7 @@ struct Uhj2Encoder {
alignas(16) std::array<float,BufferLineSize+sFilterSize> mSide{};
/* History for the FIR filter. */
- alignas(16) std::array<float,sFilterSize*2 - 1> mSideHistory{};
+ alignas(16) std::array<float,sFilterSize*2> mSideHistory{};
alignas(16) std::array<float,BufferLineSize + sFilterSize*2> mTemp{};