aboutsummaryrefslogtreecommitdiffstats
path: root/src/apu.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/apu.c')
-rw-r--r--src/apu.c3
1 files changed, 2 insertions, 1 deletions
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.
17// the pitch table is multiplied by the sampling rate of the original sample, 17// the pitch table is multiplied by the sampling rate of the original sample,
18// the resulting value will be the increment per VSYNC, which must be shifted 18// the resulting value will be the increment per VSYNC, which must be shifted
19// AUDIO_INC_PRECISION to obtain a (20.12) fixed-point increment value. 19// AUDIO_INC_PRECISION to obtain a (20.12) fixed-point increment value.
20//
20#if defined(AUDIO_HIFI) 21#if defined(AUDIO_HIFI)
21#define AUDIO_FREQ 40137 22#define AUDIO_FREQ 40137
22#define AUDIO_BUF_LEN 672 23#define AUDIO_BUF_LEN 672
@@ -44,7 +45,7 @@ static u16 pitch_table[120] = {
44#define AUDIO_BUF_LEN 96 45#define AUDIO_BUF_LEN 96
45#define AUDIO_TIMER 62610 46#define AUDIO_TIMER 62610
46#define AUDIO_INC_PRECISION 4 47#define AUDIO_INC_PRECISION 4
47static u16 pitch_table[120] = { 48static u32 pitch_table[120] = {
48 93, 98, 104, 111, 117, 124, 132, 139, 49 93, 98, 104, 111, 117, 124, 132, 139,
49 148, 157, 166, 176, 186, 197, 209, 222, 50 148, 157, 166, 176, 186, 197, 209, 222,
50 235, 249, 264, 279, 296, 314, 332, 352, 51 235, 249, 264, 279, 296, 314, 332, 352,