diff options
author | Chris Robinson <[email protected]> | 2022-07-26 02:21:47 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2022-07-26 02:21:47 -0700 |
commit | f35eb64619ae91cd786380660e3d90da18f557fb (patch) | |
tree | d289d4b2e2dae4a04a99d21268f90781f087594f /alc/effects/equalizer.cpp | |
parent | fdc0132f444f8a9e6cf17c0a3c1bddeddb74aa4d (diff) |
Ensure some mixing buffers are aligned for SIMD
Diffstat (limited to 'alc/effects/equalizer.cpp')
-rw-r--r-- | alc/effects/equalizer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alc/effects/equalizer.cpp b/alc/effects/equalizer.cpp index 67ad67b0..202c191b 100644 --- a/alc/effects/equalizer.cpp +++ b/alc/effects/equalizer.cpp @@ -95,7 +95,7 @@ struct EqualizerState final : public EffectState { float TargetGains[MAX_OUTPUT_CHANNELS]{}; } mChans[MaxAmbiChannels]; - FloatBufferLine mSampleBuffer{}; + alignas(16) FloatBufferLine mSampleBuffer{}; void deviceUpdate(const DeviceBase *device, const Buffer &buffer) override; |