diff options
author | Chris Robinson <[email protected]> | 2019-07-03 23:26:33 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2019-07-03 23:26:33 -0700 |
commit | 949507c891035a4b14d6c06ab5bee1f56e6c24cb (patch) | |
tree | ec553fdae3517954c080e9d820e7e182b1abc021 /OpenAL32 | |
parent | 9a51ca0a782764c97c5c393b799ff76b7b6fb75f (diff) |
Use a span for RealMixParams
Diffstat (limited to 'OpenAL32')
-rw-r--r-- | OpenAL32/Include/alMain.h | 3 |
1 files changed, 1 insertions, 2 deletions
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<ALint,MaxChannels> ChannelIndex{}; - FloatBufferLine *Buffer{nullptr}; - ALuint NumChannels{0u}; + al::span<FloatBufferLine> Buffer; }; using POSTPROCESS = void(*)(ALCdevice *device, const ALsizei SamplesToDo); |