📄 amf_testgensinesweep.h
字号:
#ifndef _AMF_TESTGENSINESWEEP_
#define _AMF_TESTGENSINESWEEP_
// 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_TestGenSineSweep.h#3 $
// Part of : VisualAudio V2.5.0
// Updated : $Date: 2006/10/12 $ by $Author: Fernando $
/**
* @file AMF_TestGenSineSweep.h
* @brief Computes frequency-swept sine wave into mono output
*
* Description: Computes frequency-swept sine wave into mono output
*
* Owner: Analog Devices
*
* Revision:
*
* T. Stilson 1 March 2004 Initial Revision
*/
#include "AudioProcessing.h"
#ifdef __ECC__
// C declarations
typedef struct {
AMF_Module b;
float startInc;
float endInc;
float incRatio; // how far phaseinc is increased each sample
int repeatPeriod;
// state
float phaseInc;
float phase;
int repeatCounter;
} AMF_TestGenSineSweep;
extern const AMF_ModuleClass AMFClassTestGenSineSweep;
#else
#endif
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -