分支自 DSP/ADSP21569/DSP-21569

graydon
2024-02-28 420778fcee054257d540cf24fbf1b1e3f9fc0d9f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef CORE_CONFIG_H_
#define CORE_CONFIG_H_
 
#define SAMPLE_RATE 48000
extern unsigned int SAMPLE_NUM;
#define MP_OFFSET  0x28000000
#define SPI_BUFFER_SIZE (1024)
#define MAX_INPUT_NUM 192
#define MAX_OUTPUT_NUM 192
 
#define LEVEL_REPORT_TIME(x) \
        (x*SAMPLE_RATE/(1000*SAMPLE_NUM))
 
//#define DEBUG
#ifdef DEBUG
#define dbg_printf printf
#else
#define dbg_printf
#endif
 
#endif