webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Static Public Member Functions | List of all members
WebCore::PeriodicWave Class Reference

#include <PeriodicWave.h>

Inheritance diagram for WebCore::PeriodicWave:
WTF::RefCounted< PeriodicWave > WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase

Public Member Functions

void waveDataForFundamentalFrequency (float, float *&lowerWaveData, float *&higherWaveData, float &tableInterpolationFactor)
 
float rateScale () const
 
unsigned periodicWaveSize () const
 
float sampleRate () const
 
- Public Member Functions inherited from WTF::RefCounted< PeriodicWave >
void deref () const
 
void deref () const
 
void deref () const
 
- Public Member Functions inherited from WTF::RefCountedBase
void ref () const
 
bool hasOneRef () const
 
unsigned refCount () const
 
void relaxAdoptionRequirement ()
 
void ref () const
 
bool hasOneRef () const
 
unsigned refCount () const
 
void relaxAdoptionRequirement ()
 
void ref () const
 
bool hasOneRef () const
 
unsigned refCount () const
 
void relaxAdoptionRequirement ()
 

Static Public Member Functions

static Ref< PeriodicWavecreateSine (float sampleRate)
 
static Ref< PeriodicWavecreateSquare (float sampleRate)
 
static Ref< PeriodicWavecreateSawtooth (float sampleRate)
 
static Ref< PeriodicWavecreateTriangle (float sampleRate)
 
static Ref< PeriodicWavecreate (float sampleRate, Float32Array &real, Float32Array &imag)
 

Additional Inherited Members

- Protected Member Functions inherited from WTF::RefCounted< PeriodicWave >
 RefCounted ()
 
 RefCounted ()
 
 RefCounted ()
 
 ~RefCounted ()
 
 ~RefCounted ()
 
 ~RefCounted ()
 
- Protected Member Functions inherited from WTF::RefCountedBase
 RefCountedBase ()
 
 ~RefCountedBase ()
 
bool derefBase () const
 
bool deletionHasBegun () const
 
 RefCountedBase ()
 
 ~RefCountedBase ()
 
bool derefBase () const
 
bool deletionHasBegun () const
 
 RefCountedBase ()
 
 ~RefCountedBase ()
 
bool derefBase () const
 
bool deletionHasBegun () const
 

Member Function Documentation

◆ create()

static Ref<PeriodicWave> WebCore::PeriodicWave::create ( float  sampleRate,
Float32Array real,
Float32Array imag 
)
static

◆ createSawtooth()

static Ref<PeriodicWave> WebCore::PeriodicWave::createSawtooth ( float  sampleRate)
static

◆ createSine()

static Ref<PeriodicWave> WebCore::PeriodicWave::createSine ( float  sampleRate)
static

◆ createSquare()

static Ref<PeriodicWave> WebCore::PeriodicWave::createSquare ( float  sampleRate)
static

◆ createTriangle()

static Ref<PeriodicWave> WebCore::PeriodicWave::createTriangle ( float  sampleRate)
static

◆ periodicWaveSize()

unsigned WebCore::PeriodicWave::periodicWaveSize ( ) const
inline

◆ rateScale()

float WebCore::PeriodicWave::rateScale ( ) const
inline

◆ sampleRate()

float WebCore::PeriodicWave::sampleRate ( ) const
inline

◆ waveDataForFundamentalFrequency()

void WebCore::PeriodicWave::waveDataForFundamentalFrequency ( float  ,
float *&  lowerWaveData,
float *&  higherWaveData,
float &  tableInterpolationFactor 
)

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