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

#include <AudioChannel.h>

Public Member Functions

 AudioChannel (float *storage, size_t length)
 
 AudioChannel (size_t length)
 
 AudioChannel ()
 
void set (float *storage, size_t length)
 
size_t length () const
 
void resizeSmaller (size_t newLength)
 
float * mutableData ()
 
const float * data () const
 
void zero ()
 
void clearSilentFlag ()
 
bool isSilent () const
 
void scale (float scale)
 
void copyFrom (const AudioChannel *sourceChannel)
 
void copyFromRange (const AudioChannel *sourceChannel, unsigned startFrame, unsigned endFrame)
 
void sumFrom (const AudioChannel *sourceChannel)
 
float maxAbsValue () const
 

Constructor & Destructor Documentation

◆ AudioChannel() [1/3]

WebCore::AudioChannel::AudioChannel ( float *  storage,
size_t  length 
)
inlineexplicit

◆ AudioChannel() [2/3]

WebCore::AudioChannel::AudioChannel ( size_t  length)
inlineexplicit

◆ AudioChannel() [3/3]

WebCore::AudioChannel::AudioChannel ( )
inline

Member Function Documentation

◆ clearSilentFlag()

void WebCore::AudioChannel::clearSilentFlag ( )
inline

◆ copyFrom()

void WebCore::AudioChannel::copyFrom ( const AudioChannel sourceChannel)

◆ copyFromRange()

void WebCore::AudioChannel::copyFromRange ( const AudioChannel sourceChannel,
unsigned  startFrame,
unsigned  endFrame 
)

◆ data()

const float* WebCore::AudioChannel::data ( ) const
inline

◆ isSilent()

bool WebCore::AudioChannel::isSilent ( ) const
inline

◆ length()

size_t WebCore::AudioChannel::length ( void  ) const
inline

◆ maxAbsValue()

float WebCore::AudioChannel::maxAbsValue ( ) const

◆ mutableData()

float* WebCore::AudioChannel::mutableData ( )
inline

◆ resizeSmaller()

void WebCore::AudioChannel::resizeSmaller ( size_t  newLength)

◆ scale()

void WebCore::AudioChannel::scale ( float  scale)

◆ set()

void WebCore::AudioChannel::set ( float *  storage,
size_t  length 
)
inline

◆ sumFrom()

void WebCore::AudioChannel::sumFrom ( const AudioChannel sourceChannel)

◆ zero()

void WebCore::AudioChannel::zero ( )
inline

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