1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-09 14:43:57 +01:00

Locate and position the current Audacity source code, and clear a variety of old junk out of the way into junk-branches

This commit is contained in:
ra
2010-01-23 19:44:49 +00:00
commit e74978ba77
1011 changed files with 781704 additions and 0 deletions

40
src/effects/Invert.cpp Normal file
View File

@@ -0,0 +1,40 @@
/**********************************************************************
Audacity: A Digital Audio Editor
Invert.cpp
Mark Phillips
*******************************************************************//**
\class EffectInvert
\brief An EffectSimpleMono that inverts the selected audio.
*//*******************************************************************/
#include "../Audacity.h"
#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