?? call.c
字號:
int ModuFlag; //接收10個OFDM符號
extern int DemoduFlag;
int DodecFlag = 0;
int DemoduNum;
extern int demodushift;
call()
{
/* transmition processing */
/* Firstly, encode the input speech. the input speech is *
* 8k sampled and should be stored in buffer3, Please use *
* a probe point and config the file I/O. The input data *
* should be with the format of 160samples/frame(50 frames/s)
*/
/* Initialize the speech encoder/decoder */
/* load(); add a probe point here */
/* Call the speech encoder */
codamr();
RS_OFDM_Mod();
if(DemoduFlag == 1) //接收數據足夠可以開始解調
{
RS_OFDM_Demod();
DodecFlag = 1;
demodushift = 0;
DemoduFlag = 0;
}
if(DodecFlag != 0)
{
Speech_Decode_Frame();
}
DemoduNum--;
if(DemoduNum != 0)
{
demodushift += 103;
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -