mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2026-09-10 08:39:29 +00:00
Remove sine table lookup from proc_ook (#3201)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user