⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 call.c

📁 基于TMS320F2812的AMR+RS编解码+OFDM调制解调源程序。是stand alone运行版本
💻 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 + -