Audacity 3.2.0
Public Member Functions | Public Attributes | List of all members
WaveCache Class Reference
Collaboration diagram for WaveCache:
[legend]

Public Member Functions

 WaveCache ()
 
 WaveCache (size_t len_, double samplesPerPixel, double rate_, double t0, int dirty_)
 
 ~WaveCache ()
 

Public Attributes

int dirty
 
const size_t len { 0 }
 
const double start
 
const double samplesPerPixel
 
const int rate
 
std::vector< sampleCountwhere
 
std::vector< float > min
 
std::vector< float > max
 
std::vector< float > rms
 

Detailed Description

Definition at line 19 of file WaveformCache.cpp.

Constructor & Destructor Documentation

◆ WaveCache() [1/2]

WaveCache::WaveCache ( )
inline

Definition at line 21 of file WaveformCache.cpp.

22 : dirty(-1)
23 , start(-1)
25 , rate(-1)
26 , where(0)
27 , min(0)
28 , max(0)
29 , rms(0)
30 {
31 }
const double start
std::vector< float > max
const double samplesPerPixel
const int rate
std::vector< float > min
std::vector< float > rms
std::vector< sampleCount > where

◆ WaveCache() [2/2]

WaveCache::WaveCache ( size_t  len_,
double  samplesPerPixel,
double  rate_,
double  t0,
int  dirty_ 
)
inline

Definition at line 33 of file WaveformCache.cpp.

34 : dirty(dirty_)
35 , len(len_)
36 , start(t0)
38 , rate(rate_)
39 , where(1 + len)
40 , min(len)
41 , max(len)
42 , rms(len)
43 {
44 }
const size_t len

◆ ~WaveCache()

WaveCache::~WaveCache ( )
inline

Definition at line 46 of file WaveformCache.cpp.

47 {
48 }

Member Data Documentation

◆ dirty

int WaveCache::dirty

Definition at line 50 of file WaveformCache.cpp.

◆ len

const size_t WaveCache::len { 0 }

Definition at line 51 of file WaveformCache.cpp.

◆ max

std::vector<float> WaveCache::max

Definition at line 57 of file WaveformCache.cpp.

◆ min

std::vector<float> WaveCache::min

Definition at line 56 of file WaveformCache.cpp.

◆ rate

const int WaveCache::rate

Definition at line 54 of file WaveformCache.cpp.

◆ rms

std::vector<float> WaveCache::rms

Definition at line 58 of file WaveformCache.cpp.

◆ samplesPerPixel

const double WaveCache::samplesPerPixel

Definition at line 53 of file WaveformCache.cpp.

◆ start

const double WaveCache::start

Definition at line 52 of file WaveformCache.cpp.

◆ where

std::vector<sampleCount> WaveCache::where

Definition at line 55 of file WaveformCache.cpp.


The documentation for this class was generated from the following file: