📄 amf_volumecontrol.h
字号:
#ifndef _AMF_VOLUMECONTROL_
#define _AMF_VOLUMECONTROL_
// 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_VolumeControl.h#3 $
// Part of : VisualAudio V2.5.0
// Updated : $Date: 2007-09-06 12:14:49 +0530 (Thu, 06 Sep 2007) $ by $Author: kdasari2 $
#include "AudioProcessing.h"
#ifdef __ECC__
// C declarations
typedef struct {
AMF_Module b;
// Parameters:
float coefsSmoothing;
/*
coef layout:
d1 (1st-delayed denominator coef)
d2 (2nd-delayed denominator coef)
n0 (non-delayed numerator coef)
n1 (1st-delayed numerator coef) = d1(for peaking)
n2 (2nd-delayed numerator coef)
*/
float *coefsTarget_low;
float *coefsTarget_high;
// State:
float pm *coefs_low;
float pm *coefs_high;
float state_low[2], state_high[2];
} AMF_VolumeControl;
extern const AMF_ModuleClass AMFClassVolumeControl;
#else
//#define AMF_Module_SIZE 0 // remove this on including audioprocessing.h
// ASM declarations for offsets from start of instance (must be kept in sync with C version)
#define AMF_VolumeControl_coefsSmoothing AMF_Module_SIZE // defined in AudioProcessing.h
#define AMF_VolumeControl_coefsTarget_low (AMF_Module_SIZE+1)
#define AMF_VolumeControl_coefsTarget_high (AMF_Module_SIZE+2)
#define AMF_VolumeControl_coefs_low (AMF_Module_SIZE+3)
#define AMF_VolumeControl_coefs_high (AMF_Module_SIZE+4)
#define AMF_VolumeControl_state_low (AMF_Module_SIZE+5)
#define AMF_VolumeControl_state_high (AMF_Module_SIZE+7)
#endif
#endif //_AMF_VOLUMECONTROL_
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -