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 --- Alc/panning.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Alc/panning.cpp') diff --git a/Alc/panning.cpp b/Alc/panning.cpp index a209c6cf..d1d40927 100644 --- a/Alc/panning.cpp +++ b/Alc/panning.cpp @@ -976,6 +976,6 @@ void aluInitEffectPanning(ALeffectslot *slot, ALCdevice *device) { return BFChannelConfig{1.0f, acn}; } ); std::fill(iter, slot->Wet.AmbiMap.end(), BFChannelConfig{}); - slot->Wet.Buffer = &reinterpret_cast(slot->MixBuffer[0]); + slot->Wet.Buffer = slot->MixBuffer.data(); slot->Wet.NumChannels = static_cast(count); } -- cgit v1.2.3