blockprocess.c
来自「ADI 公司的DSP ADSP21262 EZ-KIT LITE开发板的全部源代」· C语言 代码 · 共 24 行
C
24 行
#include "tt.h"
// Place the audio processing algorith here. The input and output are given
// as unsigned integer pointers.
void processBlock(unsigned int *block_ptr)
{
int i;
float temp_out;
//Clear the Block Ready Semaphore
blockReady = 0;
//Set the Processing Active Semaphore before starting processing
isProcessing = 1;
for(i=0;i<NUM_SAMPLES;i++)
{
*(block_ptr+i) = *(block_ptr+i);
}
//Clear the Processing Active Semaphore after processing is complete
isProcessing = 0;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?