amf_tonecontroltreble.h
来自「ADI SHARC DSP 音频算法标准模块库」· C头文件 代码 · 共 52 行
H
52 行
#ifndef _AMF_TONECONTROLTREBLE_
#define _AMF_TONECONTROLTREBLE_
// 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_ToneControlTreble.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:
float ampSmoothing, ampTarget, b0;
// State:
float amp, state;
} AMF_ToneControlTreble;
extern const AMF_ModuleClass AMFClassToneControlTreble;
// AMF_BassToneControl_SetFrequency() will become
// a design time helper function as part of the GUI tool
void AMF_ToneControlTreble_SetFrequency(AMF_ToneControlTreble * restrict instance,float frequency);
#else
// ASM declarations for offsets from start of instance (must be kept in synch with C version)
#define AMF_ToneControlTreble_AmpSmoothing AMF_Module_SIZE // defined in AudioProcessing.h
#define AMF_ToneControlTreble_AmpTarget (AMF_Module_SIZE+1)
#define AMF_ToneControlTreble_b0 (AMF_Module_SIZE+2)
#define AMF_ToneControlTreble_Amp (AMF_Module_SIZE+3)
#define AMF_ToneControlTreble_State (AMF_Module_SIZE+4)
#endif
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?