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

📄 amf_pooleddelay.h

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

// 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_Delay.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_ModuleVariable b;
    
   	int DelaySize; // must be even, >= tickSize, and >= delay
	int *MaxDelayChan;
	int *DelayChan; // Pool of delays
	int *WriteIndexChan;  // current state of the delay ptr
    float *DelayBuffer;    // 
    
} AMF_PooledDelay;

extern const AMF_ModuleVariableClass AMFClassPooledDelay;


#else

// ASM declarations for offsets from start of instance (must be kept in synch with C version)
#define AMF_PooledDelay_DelaySize                AMF_ModuleVariable_SIZE  // defined in AudioProcessing.h
#define AMF_PooledDelay_MaxDelayChan         (AMF_ModuleVariable_SIZE+1)
#define AMF_PooledDelay_DelayChan         (AMF_ModuleVariable_SIZE+2)
#define AMF_PooledDelay_WriteIndexChan     (AMF_ModuleVariable_SIZE+3)
#define AMF_PooledDelay_DelayBuffer     (AMF_ModuleVariable_SIZE+4)
#define AMF_PooledDelay_inputPinCount         AMF_ModuleVariable_inputPinCount
#define AMF_PooledDelay_outputPinCount     AMF_ModuleVariable_outputPinCount
#endif


#endif

⌨️ 快捷键说明

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