aboutsummaryrefslogtreecommitdiffstats
path: root/alc/alu.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2023-02-10 01:57:54 -0800
committerChris Robinson <[email protected]>2023-02-10 01:57:54 -0800
commiteb5e48f133de94e706f67c7d5388e5c45b43f338 (patch)
tree3cd6d6d13ba631ccfb4f99e723640f7194229aa0 /alc/alu.cpp
parent1564cfe48f681a75521b32dc908773caf4e8b79b (diff)
Use a span to hold the cubic table reference
Diffstat (limited to 'alc/alu.cpp')
-rw-r--r--alc/alu.cpp2
1 files changed, 1 insertions, 1 deletions
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: