Audacity 3.2.0
|
#include <SpectrumView.h>
Public Member Functions | |
SpectralData (double sr) | |
SpectralData (const SpectralData &src)=delete | |
void | CopyFrom (const SpectralData &src) |
int | GetHopSize () const |
int | GetWindowSize () const |
double | GetSR () const |
long long | GetStartSample () const |
long long | GetEndSample () const |
long long | GetCorrectedStartSample () const |
long long | GetLength () const |
void | addHopBinData (int hopNum, int freqBin) |
void | removeHopBinData (int hopNum, int freqBin) |
void | clearAllData () |
void | saveAndClearBuffer () |
Public Attributes | |
HopsAndBinsMap | dataBuffer |
std::vector< HopsAndBinsMap > | dataHistory |
std::vector< std::pair< int, int > > | coordHistory |
Private Attributes | |
double | mSampleRate |
int | mWindowSize |
int | mHopSize |
long long | mStartSample |
long long | mEndSample |
Definition at line 24 of file SpectrumView.h.
|
inline |
Definition at line 33 of file SpectrumView.h.
|
delete |
|
inline |
Definition at line 90 of file SpectrumView.h.
References dataBuffer, mEndSample, mHopSize, and mStartSample.
|
inline |
Definition at line 109 of file SpectrumView.h.
References dataHistory, mEndSample, and mStartSample.
|
inline |
Definition at line 49 of file SpectrumView.h.
References coordHistory, dataBuffer, dataHistory, GetEndSample(), GetStartSample(), mEndSample, and mStartSample.
|
inline |
Definition at line 79 of file SpectrumView.h.
References GetHopSize(), and GetStartSample().
Referenced by GetLength().
|
inline |
Definition at line 75 of file SpectrumView.h.
References mEndSample.
Referenced by CopyFrom(), and GetLength().
|
inline |
Definition at line 59 of file SpectrumView.h.
References mHopSize.
Referenced by GetCorrectedStartSample().
|
inline |
Definition at line 85 of file SpectrumView.h.
References GetCorrectedStartSample(), and GetEndSample().
|
inline |
Definition at line 67 of file SpectrumView.h.
References mSampleRate.
|
inline |
Definition at line 71 of file SpectrumView.h.
References mStartSample.
Referenced by CopyFrom(), and GetCorrectedStartSample().
|
inline |
Definition at line 63 of file SpectrumView.h.
References mWindowSize.
|
inline |
Definition at line 100 of file SpectrumView.h.
References dataHistory.
|
inline |
Definition at line 116 of file SpectrumView.h.
References coordHistory, dataBuffer, and dataHistory.
std::vector<std::pair<int, int> > SpectralData::coordHistory |
Definition at line 46 of file SpectrumView.h.
Referenced by CopyFrom(), and saveAndClearBuffer().
HopsAndBinsMap SpectralData::dataBuffer |
Definition at line 43 of file SpectrumView.h.
Referenced by addHopBinData(), CopyFrom(), and saveAndClearBuffer().
std::vector<HopsAndBinsMap> SpectralData::dataHistory |
Definition at line 44 of file SpectrumView.h.
Referenced by clearAllData(), CopyFrom(), removeHopBinData(), saveAndClearBuffer(), and ShouldCaptureEvent().
|
private |
Definition at line 30 of file SpectrumView.h.
Referenced by addHopBinData(), clearAllData(), CopyFrom(), and GetEndSample().
|
private |
Definition at line 28 of file SpectrumView.h.
Referenced by addHopBinData(), and GetHopSize().
|
private |
Definition at line 26 of file SpectrumView.h.
Referenced by GetSR().
|
private |
Definition at line 29 of file SpectrumView.h.
Referenced by addHopBinData(), clearAllData(), CopyFrom(), and GetStartSample().
|
private |
Definition at line 27 of file SpectrumView.h.
Referenced by GetWindowSize().