simplemono.h

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

H
64
字号
/**********************************************************************  Audacity: A Digital Audio Editor  SimpleMono.h  Dominic Mazzoni  This abstract class simplifies the implementation of a basic  monaural effect.  Inherit from it if your effect doesn't just  modifies a track in place and doesn't care how many samples  it gets at a time.  Your derived class only needs to implement  GetEffectName, GetEffectAction, and ProcessSimpleMono.**********************************************************************/#ifndef __AUDACITY_EFFECT_SIMPLE_MONO__#define __AUDACITY_EFFECT_SIMPLE_MONO__#include "Effect.h"class WaveTrack;class EffectSimpleMono:public Effect { public:   virtual bool Process(); private:   bool ProcessOne(WaveTrack * t,                   longSampleCount start, longSampleCount end); protected:     // Override this method if you need to do things   // before every track (including the first one)   virtual bool NewTrackSimpleMono();   // Override this method to actually process audio   virtual bool ProcessSimpleMono(float *buffer, sampleCount len) = 0;   // Other useful information   int    mCurTrackNum;   double mCurRate;   double mCurT0;   double mCurT1;   int    mCurChannel;};#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: 2c7cdbc8-b34e-46c2-8b9b-5669bb1af61b

⌨️ 快捷键说明

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