//完善部分采样率,当然也可以自己算
const u16 I2S_PSC_TBL[][5]=
{
{600 ,369,6,20,0},//6Khz采样率
{800 ,256,5,12,1},//8Khz采样率
{1102,429,4,19,0},//11.025Khz采样率
{1600,213,2,13,0},//16Khz采样率
{2205,429,4, 9,1},//22.05Khz采样率
{2400,418,4, 8,1}, //24khz采样率
{3200,213,2, 6,1},//32Khz采样率
{4410,271,2, 6,0},//44.1Khz采样率
{4800,258,3, 3,1},//48Khz采样率
{6400,295,3, 3,0}, //64Khz采样率
{8820,271,2, 3,0}, //88.2Khz采样率
{9600,344,2, 3,1}, //96Khz采样率
{12800,394,3,2,0}, //128Khz采样率
{17640,361,2,2,0}, //176.4Khz采样率
{19200,393,2,2,0}, //192Khz采样率
}; |