Audacity 3.2.0
PlotSpectrumBase.h
Go to the documentation of this file.
1/**********************************************************************
2
3 Audacity: A Digital Audio Editor
4
5 PlotSpectrumBase.h
6
7 Dominic Mazzoni
8 Matthieu Hodgkinson split from FreqWindow.h
9
10**********************************************************************/
11#pragma once
12
13#include "MemoryX.h"
14#include "SpectrumAnalyst.h"
15#include <memory>
16
17class AudacityProject;
18
19class BUILTIN_EFFECTS_API PlotSpectrumBase
20{
21public:
23
24protected:
25 bool GetAudio();
26
28 std::unique_ptr<SpectrumAnalyst> mAnalyst;
29
31 int mSize;
33 int mFunc;
34 int mAxis;
36 double mRate;
37 size_t mDataLen;
40};
const auto project
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
Definition: Project.h:90
std::unique_ptr< SpectrumAnalyst > mAnalyst
SpectrumAnalyst::Algorithm mAlg
ArrayOf< float > mData
AudacityProject * mProject