OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:numberOfInputChannels
(Results
1 - 11
of
11
) sorted by null
/external/chromium_org/third_party/WebKit/Source/platform/audio/
AudioDestination.cpp
48
PassOwnPtr<AudioDestination> AudioDestination::create(AudioIOCallback& callback, const String& inputDeviceId, unsigned
numberOfInputChannels
, unsigned numberOfOutputChannels, float sampleRate)
50
return adoptPtr(new AudioDestination(callback, inputDeviceId,
numberOfInputChannels
, numberOfOutputChannels, sampleRate));
53
AudioDestination::AudioDestination(AudioIOCallback& callback, const String& inputDeviceId, unsigned
numberOfInputChannels
, unsigned numberOfOutputChannels, float sampleRate)
56
, m_inputBus(AudioBus::create(
numberOfInputChannels
, renderBufferSize))
85
m_audioDevice = adoptPtr(blink::Platform::current()->createAudioDevice(m_callbackBufferSize,
numberOfInputChannels
, numberOfOutputChannels, sampleRate, this, inputDeviceId));
96
m_inputFifo = adoptPtr(new AudioFIFO(
numberOfInputChannels
, fifoSize));
AudioDestination.h
50
AudioDestination(AudioIOCallback&, const String& inputDeviceId, unsigned
numberOfInputChannels
, unsigned numberOfOutputChannels, float sampleRate);
53
// Pass in (
numberOfInputChannels
> 0) if live/local audio input is desired.
55
static PassOwnPtr<AudioDestination> create(AudioIOCallback&, const String& inputDeviceId, unsigned
numberOfInputChannels
, unsigned numberOfOutputChannels, float sampleRate);
EqualPowerPanner.cpp
59
unsigned
numberOfInputChannels
= inputBus->numberOfChannels();
67
const float* sourceR =
numberOfInputChannels
> 1 ? inputBus->channel(1)->data() : sourceL;
89
if (
numberOfInputChannels
== 1) { // For mono source case.
123
if (
numberOfInputChannels
== 1) { // For mono source case.
/external/chromium_org/third_party/WebKit/Source/modules/webaudio/
ScriptProcessorNode.h
53
static PassRefPtrWillBeRawPtr<ScriptProcessorNode> create(AudioContext*, float sampleRate, size_t bufferSize, unsigned
numberOfInputChannels
, unsigned numberOfOutputChannels);
72
ScriptProcessorNode(AudioContext*, float sampleRate, size_t bufferSize, unsigned
numberOfInputChannels
, unsigned numberOfOutputChannels);
ScriptProcessorNode.cpp
59
PassRefPtrWillBeRawPtr<ScriptProcessorNode> ScriptProcessorNode::create(AudioContext* context, float sampleRate, size_t bufferSize, unsigned
numberOfInputChannels
, unsigned numberOfOutputChannels)
78
if (!
numberOfInputChannels
&& !numberOfOutputChannels)
81
if (
numberOfInputChannels
> AudioContext::maxNumberOfChannels())
87
return adoptRefWillBeNoop(new ScriptProcessorNode(context, sampleRate, bufferSize,
numberOfInputChannels
, numberOfOutputChannels));
90
ScriptProcessorNode::ScriptProcessorNode(AudioContext* context, float sampleRate, size_t bufferSize, unsigned
numberOfInputChannels
, unsigned numberOfOutputChannels)
96
, m_numberOfInputChannels(
numberOfInputChannels
)
98
, m_internalInputBus(AudioBus::create(
numberOfInputChannels
, AudioNode::ProcessingSizeInFrames, false))
105
ASSERT(
numberOfInputChannels
<= AudioContext::maxNumberOfChannels());
174
unsigned
numberOfInputChannels
= m_internalInputBus->numberOfChannels();
193
bool channelsAreGood = (
numberOfInputChannels
== m_numberOfInputChannels) && (numberOfOutputChannels == m_numberOfOutputChannels)
[
all
...]
ChannelMergerNode.cpp
84
unsigned
numberOfInputChannels
= input->bus()->numberOfChannels();
89
for (unsigned j = 0; j <
numberOfInputChannels
; ++j) {
AudioNodeInput.cpp
141
unsigned
numberOfInputChannels
= numberOfChannels();
143
if (
numberOfInputChannels
== m_internalSummingBus->numberOfChannels())
146
m_internalSummingBus = AudioBus::create(
numberOfInputChannels
, AudioNode::ProcessingSizeInFrames);
AudioContext.idl
70
[RaisesException] ScriptProcessorNode createScriptProcessor(optional unsigned long bufferSize, optional unsigned long
numberOfInputChannels
, optional unsigned long numberOfOutputChannels);
AudioContext.cpp
364
PassRefPtrWillBeRawPtr<ScriptProcessorNode> AudioContext::createScriptProcessor(size_t bufferSize, size_t
numberOfInputChannels
, ExceptionState& exceptionState)
367
return createScriptProcessor(bufferSize,
numberOfInputChannels
, 2, exceptionState);
370
PassRefPtrWillBeRawPtr<ScriptProcessorNode> AudioContext::createScriptProcessor(size_t bufferSize, size_t
numberOfInputChannels
, size_t numberOfOutputChannels, ExceptionState& exceptionState)
373
RefPtrWillBeRawPtr<ScriptProcessorNode> node = ScriptProcessorNode::create(this, m_destinationNode->sampleRate(), bufferSize,
numberOfInputChannels
, numberOfOutputChannels);
376
if (!
numberOfInputChannels
&& !numberOfOutputChannels) {
380
} else if (
numberOfInputChannels
> AudioContext::maxNumberOfChannels()) {
383
"number of input channels (" + String::number(
numberOfInputChannels
)
389
"number of output channels (" + String::number(
numberOfInputChannels
)
AudioContext.h
123
PassRefPtrWillBeRawPtr<ScriptProcessorNode> createScriptProcessor(size_t bufferSize, size_t
numberOfInputChannels
, ExceptionState&);
124
PassRefPtrWillBeRawPtr<ScriptProcessorNode> createScriptProcessor(size_t bufferSize, size_t
numberOfInputChannels
, size_t numberOfOutputChannels, ExceptionState&);
/external/chromium_org/third_party/WebKit/public/platform/
Platform.h
154
// Pass in (
numberOfInputChannels
> 0) if live/local audio input is desired.
155
virtual WebAudioDevice* createAudioDevice(size_t bufferSize, unsigned
numberOfInputChannels
, unsigned numberOfChannels, double sampleRate, WebAudioDevice::RenderCallback*, const WebString& deviceId) { return 0; }
Completed in 171 milliseconds