OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:numberOfChannels
(Results
1 - 25
of
49
) sorted by null
1
2
/external/webkit/Source/WebCore/webaudio/
AudioDestinationNode.idl
30
readonly attribute long
numberOfChannels
;
AudioBasicProcessorNode.cpp
123
unsigned
numberOfChannels
= input->
numberOfChannels
();
125
if (isInitialized() &&
numberOfChannels
!= output(0)->
numberOfChannels
()) {
134
output(0)->setNumberOfChannels(
numberOfChannels
);
137
processor()->setNumberOfChannels(
numberOfChannels
);
142
unsigned AudioBasicProcessorNode::
numberOfChannels
()
144
return output(0)->
numberOfChannels
();
DelayProcessor.cpp
35
DelayProcessor::DelayProcessor(double sampleRate, unsigned
numberOfChannels
)
36
: AudioDSPKernelProcessor(sampleRate,
numberOfChannels
)
AudioBuffer.cpp
42
PassRefPtr<AudioBuffer> AudioBuffer::create(unsigned
numberOfChannels
, size_t numberOfFrames, double sampleRate)
44
return adoptRef(new AudioBuffer(
numberOfChannels
, numberOfFrames, sampleRate));
56
AudioBuffer::AudioBuffer(unsigned
numberOfChannels
, size_t numberOfFrames, double sampleRate)
61
m_channels.reserveCapacity(
numberOfChannels
);
63
for (unsigned i = 0; i <
numberOfChannels
; ++i) {
75
unsigned
numberOfChannels
= bus->
numberOfChannels
();
76
m_channels.reserveCapacity(
numberOfChannels
);
77
for (unsigned i = 0; i <
numberOfChannels
; ++i) {
AudioGainNode.cpp
95
unsigned
numberOfChannels
= input->
numberOfChannels
();
97
if (isInitialized() &&
numberOfChannels
!= output(0)->
numberOfChannels
()) {
106
output(0)->setNumberOfChannels(
numberOfChannels
);
AudioBuffer.h
44
static PassRefPtr<AudioBuffer> create(unsigned
numberOfChannels
, size_t numberOfFrames, double sampleRate);
55
unsigned
numberOfChannels
() const { return m_channels.size(); }
69
AudioBuffer(unsigned
numberOfChannels
, size_t numberOfFrames, double sampleRate);
AudioNodeOutput.h
44
// It's OK to pass 0 for
numberOfChannels
in which case setNumberOfChannels() must be called later on.
45
AudioNodeOutput(AudioNode*, unsigned
numberOfChannels
);
73
unsigned
numberOfChannels
() const { return m_numberOfChannels; }
74
bool isChannelCountKnown() const { return
numberOfChannels
() > 0; }
AudioBufferSourceNode.cpp
148
unsigned
numberOfChannels
= this->
numberOfChannels
();
149
unsigned busNumberOfChannels = bus->
numberOfChannels
();
152
bool channelCountGood =
numberOfChannels
== busNumberOfChannels && (
numberOfChannels
== 1 ||
numberOfChannels
== 2);
162
float* destinationR = (
numberOfChannels
< 2) ? 0 : bus->channel(1)->data();
265
bool isBusGood = destinationBus && destinationBus->length() == framesToProcess && destinationBus->
numberOfChannels
() ==
numberOfChannels
();
270
unsigned
numberOfChannels
= this->numberOfChannels()
[
all
...]
ConvolverNode.cpp
119
unsigned
numberOfChannels
= buffer->
numberOfChannels
();
123
bool isBufferGood =
numberOfChannels
> 0 &&
numberOfChannels
<= 4 && bufferLength;
130
AudioBus bufferBus(
numberOfChannels
, bufferLength, false);
131
for (unsigned i = 0; i <
numberOfChannels
; ++i)
OfflineAudioDestinationNode.cpp
48
m_renderBus = adoptPtr(new AudioBus(renderTarget->
numberOfChannels
(), renderQuantumSize));
104
bool channelsMatch = m_renderBus->
numberOfChannels
() == m_renderTarget->
numberOfChannels
();
126
unsigned
numberOfChannels
= m_renderTarget->
numberOfChannels
();
135
for (unsigned channelIndex = 0; channelIndex <
numberOfChannels
; ++channelIndex) {
AudioBuffer.idl
40
readonly attribute unsigned long
numberOfChannels
;
AudioDestinationNode.h
53
virtual unsigned
numberOfChannels
() const { return 2; } // FIXME: update when multi-channel (more than stereo) is supported
DelayProcessor.h
40
DelayProcessor(double sampleRate, unsigned
numberOfChannels
);
AudioNodeOutput.cpp
38
AudioNodeOutput::AudioNodeOutput(AudioNode* node, unsigned
numberOfChannels
)
40
, m_numberOfChannels(
numberOfChannels
)
41
, m_desiredNumberOfChannels(
numberOfChannels
)
52
void AudioNodeOutput::setNumberOfChannels(unsigned
numberOfChannels
)
56
m_desiredNumberOfChannels =
numberOfChannels
;
128
bool isInPlace = inPlaceBus && inPlaceBus->
numberOfChannels
() ==
numberOfChannels
() && m_renderingFanOutCount == 1;
/external/webkit/Source/WebCore/platform/audio/
AudioResampler.cpp
48
AudioResampler::AudioResampler(unsigned
numberOfChannels
)
51
for (unsigned i = 0; i <
numberOfChannels
; ++i)
54
m_sourceBus = adoptPtr(new AudioBus(
numberOfChannels
, 0, false));
57
void AudioResampler::configureChannels(unsigned
numberOfChannels
)
60
if (
numberOfChannels
== currentSize)
64
if (
numberOfChannels
> currentSize) {
65
for (unsigned i = currentSize; i <
numberOfChannels
; ++i)
68
m_kernels.resize(
numberOfChannels
);
71
m_sourceBus = adoptPtr(new AudioBus(
numberOfChannels
, 0, false));
80
unsigned
numberOfChannels
= m_kernels.size()
[
all
...]
AudioDSPKernelProcessor.cpp
42
AudioDSPKernelProcessor::AudioDSPKernelProcessor(double sampleRate, unsigned
numberOfChannels
)
44
, m_numberOfChannels(
numberOfChannels
)
57
for (unsigned i = 0; i <
numberOfChannels
(); ++i)
84
bool channelCountMatches = source->
numberOfChannels
() == destination->
numberOfChannels
() && source->
numberOfChannels
() == m_kernels.size();
107
void AudioDSPKernelProcessor::setNumberOfChannels(unsigned
numberOfChannels
)
111
m_numberOfChannels =
numberOfChannels
;
AudioDSPKernelProcessor.h
52
//
numberOfChannels
may be later changed if object is not yet in an "initialized" state
53
AudioDSPKernelProcessor(double sampleRate, unsigned
numberOfChannels
);
64
virtual void setNumberOfChannels(unsigned
numberOfChannels
);
66
unsigned
numberOfChannels
() const { return m_numberOfChannels; }
AudioResampler.h
43
AudioResampler(unsigned
numberOfChannels
);
52
void configureChannels(unsigned
numberOfChannels
);
AudioBus.cpp
49
AudioBus::AudioBus(unsigned
numberOfChannels
, size_t length, bool allocate)
55
m_channels.reserveInitialCapacity(
numberOfChannels
);
57
for (unsigned i = 0; i <
numberOfChannels
; ++i) {
85
switch (
numberOfChannels
()) {
136
if (
numberOfChannels
() != bus.
numberOfChannels
())
149
unsigned
numberOfChannels
= sourceBuffer->
numberOfChannels
();
159
OwnPtr<AudioBus> audioBus = adoptPtr(new AudioBus(
numberOfChannels
, rangeLength));
162
for (unsigned i = 0; i <
numberOfChannels
; ++i
[
all
...]
Reverb.h
46
Reverb(AudioBus* impulseResponseBuffer, size_t renderSliceSize, size_t maxFFTSize, size_t
numberOfChannels
, bool useBackgroundThreads);
54
void initialize(AudioBus* impulseResponseBuffer, size_t renderSliceSize, size_t maxFFTSize, size_t
numberOfChannels
, bool useBackgroundThreads);
Reverb.cpp
58
size_t
numberOfChannels
= response->
numberOfChannels
();
63
for (size_t i = 0; i <
numberOfChannels
; ++i) {
73
power = sqrt(power / (
numberOfChannels
* length));
84
if (response->
numberOfChannels
() == 4)
90
Reverb::Reverb(AudioBus* impulseResponse, size_t renderSliceSize, size_t maxFFTSize, size_t
numberOfChannels
, bool useBackgroundThreads)
96
initialize(impulseResponse, renderSliceSize, maxFFTSize,
numberOfChannels
, useBackgroundThreads);
103
void Reverb::initialize(AudioBus* impulseResponseBuffer, size_t renderSliceSize, size_t maxFFTSize, size_t
numberOfChannels
, bool useBackgroundThreads)
108
size_t numResponseChannels = impulseResponseBuffer->
numberOfChannels
();
109
m_convolvers.reserveCapacity(
numberOfChannels
);
[
all
...]
/external/webkit/Source/WebKit/chromium/src/
WebAudioBus.cpp
47
void WebAudioBus::initialize(unsigned
numberOfChannels
, size_t length, double sampleRate)
50
AudioBus* audioBus = new AudioBus(
numberOfChannels
, length);
71
unsigned WebAudioBus::
numberOfChannels
() const
76
return m_private->
numberOfChannels
();
112
ASSERT(channelIndex <
numberOfChannels
());
AudioDestinationChromium.cpp
60
const unsigned
numberOfChannels
= 2;
70
, m_renderBus(
numberOfChannels
, renderBufferSize, false)
74
m_audioDevice = adoptPtr(webKitClient()->createAudioDevice(callbackBufferSize,
numberOfChannels
, sampleRate, this));
107
bool isNumberOfChannelsGood = audioData.size() ==
numberOfChannels
;
/external/webkit/Source/WebKit/chromium/public/
WebAudioBus.h
50
WEBKIT_API void initialize(unsigned
numberOfChannels
, size_t length, double sampleRate);
55
WEBKIT_API unsigned
numberOfChannels
() const;
/external/aac/libAACdec/src/
channel.h
130
* \param
numberOfChannels
amoun of channels contained in the object to be parsed.
143
const UCHAR
numberOfChannels
,
Completed in 386 milliseconds
1
2