分支自 DSP/ADSP21569/DSP-21569

wanglei
2024-04-07 cc0cf0e2c92b0fc690a75979fe49d1729b5798b7
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