📄 amf_fir.h
字号:
#ifndef _AMF_FIR_
#define _AMF_FIR_
// 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/Include/AMF_FIR.h#3 $
// Part of : VisualAudio V2.5.0
// Updated : $Date: 2006/10/12 $ by $Author: Fernando $
#include "AudioProcessing.h"
#ifdef __ECC__
// C declarations
typedef struct {
AMF_Module b;
// Parameters:
int filterSize;
float *coefs;
// State:
float pm *stateBuffer; // length: filterSize+2 (to get around a problem between SIMD and circular buffers)
float pm *statePtr; // where the state delayline write ptr ended up after last tick
} AMF_FIR;
extern const AMF_ModuleClass AMFClassFIR;
#else
// ASM declarations for offsets from start of instance (must be kept in synch with C version)
#define AMF_FIR_FilterSize AMF_Module_SIZE // defined in AudioProcessing.h
#define AMF_FIR_Coefs (AMF_Module_SIZE+1)
#define AMF_FIR_StateBuffer (AMF_Module_SIZE+2)
#define AMF_FIR_StatePtr (AMF_Module_SIZE+3)
#endif
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -