From eb5e48f133de94e706f67c7d5388e5c45b43f338 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Fri, 10 Feb 2023 01:57:54 -0800 Subject: Use a span to hold the cubic table reference --- alc/alu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'alc/alu.cpp') diff --git a/alc/alu.cpp b/alc/alu.cpp index c0b7cc2f..2fe87ab6 100644 --- a/alc/alu.cpp +++ b/alc/alu.cpp @@ -273,7 +273,7 @@ ResamplerFunc PrepareResampler(Resampler resampler, uint increment, InterpState case Resampler::Linear: break; case Resampler::Cubic: - state->cubic.filter = gCubicSpline.Tab; + state->cubic.filter = gCubicSpline.Tab.data(); break; case Resampler::FastBSinc12: case Resampler::BSinc12: -- cgit v1.2.3