#include <AudioBus.h>
|
void | setChannelMemory (unsigned channelIndex, float *storage, size_t length) |
|
unsigned | numberOfChannels () const |
|
AudioChannel * | channel (unsigned channel) |
|
const AudioChannel * | channel (unsigned channel) const |
|
AudioChannel * | channelByType (unsigned type) |
|
const AudioChannel * | channelByType (unsigned type) const |
|
size_t | length () const |
|
void | resizeSmaller (size_t newLength) |
|
float | sampleRate () const |
|
void | setSampleRate (float sampleRate) |
|
void | zero () |
|
void | clearSilentFlag () |
|
bool | isSilent () const |
|
bool | topologyMatches (const AudioBus &sourceBus) const |
|
void | scale (float scale) |
|
void | reset () |
|
void | copyFromRange (const AudioBus &sourceBus, unsigned startFrame, unsigned endFrame) |
|
void | copyFrom (const AudioBus &sourceBus, ChannelInterpretation=Speakers) |
|
void | sumFrom (const AudioBus &sourceBus, ChannelInterpretation=Speakers) |
|
void | copyWithGainFrom (const AudioBus &sourceBus, float *lastMixGain, float targetGain) |
|
void | copyWithSampleAccurateGainValuesFrom (const AudioBus &sourceBus, float *gainValues, unsigned numberOfGainValues) |
|
float | maxAbsValue () const |
|
void | normalize () |
|
void | deref () const |
|
void | deref () const |
|
void | deref () const |
|
| ThreadSafeRefCountedBase ()=default |
|
void | ref () const |
|
bool | hasOneRef () const |
|
unsigned | refCount () const |
|
| ThreadSafeRefCountedBase ()=default |
|
void | ref () const |
|
bool | hasOneRef () const |
|
unsigned | refCount () const |
|
| ThreadSafeRefCountedBase ()=default |
|
void | ref () const |
|
bool | hasOneRef () const |
|
unsigned | refCount () const |
|
◆ anonymous enum
Enumerator |
---|
ChannelLeft | |
ChannelRight | |
ChannelCenter | |
ChannelMono | |
ChannelLFE | |
ChannelSurroundLeft | |
ChannelSurroundRight | |
◆ anonymous enum
Enumerator |
---|
LayoutCanonical | |
◆ ChannelInterpretation
Enumerator |
---|
Speakers | |
Discrete | |
◆ AudioBus() [1/2]
WebCore::AudioBus::AudioBus |
( |
| ) |
|
|
inlineprotected |
◆ AudioBus() [2/2]
WebCore::AudioBus::AudioBus |
( |
unsigned |
numberOfChannels, |
|
|
size_t |
length, |
|
|
bool |
allocate |
|
) |
| |
|
protected |
◆ channel() [1/2]
AudioChannel* WebCore::AudioBus::channel |
( |
unsigned |
channel | ) |
|
|
inline |
◆ channel() [2/2]
const AudioChannel* WebCore::AudioBus::channel |
( |
unsigned |
channel | ) |
const |
|
inline |
◆ channelByType() [1/2]
AudioChannel* WebCore::AudioBus::channelByType |
( |
unsigned |
type | ) |
|
◆ channelByType() [2/2]
const AudioChannel* WebCore::AudioBus::channelByType |
( |
unsigned |
type | ) |
const |
◆ clearSilentFlag()
void WebCore::AudioBus::clearSilentFlag |
( |
| ) |
|
◆ copyFrom()
◆ copyFromRange()
void WebCore::AudioBus::copyFromRange |
( |
const AudioBus & |
sourceBus, |
|
|
unsigned |
startFrame, |
|
|
unsigned |
endFrame |
|
) |
| |
◆ copyWithGainFrom()
void WebCore::AudioBus::copyWithGainFrom |
( |
const AudioBus & |
sourceBus, |
|
|
float * |
lastMixGain, |
|
|
float |
targetGain |
|
) |
| |
◆ copyWithSampleAccurateGainValuesFrom()
void WebCore::AudioBus::copyWithSampleAccurateGainValuesFrom |
( |
const AudioBus & |
sourceBus, |
|
|
float * |
gainValues, |
|
|
unsigned |
numberOfGainValues |
|
) |
| |
◆ create()
◆ createBufferFromRange()
static RefPtr<AudioBus> WebCore::AudioBus::createBufferFromRange |
( |
const AudioBus * |
sourceBuffer, |
|
|
unsigned |
startFrame, |
|
|
unsigned |
endFrame |
|
) |
| |
|
static |
◆ createByMixingToMono()
◆ createBySampleRateConverting()
static RefPtr<AudioBus> WebCore::AudioBus::createBySampleRateConverting |
( |
const AudioBus * |
sourceBus, |
|
|
bool |
mixToMono, |
|
|
double |
newSampleRate |
|
) |
| |
|
static |
◆ discreteCopyFrom()
void WebCore::AudioBus::discreteCopyFrom |
( |
const AudioBus & |
| ) |
|
|
protected |
◆ discreteSumFrom()
void WebCore::AudioBus::discreteSumFrom |
( |
const AudioBus & |
| ) |
|
|
protected |
◆ isSilent()
bool WebCore::AudioBus::isSilent |
( |
| ) |
const |
◆ length()
◆ loadPlatformResource()
static PassRefPtr<AudioBus> WebCore::AudioBus::loadPlatformResource |
( |
const char * |
name, |
|
|
float |
sampleRate |
|
) |
| |
|
static |
◆ maxAbsValue()
float WebCore::AudioBus::maxAbsValue |
( |
| ) |
const |
◆ normalize()
void WebCore::AudioBus::normalize |
( |
| ) |
|
◆ numberOfChannels()
unsigned WebCore::AudioBus::numberOfChannels |
( |
| ) |
const |
|
inline |
◆ reset()
void WebCore::AudioBus::reset |
( |
| ) |
|
|
inline |
◆ resizeSmaller()
void WebCore::AudioBus::resizeSmaller |
( |
size_t |
newLength | ) |
|
◆ sampleRate()
float WebCore::AudioBus::sampleRate |
( |
| ) |
const |
|
inline |
◆ scale()
void WebCore::AudioBus::scale |
( |
float |
scale | ) |
|
◆ setChannelMemory()
void WebCore::AudioBus::setChannelMemory |
( |
unsigned |
channelIndex, |
|
|
float * |
storage, |
|
|
size_t |
length |
|
) |
| |
◆ setSampleRate()
void WebCore::AudioBus::setSampleRate |
( |
float |
sampleRate | ) |
|
|
inline |
◆ speakersCopyFrom()
void WebCore::AudioBus::speakersCopyFrom |
( |
const AudioBus & |
| ) |
|
|
protected |
◆ speakersSumFrom()
void WebCore::AudioBus::speakersSumFrom |
( |
const AudioBus & |
| ) |
|
|
protected |
◆ speakersSumFrom5_1_ToMono()
void WebCore::AudioBus::speakersSumFrom5_1_ToMono |
( |
const AudioBus & |
| ) |
|
|
protected |
◆ sumFrom()
◆ topologyMatches()
bool WebCore::AudioBus::topologyMatches |
( |
const AudioBus & |
sourceBus | ) |
const |
◆ zero()
void WebCore::AudioBus::zero |
( |
| ) |
|
◆ m_busGain
float WebCore::AudioBus::m_busGain |
|
protected |
◆ m_channels
◆ m_dezipperGainValues
◆ m_isFirstTime
bool WebCore::AudioBus::m_isFirstTime |
|
protected |
◆ m_layout
int WebCore::AudioBus::m_layout |
|
protected |
◆ m_length
size_t WebCore::AudioBus::m_length |
|
protected |
◆ m_sampleRate
float WebCore::AudioBus::m_sampleRate |
|
protected |
The documentation for this class was generated from the following file: