📄 amf_biquad_d.c
字号:
// Copyright(c) 2005 Analog Devices, Inc. All Rights Reserved.
// This software is proprietary and confidential to Analog Devices, Inc. and its licensors.
// File : $Id: //depot/development/visualaudio/modules/2.5.0/SHARC/Source/AMF_Biquad_D.c#3 $
// Part of : VisualAudio V2.5.0
// Updated : $Date: 2006/10/12 $ by $Author: Fernando $
#include "AMF_Biquad_D.h"
#include "VA_GeneralHelperFunctions.h"
void AMF_Biquad_D_Render(AMF_Biquad_D * restrict instance,float * restrict * buffers,int tickSize);
#if 0 // No example C
#endif
SEG_MOD_SLOW_CODE void AMF_Biquad_D_Bypass(AMF_Biquad_D * restrict instance,float * restrict * buffers,int tickSize)
{
int i,j;
float *in = buffers[0];
float *out = buffers[1];
for (i=0, j=0; i<tickSize; i++, j+=2)
out[j+1] = out[j] = in[i];
}
SEG_MOD_SLOW_CONST const AMF_ModuleClass AMFClassBiquad_D = {
/* Flags */
0,
/* Render function */
(AMF_RenderFunction)AMF_Biquad_D_Render, // render function
/* Bypass function */
(AMF_RenderFunction)AMF_Biquad_D_Bypass, // bypass function
/* Input descriptor - 1 input, and it is mono. */
1, 0,
/* Output descriptor - 1 output, and it is stereo. */
1, AMF_StereoPin(0)
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -