OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:numberOfInputChannels
(Results
1 - 12
of
12
) sorted by null
/external/chromium_org/third_party/WebKit/Source/modules/webaudio/
ScriptProcessorNode.cpp
45
PassRefPtr<ScriptProcessorNode> ScriptProcessorNode::create(AudioContext* context, float sampleRate, size_t bufferSize, unsigned
numberOfInputChannels
, unsigned numberOfOutputChannels)
61
if (!
numberOfInputChannels
&& !numberOfOutputChannels)
64
if (
numberOfInputChannels
> AudioContext::maxNumberOfChannels())
70
return adoptRef(new ScriptProcessorNode(context, sampleRate, bufferSize,
numberOfInputChannels
, numberOfOutputChannels));
73
ScriptProcessorNode::ScriptProcessorNode(AudioContext* context, float sampleRate, size_t bufferSize, unsigned
numberOfInputChannels
, unsigned numberOfOutputChannels)
80
, m_numberOfInputChannels(
numberOfInputChannels
)
82
, m_internalInputBus(AudioBus::create(
numberOfInputChannels
, AudioNode::ProcessingSizeInFrames, false))
89
ASSERT(
numberOfInputChannels
<= AudioContext::maxNumberOfChannels());
158
unsigned
numberOfInputChannels
= m_internalInputBus->numberOfChannels();
177
bool channelsAreGood = (
numberOfInputChannels
== m_numberOfInputChannels) && (numberOfOutputChannels == m_numberOfOutputChannels)
[
all
...]
ScriptProcessorNode.h
53
static PassRefPtr<ScriptProcessorNode> create(AudioContext*, float sampleRate, size_t bufferSize, unsigned
numberOfInputChannels
, unsigned numberOfOutputChannels);
72
ScriptProcessorNode(AudioContext*, float sampleRate, size_t bufferSize, unsigned
numberOfInputChannels
, unsigned numberOfOutputChannels);
AudioContext.idl
70
[RaisesException] ScriptProcessorNode createScriptProcessor(unsigned long bufferSize, optional unsigned long
numberOfInputChannels
, optional unsigned long numberOfOutputChannels);
86
[MeasureAs=LegacyWebAudio, ImplementedAs=createScriptProcessor, RaisesException] ScriptProcessorNode createJavaScriptNode(unsigned long bufferSize, optional unsigned long
numberOfInputChannels
, optional unsigned long numberOfOutputChannels);
ChannelMergerNode.cpp
82
unsigned
numberOfInputChannels
= input->bus()->numberOfChannels();
85
for (unsigned j = 0; j <
numberOfInputChannels
; ++j) {
AudioNodeInput.cpp
142
unsigned
numberOfInputChannels
= numberOfChannels();
144
if (
numberOfInputChannels
== m_internalSummingBus->numberOfChannels())
147
m_internalSummingBus = AudioBus::create(
numberOfInputChannels
, AudioNode::ProcessingSizeInFrames);
AudioContext.h
134
PassRefPtr<ScriptProcessorNode> createScriptProcessor(size_t bufferSize, size_t
numberOfInputChannels
, ExceptionState&);
135
PassRefPtr<ScriptProcessorNode> createScriptProcessor(size_t bufferSize, size_t
numberOfInputChannels
, size_t numberOfOutputChannels, ExceptionState&);
AudioContext.cpp
415
PassRefPtr<ScriptProcessorNode> AudioContext::createScriptProcessor(size_t bufferSize, size_t
numberOfInputChannels
, ExceptionState& es)
418
return createScriptProcessor(bufferSize,
numberOfInputChannels
, 2, es);
421
PassRefPtr<ScriptProcessorNode> AudioContext::createScriptProcessor(size_t bufferSize, size_t
numberOfInputChannels
, size_t numberOfOutputChannels, ExceptionState& es)
425
RefPtr<ScriptProcessorNode> node = ScriptProcessorNode::create(this, m_destinationNode->sampleRate(), bufferSize,
numberOfInputChannels
, numberOfOutputChannels);
/external/chromium_org/third_party/WebKit/Source/core/platform/audio/
AudioDestination.h
46
// Pass in (
numberOfInputChannels
> 0) if live/local audio input is desired.
48
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/core/platform/audio/chromium/
AudioDestinationChromium.cpp
48
PassOwnPtr<AudioDestination> AudioDestination::create(AudioIOCallback& callback, const String& inputDeviceId, unsigned
numberOfInputChannels
, unsigned numberOfOutputChannels, float sampleRate)
50
return adoptPtr(new AudioDestinationChromium(callback, inputDeviceId,
numberOfInputChannels
, numberOfOutputChannels, sampleRate));
53
AudioDestinationChromium::AudioDestinationChromium(AudioIOCallback& callback, const String& inputDeviceId, unsigned
numberOfInputChannels
, unsigned numberOfOutputChannels, float sampleRate)
56
, m_inputBus(AudioBus::create(
numberOfInputChannels
, renderBufferSize))
85
m_audioDevice = adoptPtr(WebKit::Platform::current()->createAudioDevice(m_callbackBufferSize,
numberOfInputChannels
, numberOfOutputChannels, sampleRate, this, inputDeviceId));
96
m_inputFifo = adoptPtr(new AudioFIFO(
numberOfInputChannels
, fifoSize));
AudioDestinationChromium.h
48
AudioDestinationChromium(AudioIOCallback&, const String& inputDeviceId, unsigned
numberOfInputChannels
, unsigned numberOfOutputChannels, float sampleRate);
/external/chromium_org/third_party/WebKit/public/platform/
Platform.h
149
// Pass in (
numberOfInputChannels
> 0) if live/local audio input is desired.
150
virtual WebAudioDevice* createAudioDevice(size_t bufferSize, unsigned
numberOfInputChannels
, unsigned numberOfChannels, double sampleRate, WebAudioDevice::RenderCallback*, const WebString& deviceId) { return 0; }
154
virtual WebAudioDevice* createAudioDevice(size_t bufferSize, unsigned
numberOfInputChannels
, unsigned numberOfChannels, double sampleRate, WebAudioDevice::RenderCallback*) { return 0; }
Completed in 78 milliseconds