From 87479b4b3207a0600586c919c03b5cee7af5154e Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sat, 9 Mar 2019 18:34:00 -0800 Subject: Play dummy samples and force a fade out on stopping voices --- OpenAL32/Include/alu.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'OpenAL32/Include/alu.h') diff --git a/OpenAL32/Include/alu.h b/OpenAL32/Include/alu.h index fbf21c47..90b6873a 100644 --- a/OpenAL32/Include/alu.h +++ b/OpenAL32/Include/alu.h @@ -252,7 +252,8 @@ struct ALvoice { ALuint Offset; /* Number of output samples mixed since starting. */ - alignas(16) std::array,MAX_INPUT_CHANNELS> PrevSamples; + using ResamplePaddingArray = std::array; + alignas(16) std::array PrevSamples; InterpState ResampleState; -- cgit v1.2.3