Home | History | Annotate | Download | only in webaudio

Lines Matching defs:inputBuffer

135         AudioBuffer* inputBuffer = m_numberOfInputChannels ? AudioBuffer::create(m_numberOfInputChannels, bufferSize(), sampleRate) : 0;
138 m_inputBuffers.append(inputBuffer);
160 // Additionally, there is a double-buffering for input and output which is exposed directly to JavaScript (see inputBuffer and outputBuffer below).
161 // This node is the producer for inputBuffer and the consumer for outputBuffer.
162 // The JavaScript code is the consumer of inputBuffer and the producer for outputBuffer.
175 AudioBuffer* inputBuffer = m_inputBuffers[doubleBufferIndex].get();
182 // If the number of input channels is zero, it's ok to have inputBuffer = 0.
184 buffersAreGood = buffersAreGood && inputBuffer && bufferSize() == inputBuffer->length();
204 m_internalInputBus->setChannelMemory(i, inputBuffer->getChannelData(i)->data() + m_bufferReadWriteIndex, framesToProcess);
246 AudioBuffer* inputBuffer = m_inputBuffers[m_doubleBufferIndexForEvent].get();
262 dispatchEvent(AudioProcessingEvent::create(inputBuffer, outputBuffer, playbackTime));