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

📄 amf_scalersmoothed_ds.h

📁 ADI SHARC DSP 音频算法标准模块库
💻 H
字号:
#ifndef _AMF_SCALERSMOOTHED_DS_
#define _AMF_SCALERSMOOTHED_DS_

// 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_ScalerSmoothed_DS.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 ampsSmoothing;
    float amp0Target, amp1Target;
    
    // State:
    float amp0, amp1;
    
} AMF_ScalerSmoothed_DS;

extern AMF_ModuleClass AMFClassScalerSmoothed_DS;

// Helper functions
void AMF_ScalerSmoothed_DS_SetBalance(AMF_ScalerSmoothed_DS * restrict instance,float balance);

#else

// ASM declarations for offsets from start of instance (must be kept in synch with C version)
#define AMF_ScalerSmoothed_DS_AmpsSmoothing         AMF_Module_SIZE  // defined in AudioProcessing.h
#define AMF_ScalerSmoothed_DS_AmpTarget            (AMF_Module_SIZE+1)
#define AMF_ScalerSmoothed_DS_Amp                (AMF_Module_SIZE+3)

#endif



#endif

⌨️ 快捷键说明

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