cfg_i2s.h
Go to the documentation of this file.
00001
00040 #ifndef CFG_I2S_H
00041 #define CFG_I2S_H
00042 
00049 #define I2S_LOG_LEVEL      LOG_LVL_INFO
00050 
00057 #define I2S_LOG_FORMAT     LOG_FMT_TERSE
00058 
00064 #define CONFIG_PLAY_BUF_LEN    8192
00065 
00073 #define CONFIG_SAMPLE_FREQ     44800UL
00074 
00082 #define CONFIG_WORD_BIT_SIZE               16
00083 
00089 #define CONFIG_CHANNEL_NUM                  2
00090 
00098 #define CONFIG_DELAY                        0
00099 
00107 #define CONFIG_PERIOD                      15
00108 
00116 #define CONFIG_WORD_PER_FRAME               1
00117 
00125 #define CONFIG_FRAME_SYNC_SIZE             15
00126 
00127
00135 #define CONFIG_EXTRA_FRAME_SYNC_SIZE       0
00136 
00137 #endif /* CFG_I2S_H */