invert.cpp

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

CPP
34
字号
/**********************************************************************  Audacity: A Digital Audio Editor  Invert.cpp  Mark Phillips  This class inverts the selected audio.**********************************************************************/#include "Invert.h"bool EffectInvert::ProcessSimpleMono(float *buffer, sampleCount len){   sampleCount i;   for (i = 0; i < len; i++)      buffer[i] = -buffer[i];   return true;}// 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: 0f9cf46d-6aea-48a6-ab44-c95277a1467d

⌨️ 快捷键说明

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