soundtoucheffect.h

来自「Audacity是一款用於錄音和編輯聲音的、免費的開放源碼軟體。它可以執行於Ma」· C头文件 代码 · 共 67 行

H
67
字号
/**********************************************************************  Audacity: A Digital Audio Editor  SoundTouchEffect.h  Dominic Mazzoni, Vaughan Johnson  This abstract class contains all of the common code for an  effect that uses SoundTouch to do its processing (ChangeTempo  and ChangePitch).**********************************************************************/#if USE_SOUNDTOUCH#ifndef __AUDACITY_EFFECT_SOUNDTOUCH__#define __AUDACITY_EFFECT_SOUNDTOUCH__#include "Effect.h"#include "SoundTouch.h"using namespace soundtouch;class WaveTrack;class EffectSoundTouch:public Effect { public:   virtual bool Process(); protected:   SoundTouch *mSoundTouch; private:   bool ProcessOne(WaveTrack * t,                   longSampleCount start, longSampleCount end);   bool ProcessStereo(WaveTrack* leftTrack, WaveTrack* rightTrack,                         longSampleCount start, longSampleCount end);   bool ProcessStereoResults(const unsigned int outputCount,                               WaveTrack* outputLeftTrack,                               WaveTrack* outputRightTrack);   int    mCurTrackNum;   double mCurT0;   double mCurT1;	double m_maxNewLength;};#endif#endif// Indentation settings for Vim and Emacs and unique identifier for Arch, a// version control system. Please do not modify past this point.//// Local Variables:// c-basic-offset: 3// indent-tabs-mode: nil// End://// vim: et sts=3 sw=3// arch-tag: 6f08259e-6cac-4c47-9aa5-1de7b68eb495

⌨️ 快捷键说明

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