aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-05-29 23:41:09 -0700
committerChris Robinson <[email protected]>2019-05-29 23:41:09 -0700
commit153f133435fe46a94eb4d26c0483f4e6166fb896 (patch)
treeb85b61fc67380b5326db71ab73285228f249628a
parentdbdf516dbf628c65d4115a00c78f5679308a0573 (diff)
Try to fix "ambiguous" initializations with older compilers
-rw-r--r--Alc/effects/reverb.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Alc/effects/reverb.cpp b/Alc/effects/reverb.cpp
index d3a60b5e..5361a58f 100644
--- a/Alc/effects/reverb.cpp
+++ b/Alc/effects/reverb.cpp
@@ -371,9 +371,9 @@ struct ReverbState final : public EffectState {
ALsizei mOffset{0};
/* Temporary storage used when processing. */
- alignas(16) FloatBufferLine mTempSamples[NUM_LINES]{};
- alignas(16) FloatBufferLine mEarlyBuffer[NUM_LINES]{};
- alignas(16) FloatBufferLine mLateBuffer[NUM_LINES]{};
+ alignas(16) std::array<FloatBufferLine,NUM_LINES> mTempSamples{};
+ alignas(16) std::array<FloatBufferLine,NUM_LINES> mEarlyBuffer{};
+ alignas(16) std::array<FloatBufferLine,NUM_LINES> mLateBuffer{};
using MixOutT = void (ReverbState::*)(const al::span<FloatBufferLine> samplesOut,
const ALsizei todo);