From 9c61e2e75220439e917fa5fba9d59014a2a5c43a Mon Sep 17 00:00:00 2001 From: Bad Diode Date: Fri, 28 May 2021 21:29:04 +0200 Subject: Update README --- src/apu.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/apu.c') diff --git a/src/apu.c b/src/apu.c index eb898c1..d107e1e 100644 --- a/src/apu.c +++ b/src/apu.c @@ -17,6 +17,7 @@ WITH REGARD TO THIS SOFTWARE. // the pitch table is multiplied by the sampling rate of the original sample, // the resulting value will be the increment per VSYNC, which must be shifted // AUDIO_INC_PRECISION to obtain a (20.12) fixed-point increment value. +// #if defined(AUDIO_HIFI) #define AUDIO_FREQ 40137 #define AUDIO_BUF_LEN 672 @@ -44,7 +45,7 @@ static u16 pitch_table[120] = { #define AUDIO_BUF_LEN 96 #define AUDIO_TIMER 62610 #define AUDIO_INC_PRECISION 4 -static u16 pitch_table[120] = { +static u32 pitch_table[120] = { 93, 98, 104, 111, 117, 124, 132, 139, 148, 157, 166, 176, 186, 197, 209, 222, 235, 249, 264, 279, 296, 314, 332, 352, -- cgit v1.2.1