aboutsummaryrefslogtreecommitdiffstats
path: root/alc/effects/distortion.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2022-07-26 02:21:47 -0700
committerChris Robinson <[email protected]>2022-07-26 02:21:47 -0700
commitf35eb64619ae91cd786380660e3d90da18f557fb (patch)
treed289d4b2e2dae4a04a99d21268f90781f087594f /alc/effects/distortion.cpp
parentfdc0132f444f8a9e6cf17c0a3c1bddeddb74aa4d (diff)
Ensure some mixing buffers are aligned for SIMD
Diffstat (limited to 'alc/effects/distortion.cpp')
-rw-r--r--alc/effects/distortion.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/alc/effects/distortion.cpp b/alc/effects/distortion.cpp
index 74cffd4a..ed21ef34 100644
--- a/alc/effects/distortion.cpp
+++ b/alc/effects/distortion.cpp
@@ -53,7 +53,7 @@ struct DistortionState final : public EffectState {
float mAttenuation{};
float mEdgeCoeff{};
- float mBuffer[2][BufferLineSize]{};
+ alignas(16) float mBuffer[2][BufferLineSize]{};
void deviceUpdate(const DeviceBase *device, const Buffer &buffer) override;