From 949507c891035a4b14d6c06ab5bee1f56e6c24cb Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Wed, 3 Jul 2019 23:26:33 -0700 Subject: Use a span for RealMixParams --- OpenAL32/Include/alMain.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'OpenAL32/Include') diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index 3008aeca..d7c22546 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -317,8 +317,7 @@ struct MixParams { struct RealMixParams { std::array ChannelIndex{}; - FloatBufferLine *Buffer{nullptr}; - ALuint NumChannels{0u}; + al::span Buffer; }; using POSTPROCESS = void(*)(ALCdevice *device, const ALsizei SamplesToDo); -- cgit v1.2.3