aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-11-30 21:23:43 -0800
committerChris Robinson <[email protected]>2018-11-30 21:23:43 -0800
commit1e6e84374b9928b614e7f36a26499d806f3c89cc (patch)
tree07bf7ef1fb385a7b4209aa6f2b04f4837bbd7e48 /OpenAL32
parentc7569c31ad4b731f1b6c86cbc1833f8b0af4bf82 (diff)
Use std::array for the voice's PrevSamples
Diffstat (limited to 'OpenAL32')
-rw-r--r--OpenAL32/Include/alu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenAL32/Include/alu.h b/OpenAL32/Include/alu.h
index 1fd092c3..5cf5f069 100644
--- a/OpenAL32/Include/alu.h
+++ b/OpenAL32/Include/alu.h
@@ -244,7 +244,7 @@ struct ALvoice {
ALuint Offset; /* Number of output samples mixed since starting. */
- alignas(16) ALfloat PrevSamples[MAX_INPUT_CHANNELS][MAX_RESAMPLE_PADDING];
+ alignas(16) std::array<std::array<ALfloat,MAX_RESAMPLE_PADDING>,MAX_INPUT_CHANNELS> PrevSamples;
InterpState ResampleState;