AnalogTapeModel

Physical modelling signal processing for analog tape recording
Log | Files | Refs | Submodules | README | LICENSE

commit 909a07963af9cd96b398c66e5b5bc53ba748a920
parent 73eea13c4eb3722698eec8a94bce4ea5874fef41
Author: jatinchowdhury18 <[email protected]>
Date:   Tue, 14 Sep 2021 10:32:13 -0700

Fix array alignment for STN processing

Diffstat:
MPlugin/Source/Processors/Hysteresis/HysteresisProcessing.h | 10+++++-----
1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/Plugin/Source/Processors/Hysteresis/HysteresisProcessing.h b/Plugin/Source/Processors/Hysteresis/HysteresisProcessing.h @@ -131,11 +131,11 @@ private: inline Float STNSolver (Float H, Float H_d) noexcept { #if HYSTERESIS_USE_SIMD - double H_arr[2]; - double H_d_arr[2]; - double H_n1_arr[2]; - double H_d_n1_arr[2]; - double M_n1_arr[2]; + double H_arr alignas (16)[2]; + double H_d_arr alignas (16)[2]; + double H_n1_arr alignas (16)[2]; + double H_d_n1_arr alignas (16)[2]; + double M_n1_arr alignas (16)[2]; double M_out alignas (16)[2]; H.copyToRawArray (H_arr);