CI13LC SDK API手册  2.1.1
本手册用于描述CI13LC SDK各个组件和驱动API
变量
mp3tabs.c 文件参考
#include "mp3common.h"
#include <stdint.h>

变量

_DIF_ const int samplerateTab [3][3]
 
_DIF_ _DIF_ const short bitrateTab [3][3][15]
 
_DIF_ const short samplesPerFrameTab [3][3]
 
_DIF_ const short bitsPerSlotTab [3] = {32, 8, 8}
 
_DIF_ const short sideBytesTab [3][2]
 
_DIF_ const short slotTab [3][3][15]
 
_DIF_ const SFBandTable sfBandTable [3][3]
 

变量说明

◆ bitrateTab

_DIF_ _DIF_ const short bitrateTab[3][3][15]
初始值:
= {
{
{ 0, 32, 64, 96,128,160,192,224,256,288,320,352,384,416,448},
{ 0, 32, 48, 56, 64, 80, 96,112,128,160,192,224,256,320,384},
{ 0, 32, 40, 48, 56, 64, 80, 96,112,128,160,192,224,256,320},
},
{
{ 0, 32, 48, 56, 64, 80, 96,112,128,144,160,176,192,224,256},
{ 0, 8, 16, 24, 32, 40, 48, 56, 64, 80, 96,112,128,144,160},
{ 0, 8, 16, 24, 32, 40, 48, 56, 64, 80, 96,112,128,144,160},
},
{
{ 0, 32, 48, 56, 64, 80, 96,112,128,144,160,176,192,224,256},
{ 0, 8, 16, 24, 32, 40, 48, 56, 64, 80, 96,112,128,144,160},
{ 0, 8, 16, 24, 32, 40, 48, 56, 64, 80, 96,112,128,144,160},
},
}

◆ bitsPerSlotTab

_DIF_ const short bitsPerSlotTab[3] = {32, 8, 8}

◆ samplerateTab

_DIF_ const int samplerateTab[3][3]
初始值:
= {
{44100, 48000, 32000},
{22050, 24000, 16000},
{11025, 12000, 8000},
}

◆ samplesPerFrameTab

_DIF_ const short samplesPerFrameTab[3][3]
初始值:
= {
{384, 1152, 1152 },
{384, 1152, 576 },
{384, 1152, 576 },
}

◆ sfBandTable

_DIF_ const SFBandTable sfBandTable[3][3]

◆ sideBytesTab

_DIF_ const short sideBytesTab[3][2]
初始值:
= {
{17, 32},
{ 9, 17},
{ 9, 17},
}

◆ slotTab

_DIF_ const short slotTab[3][3][15]
初始值:
= {
{
{ 0, 104, 130, 156, 182, 208, 261, 313, 365, 417, 522, 626, 731, 835,1044 },
{ 0, 96, 120, 144, 168, 192, 240, 288, 336, 384, 480, 576, 672, 768, 960 },
{ 0, 144, 180, 216, 252, 288, 360, 432, 504, 576, 720, 864,1008,1152,1440 },
},
{
{ 0, 26, 52, 78, 104, 130, 156, 182, 208, 261, 313, 365, 417, 470, 522 },
{ 0, 24, 48, 72, 96, 120, 144, 168, 192, 240, 288, 336, 384, 432, 480 },
{ 0, 36, 72, 108, 144, 180, 216, 252, 288, 360, 432, 504, 576, 648, 720 },
},
{
{ 0, 52, 104, 156, 208, 261, 313, 365, 417, 522, 626, 731, 835, 940,1044 },
{ 0, 48, 96, 144, 192, 240, 288, 336, 384, 480, 576, 672, 768, 864, 960 },
{ 0, 72, 144, 216, 288, 360, 432, 504, 576, 720, 864,1008,1152,1296,1440 },
},
}