diff options
author | Chris Robinson <[email protected]> | 2018-11-30 21:23:43 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-11-30 21:23:43 -0800 |
commit | 1e6e84374b9928b614e7f36a26499d806f3c89cc (patch) | |
tree | 07bf7ef1fb385a7b4209aa6f2b04f4837bbd7e48 /OpenAL32/Include/alu.h | |
parent | c7569c31ad4b731f1b6c86cbc1833f8b0af4bf82 (diff) |
Use std::array for the voice's PrevSamples
Diffstat (limited to 'OpenAL32/Include/alu.h')
-rw-r--r-- | OpenAL32/Include/alu.h | 2 |
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; |