diff options
Diffstat (limited to 'native-tools/bsincgen.c')
-rw-r--r-- | native-tools/bsincgen.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/native-tools/bsincgen.c b/native-tools/bsincgen.c index 4e85135b..89f9f378 100644 --- a/native-tools/bsincgen.c +++ b/native-tools/bsincgen.c @@ -261,7 +261,7 @@ static void BsiGenerateTables(FILE *output, const char *tabname, const double re " * width) suffers to reduce the CPU cost. The bandlimiting will cut all sound\n"
" * after downsampling by ~%.2f octaves.\n"
" */\n"
-"alignas(16) constexpr float %s_tab[%d] = {\n",
+"alignas(16) static constexpr float %s_tab[%d] = {\n",
order, (((order%100)/10) == 1) ? "th" :
((order%10) == 1) ? "st" :
((order%10) == 2) ? "nd" :
@@ -290,7 +290,7 @@ static void BsiGenerateTables(FILE *output, const char *tabname, const double re fprintf(output, "\n");
}
}
- fprintf(output, "};\nconstexpr BSincTable %s = {\n", tabname);
+ fprintf(output, "};\nconst BSincTable %s = {\n", tabname);
/* The scaleBase is calculated from the Kaiser window transition width.
It represents the absolute limit to the filter before it fully cuts
|