#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