From c80ee5b7014d12675e2c615574c9f3f3354ffd1b Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Tue, 28 May 2019 16:22:36 -0700 Subject: Use std::array for most mixing buffer arrays --- OpenAL32/Include/alu.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'OpenAL32/Include/alu.h') diff --git a/OpenAL32/Include/alu.h b/OpenAL32/Include/alu.h index 642aeddc..327adfc0 100644 --- a/OpenAL32/Include/alu.h +++ b/OpenAL32/Include/alu.h @@ -263,7 +263,7 @@ struct ALvoice { int FilterType; DirectParams Params[MAX_INPUT_CHANNELS]; - ALfloat (*Buffer)[BUFFERSIZE]; + FloatBufferLine *Buffer; ALsizei Channels; ALsizei ChannelsPerOrder[MAX_AMBI_ORDER+1]; } mDirect; @@ -272,7 +272,7 @@ struct ALvoice { int FilterType; SendParams Params[MAX_INPUT_CHANNELS]; - ALfloat (*Buffer)[BUFFERSIZE]; + FloatBufferLine *Buffer; ALsizei Channels; }; al::FlexArray mSend; -- cgit v1.2.3