Home
last modified time | relevance | path

Searched refs:numberOfInputChannels (Results 1 – 11 of 11) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/modules/webaudio/
DScriptProcessorNode.cpp59 …ioContext* context, float sampleRate, size_t bufferSize, unsigned numberOfInputChannels, unsigned … in create() argument
78 if (!numberOfInputChannels && !numberOfOutputChannels) in create()
81 if (numberOfInputChannels > AudioContext::maxNumberOfChannels()) in create()
87 …llBeNoop(new ScriptProcessorNode(context, sampleRate, bufferSize, numberOfInputChannels, numberOfO… in create()
90 …ioContext* context, float sampleRate, size_t bufferSize, unsigned numberOfInputChannels, unsigned … in ScriptProcessorNode() argument
96 , m_numberOfInputChannels(numberOfInputChannels) in ScriptProcessorNode()
98 …, m_internalInputBus(AudioBus::create(numberOfInputChannels, AudioNode::ProcessingSizeInFrames, fa… in ScriptProcessorNode()
104 ASSERT(numberOfInputChannels <= AudioContext::maxNumberOfChannels()); in ScriptProcessorNode()
179 unsigned numberOfInputChannels = m_internalInputBus->numberOfChannels(); in process() local
198 …bool channelsAreGood = (numberOfInputChannels == m_numberOfInputChannels) && (numberOfOutputChanne… in process()
[all …]
DScriptProcessorNode.h54 …eate(AudioContext*, float sampleRate, size_t bufferSize, unsigned numberOfInputChannels, unsigned …
74 …Node(AudioContext*, float sampleRate, size_t bufferSize, unsigned numberOfInputChannels, unsigned …
DAudioContext.cpp337 …de* AudioContext::createScriptProcessor(size_t bufferSize, size_t numberOfInputChannels, Exception… in createScriptProcessor() argument
340 return createScriptProcessor(bufferSize, numberOfInputChannels, 2, exceptionState); in createScriptProcessor()
343 …de* AudioContext::createScriptProcessor(size_t bufferSize, size_t numberOfInputChannels, size_t nu… in createScriptProcessor() argument
346 …orNode::create(this, m_destinationNode->sampleRate(), bufferSize, numberOfInputChannels, numberOfO… in createScriptProcessor()
349 if (!numberOfInputChannels && !numberOfOutputChannels) { in createScriptProcessor()
353 } else if (numberOfInputChannels > AudioContext::maxNumberOfChannels()) { in createScriptProcessor()
356 "number of input channels (" + String::number(numberOfInputChannels) in createScriptProcessor()
362 "number of output channels (" + String::number(numberOfInputChannels) in createScriptProcessor()
DAudioNodeInput.cpp131 unsigned numberOfInputChannels = numberOfChannels(); in updateInternalBus() local
133 if (numberOfInputChannels == m_internalSummingBus->numberOfChannels()) in updateInternalBus()
136 … m_internalSummingBus = AudioBus::create(numberOfInputChannels, AudioNode::ProcessingSizeInFrames); in updateInternalBus()
DChannelMergerNode.cpp83 unsigned numberOfInputChannels = input->bus()->numberOfChannels(); in process() local
88 for (unsigned j = 0; j < numberOfInputChannels; ++j) { in process()
DAudioContext.h122 …ScriptProcessorNode* createScriptProcessor(size_t bufferSize, size_t numberOfInputChannels, Except…
123 …ScriptProcessorNode* createScriptProcessor(size_t bufferSize, size_t numberOfInputChannels, size_t…
DAudioContext.idl70 …ocessor(optional unsigned long bufferSize, optional unsigned long numberOfInputChannels, optional …
/external/chromium_org/third_party/WebKit/Source/platform/audio/
DAudioDestination.cpp48 …(AudioIOCallback& callback, const String& inputDeviceId, unsigned numberOfInputChannels, unsigned … in create() argument
50 …return adoptPtr(new AudioDestination(callback, inputDeviceId, numberOfInputChannels, numberOfOutpu… in create()
53 …(AudioIOCallback& callback, const String& inputDeviceId, unsigned numberOfInputChannels, unsigned … in AudioDestination() argument
56 , m_inputBus(AudioBus::create(numberOfInputChannels, renderBufferSize)) in AudioDestination()
85 …tPtr(Platform::current()->createAudioDevice(m_callbackBufferSize, numberOfInputChannels, numberOfO… in AudioDestination()
96 m_inputFifo = adoptPtr(new AudioFIFO(numberOfInputChannels, fifoSize)); in AudioDestination()
DEqualPowerPanner.cpp57 unsigned numberOfInputChannels = inputBus->numberOfChannels(); in pan() local
65 const float* sourceR = numberOfInputChannels > 1 ? inputBus->channel(1)->data() : sourceL; in pan()
87 if (numberOfInputChannels == 1) { // For mono source case. in pan()
121 if (numberOfInputChannels == 1) { // For mono source case. in pan()
DAudioDestination.h50 …AudioDestination(AudioIOCallback&, const String& inputDeviceId, unsigned numberOfInputChannels, un…
55 …n> create(AudioIOCallback&, const String& inputDeviceId, unsigned numberOfInputChannels, unsigned …
/external/chromium_org/third_party/WebKit/public/platform/
DPlatform.h159 …virtual WebAudioDevice* createAudioDevice(size_t bufferSize, unsigned numberOfInputChannels, unsig… in createAudioDevice() argument