From 8853519d896f11b678873f0afacac16b3cdebc27 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Wed, 1 Apr 2020 23:17:46 -0700 Subject: Generate the bsinc tables using constexpr methods All the methods used should be compliant with C++14 constexpr rules. However, the number of scales and phases cause GenerateBSincCoeffs to reach the allowed step limit, preventing full compile-time generation. It's not a terribly big deal, it'll generate them very quickly when loading, but it does prevent using shared read-only memory pages. --- alc/mixer/mixer_c.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'alc/mixer/mixer_c.cpp') diff --git a/alc/mixer/mixer_c.cpp b/alc/mixer/mixer_c.cpp index c086dd8d..6b68d821 100644 --- a/alc/mixer/mixer_c.cpp +++ b/alc/mixer/mixer_c.cpp @@ -6,7 +6,7 @@ #include "alcmain.h" #include "alu.h" - +#include "bsinc_defs.h" #include "defs.h" #include "hrtfbase.h" -- cgit v1.2.3