Audacity 3.2.0
Public Member Functions | List of all members
Meter Class Referenceabstract

AudioIO uses this to send sample buffers for real-time display updates. More...

#include <Meter.h>

Inheritance diagram for Meter:
[legend]

Public Member Functions

virtual ~Meter ()
 
virtual void Clear ()=0
 
virtual void Reset (double sampleRate, bool resetClipping)=0
 
virtual void UpdateDisplay (unsigned numChannels, unsigned long numFrames, const float *sampleData)=0
 
virtual bool IsMeterDisabled () const =0
 
virtual float GetMaxPeak () const =0
 
virtual bool IsClipping () const =0
 
virtual int GetDBRange () const =0
 

Detailed Description

AudioIO uses this to send sample buffers for real-time display updates.

Definition at line 15 of file Meter.h.

Constructor & Destructor Documentation

◆ ~Meter()

Meter::~Meter ( )
virtual

Definition at line 13 of file Meter.cpp.

14{
15}

Member Function Documentation

◆ Clear()

virtual void Meter::Clear ( )
pure virtual

Implemented in MeterPanelBase::Forwarder.

◆ GetDBRange()

virtual int Meter::GetDBRange ( ) const
pure virtual

Implemented in MeterPanelBase::Forwarder.

◆ GetMaxPeak()

virtual float Meter::GetMaxPeak ( ) const
pure virtual

Implemented in MeterPanelBase::Forwarder.

◆ IsClipping()

virtual bool Meter::IsClipping ( ) const
pure virtual

Implemented in MeterPanelBase::Forwarder.

◆ IsMeterDisabled()

virtual bool Meter::IsMeterDisabled ( ) const
pure virtual

Implemented in MeterPanelBase::Forwarder.

◆ Reset()

virtual void Meter::Reset ( double  sampleRate,
bool  resetClipping 
)
pure virtual

Implemented in MeterPanelBase::Forwarder.

◆ UpdateDisplay()

virtual void Meter::UpdateDisplay ( unsigned  numChannels,
unsigned long  numFrames,
const float *  sampleData 
)
pure virtual

Implemented in MeterPanelBase::Forwarder.


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