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

📄 amf_biquadcascadesmoothed_d.c

📁 ADI SHARC DSP 音频算法标准模块库
💻 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_BiquadCascadeSmoothed_D.c#3 $ 
// Part of : VisualAudio V2.5.0 
// Updated : $Date: 2006/10/12 $ by $Author: Fernando $




#include "AMF_BiquadCascadeSmoothed_D.h"
#include "VA_GeneralHelperFunctions.h"

void AMF_BiquadCascadeSmoothed_D_Render(AMF_BiquadCascadeSmoothed_D * restrict instance,float * restrict * buffers,int tickSize);

#if 0        // No example C

#endif

SEG_MOD_SLOW_CODE void AMF_BiquadCascadeSmoothed_D_Bypass(AMF_BiquadCascadeSmoothed_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 AMFClassBiquadCascadeSmoothed_D = {
    
    /* Flags */
    0,
     
    /* Render function */
    (AMF_RenderFunction)AMF_BiquadCascadeSmoothed_D_Render,  // render function 
    
    /* Bypass function */
    (AMF_RenderFunction)AMF_BiquadCascadeSmoothed_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 + -