aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-07-03 23:26:33 -0700
committerChris Robinson <[email protected]>2019-07-03 23:26:33 -0700
commit949507c891035a4b14d6c06ab5bee1f56e6c24cb (patch)
treeec553fdae3517954c080e9d820e7e182b1abc021 /OpenAL32/Include
parent9a51ca0a782764c97c5c393b799ff76b7b6fb75f (diff)
Use a span for RealMixParams
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r--OpenAL32/Include/alMain.h3
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);