amf_tonecontroltreble_s.h

来自「ADI SHARC DSP 音频算法标准模块库」· C头文件 代码 · 共 58 行

H
58
字号
#ifndef _AMF_TONECONTROLTREBLE_S_
#define _AMF_TONECONTROLTREBLE_S_

// 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_S.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 {
    
    /* Auxiliary struct used by AMF_ToneControlTreble_S */
    float amp, state[2];
    
} AMF_ToneControlTreble_SAux;


typedef struct {
    
    AMF_Module b;
    
    // Parameters:
    float ampSmoothing, ampTarget, b0;
    
    // State:
    AMF_ToneControlTreble_SAux pm *aux; // PM data for inner loops.
    
} AMF_ToneControlTreble_S;


extern const AMF_ModuleClass AMFClassToneControlTreble_S;


#else

// ASM declarations for offsets from start of instance (must be kept in synch with C version)
#define AMF_ToneControlTreble_S_AmpSmoothing     AMF_Module_SIZE  // defined in AudioProcessing.h
#define AMF_ToneControlTreble_S_AmpTarget          (AMF_Module_SIZE+1)
#define AMF_ToneControlTreble_S_B0                (AMF_Module_SIZE+2)  
#define AMF_ToneControlTreble_SAux                (AMF_Module_SIZE+3)

#endif


#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?