OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:numberOfChannels
(Results
1 - 19
of
19
) sorted by null
/external/chromium_org/third_party/WebKit/Source/modules/webaudio/
AudioBasicInspectorNode.cpp
82
unsigned
numberOfChannels
= input->
numberOfChannels
();
84
if (
numberOfChannels
!= output(0)->
numberOfChannels
()) {
86
output(0)->setNumberOfChannels(
numberOfChannels
);
GainNode.cpp
101
unsigned
numberOfChannels
= input->
numberOfChannels
();
103
if (isInitialized() &&
numberOfChannels
!= output(0)->
numberOfChannels
()) {
110
output(0)->setNumberOfChannels(
numberOfChannels
);
AudioBasicProcessorNode.cpp
74
if (!isInitialized() || !processor() || processor()->
numberOfChannels
() !=
numberOfChannels
())
115
unsigned
numberOfChannels
= input->
numberOfChannels
();
117
if (isInitialized() &&
numberOfChannels
!= output(0)->
numberOfChannels
()) {
124
output(0)->setNumberOfChannels(
numberOfChannels
);
127
processor()->setNumberOfChannels(
numberOfChannels
);
134
unsigned AudioBasicProcessorNode::
numberOfChannels
()
136
return output(0)->
numberOfChannels
();
[
all
...]
AudioBuffer.cpp
53
PassRefPtr<AudioBuffer> AudioBuffer::create(unsigned
numberOfChannels
, size_t numberOfFrames, float sampleRate)
55
if (sampleRate < minAllowedSampleRate() || sampleRate > maxAllowedSampleRate() ||
numberOfChannels
> AudioContext::maxNumberOfChannels() || !numberOfFrames)
58
RefPtr<AudioBuffer> buffer = adoptRef(new AudioBuffer(
numberOfChannels
, numberOfFrames, sampleRate));
60
if (!buffer->createdSuccessfully(
numberOfChannels
))
70
if (buffer->createdSuccessfully(bus->
numberOfChannels
()))
79
return
numberOfChannels
() == desiredNumberOfChannels;
82
AudioBuffer::AudioBuffer(unsigned
numberOfChannels
, size_t numberOfFrames, float sampleRate)
88
m_channels.reserveCapacity(
numberOfChannels
);
90
for (unsigned i = 0; i <
numberOfChannels
; ++i) {
110
unsigned
numberOfChannels
= bus->numberOfChannels()
[
all
...]
AudioBuffer.h
46
static PassRefPtr<AudioBuffer> create(unsigned
numberOfChannels
, size_t numberOfFrames, float sampleRate);
57
unsigned
numberOfChannels
() const { return m_channels.size(); }
74
AudioBuffer(unsigned
numberOfChannels
, size_t numberOfFrames, float sampleRate);
AudioNodeInput.cpp
141
unsigned numberOfInputChannels =
numberOfChannels
();
143
if (numberOfInputChannels == m_internalSummingBus->
numberOfChannels
())
149
unsigned AudioNodeInput::
numberOfChannels
() const
160
// Use output()->
numberOfChannels
() instead of output->bus()->
numberOfChannels
(),
162
maxChannels = max(maxChannels, output->
numberOfChannels
());
ConvolverNode.cpp
124
unsigned
numberOfChannels
= buffer->
numberOfChannels
();
128
bool isBufferGood =
numberOfChannels
> 0 &&
numberOfChannels
<= 4 && bufferLength;
135
RefPtr<AudioBus> bufferBus = AudioBus::create(
numberOfChannels
, bufferLength, false);
136
for (unsigned i = 0; i <
numberOfChannels
; ++i)
OfflineAudioDestinationNode.cpp
50
m_renderBus = AudioBus::create(renderTarget->
numberOfChannels
(), renderQuantumSize);
99
bool channelsMatch = m_renderBus->
numberOfChannels
() == m_renderTarget->
numberOfChannels
();
121
unsigned
numberOfChannels
= m_renderTarget->
numberOfChannels
();
130
for (unsigned channelIndex = 0; channelIndex <
numberOfChannels
; ++channelIndex) {
AudioNodeOutput.h
45
// It's OK to pass 0 for
numberOfChannels
in which case setNumberOfChannels() must be called later on.
46
AudioNodeOutput(AudioNode*, unsigned
numberOfChannels
);
73
unsigned
numberOfChannels
() const { return m_numberOfChannels; }
74
bool isChannelCountKnown() const { return
numberOfChannels
() > 0; }
AudioBufferSourceNode.cpp
109
if (
numberOfChannels
() != buffer()->
numberOfChannels
()) {
127
for (unsigned i = 0; i < outputBus->
numberOfChannels
(); ++i)
155
for (unsigned i = 0; i <
numberOfChannels
(); ++i)
175
unsigned
numberOfChannels
= this->
numberOfChannels
();
176
unsigned busNumberOfChannels = bus->
numberOfChannels
();
178
bool channelCountGood =
numberOfChannels
&&
numberOfChannels
== busNumberOfChannels;
198
for (unsigned i = 0; i <
numberOfChannels
; ++i
[
all
...]
RealtimeAnalyser.cpp
100
bool isBusGood = bus && bus->
numberOfChannels
() > 0 && bus->channel(0)->length() >= framesToProcess;
118
// Sum all channels in one if
numberOfChannels
> 1.
119
unsigned
numberOfChannels
= bus->
numberOfChannels
();
120
if (
numberOfChannels
> 1) {
121
for (unsigned i = 1; i <
numberOfChannels
; i++) {
125
const float scale = 1.0 /
numberOfChannels
;
/external/chromium_org/third_party/WebKit/Source/platform/audio/
AudioDSPKernelProcessor.h
53
//
numberOfChannels
may be later changed if object is not yet in an "initialized" state
54
AudioDSPKernelProcessor(float sampleRate, unsigned
numberOfChannels
);
65
virtual void setNumberOfChannels(unsigned
numberOfChannels
);
66
virtual unsigned
numberOfChannels
() const { return m_numberOfChannels; }
AudioFIFO.cpp
37
AudioFIFO::AudioFIFO(unsigned
numberOfChannels
, size_t fifoLength)
38
: m_fifoAudioBus(AudioBus::create(
numberOfChannels
, fifoLength))
59
size_t
numberOfChannels
= m_fifoAudioBus->
numberOfChannels
();
61
for (size_t channelIndex = 0; channelIndex <
numberOfChannels
; ++channelIndex) {
96
size_t
numberOfChannels
= m_fifoAudioBus->
numberOfChannels
();
98
for (size_t channelIndex = 0; channelIndex <
numberOfChannels
; ++channelIndex) {
AudioResampler.cpp
47
AudioResampler::AudioResampler(unsigned
numberOfChannels
)
50
for (unsigned i = 0; i <
numberOfChannels
; ++i)
53
m_sourceBus = AudioBus::create(
numberOfChannels
, 0, false);
56
void AudioResampler::configureChannels(unsigned
numberOfChannels
)
59
if (
numberOfChannels
== currentSize)
63
if (
numberOfChannels
> currentSize) {
64
for (unsigned i = currentSize; i <
numberOfChannels
; ++i)
67
m_kernels.resize(
numberOfChannels
);
70
m_sourceBus = AudioBus::create(
numberOfChannels
, 0, false);
79
unsigned
numberOfChannels
= m_kernels.size()
[
all
...]
AudioBus.h
69
static PassRefPtr<AudioBus> create(unsigned
numberOfChannels
, size_t length, bool allocate = true);
75
unsigned
numberOfChannels
() const { return m_channels.size(); }
152
AudioBus(unsigned
numberOfChannels
, size_t length, bool allocate);
Reverb.cpp
60
size_t
numberOfChannels
= response->
numberOfChannels
();
65
for (size_t i = 0; i <
numberOfChannels
; ++i) {
71
power = sqrt(power / (
numberOfChannels
* length));
86
if (response->
numberOfChannels
() == 4)
92
Reverb::Reverb(AudioBus* impulseResponse, size_t renderSliceSize, size_t maxFFTSize, size_t
numberOfChannels
, bool useBackgroundThreads, bool normalize)
103
initialize(impulseResponse, renderSliceSize, maxFFTSize,
numberOfChannels
, useBackgroundThreads);
112
void Reverb::initialize(AudioBus* impulseResponseBuffer, size_t renderSliceSize, size_t maxFFTSize, size_t
numberOfChannels
, bool useBackgroundThreads)
117
size_t numResponseChannels = impulseResponseBuffer->
numberOfChannels
();
118
m_convolvers.reserveCapacity(
numberOfChannels
);
[
all
...]
AudioBus.cpp
50
PassRefPtr<AudioBus> AudioBus::create(unsigned
numberOfChannels
, size_t length, bool allocate)
52
ASSERT(
numberOfChannels
<= MaxBusChannels);
53
if (
numberOfChannels
> MaxBusChannels)
56
return adoptRef(new AudioBus(
numberOfChannels
, length, allocate));
59
AudioBus::AudioBus(unsigned
numberOfChannels
, size_t length, bool allocate)
65
m_channels.reserveInitialCapacity(
numberOfChannels
);
67
for (unsigned i = 0; i <
numberOfChannels
; ++i) {
105
switch (
numberOfChannels
()) {
161
if (
numberOfChannels
() != bus.
numberOfChannels
())
[
all
...]
/external/chromium_org/third_party/WebKit/Source/platform/exported/
WebAudioBus.cpp
49
void WebAudioBus::initialize(unsigned
numberOfChannels
, size_t length, double sampleRate)
52
RefPtr<AudioBus> audioBus = AudioBus::create(
numberOfChannels
, length);
90
unsigned WebAudioBus::
numberOfChannels
() const
95
return m_private->
numberOfChannels
();
131
ASSERT(channelIndex <
numberOfChannels
());
/external/aac/libAACenc/src/
bitenc.cpp
[
all
...]
Completed in 1255 milliseconds