Remove sine table lookup from proc_ook (#3201)

This commit is contained in:
Synray
2026-06-12 07:26:13 -07:00
committed by GitHub
parent e2586ceb22
commit a93f2ff583
3 changed files with 6 additions and 21 deletions
+2 -2
View File
@@ -23,9 +23,9 @@
#ifndef __SINE_TABLE_I8_H__
#define __SINE_TABLE_I8_H__
#include <cmath>
#include <cstdint>
static const int8_t sine_table_i8[256] = {
static constexpr int8_t sine_table_i8[256] = {
0, 2, 5, 8, 12, 15, 18, 21, 24, 27, 30, 33, 36, 39, 42, 45,
48, 51, 54, 57, 59, 62, 65, 67, 70, 73, 75, 78, 80, 83, 85, 87,
90, 92, 94, 96, 98, 100, 102, 104, 105, 107, 109, 110, 112, 113, 115, 116,