Audacity 3.2.0
Namespaces | Functions | Variables
SpectrumCache.cpp File Reference
#include "SpectrumCache.h"
#include "SpectrogramSettings.h"
#include "RealFFTf.h"
#include "Sequence.h"
#include "Spectrum.h"
#include "WaveClipUIUtilities.h"
#include "WaveTrack.h"
#include "WideSampleSequence.h"
#include <cmath>
Include dependency graph for SpectrumCache.cpp:

Go to the source code of this file.

Namespaces

namespace  anonymous_namespace{SpectrumCache.cpp}
 

Functions

static void anonymous_namespace{SpectrumCache.cpp}::ComputeSpectrumUsingRealFFTf (float *__restrict buffer, const FFTParam *hFFT, const float *__restrict window, size_t len, float *__restrict out)
 
void anonymous_namespace{SpectrumCache.cpp}::ComputeSpectrogramGainFactors (size_t fftLen, double rate, int frequencyGain, std::vector< float > &gainFactors)
 

Variables

static WaveClip::Attachments::RegisteredFactory sKeyS
 

Variable Documentation

◆ sKeyS

WaveClip::Attachments::RegisteredFactory sKeyS
static
Initial value:
{ [](WaveClip &clip){
return std::make_unique<WaveClipSpectrumCache>(clip.NChannels());
} }
This allows multiple clips to be a part of one WaveTrack.
Definition: WaveClip.h:238

Definition at line 593 of file SpectrumCache.cpp.

Referenced by WaveClipSpectrumCache::Get().