numberOfChannels 82 AudioBasicInspectorNode.cpp unsigned numberOfChannels = input->numberOfChannels(); numberOfChannels 84 AudioBasicInspectorNode.cpp if (numberOfChannels != output(0)->numberOfChannels()) { numberOfChannels 86 AudioBasicInspectorNode.cpp output(0)->setNumberOfChannels(numberOfChannels); numberOfChannels 74 AudioBasicProcessorNode.cpp if (!isInitialized() || !processor() || processor()->numberOfChannels() != numberOfChannels()) numberOfChannels 115 AudioBasicProcessorNode.cpp unsigned numberOfChannels = input->numberOfChannels(); numberOfChannels 117 AudioBasicProcessorNode.cpp if (isInitialized() && numberOfChannels != output(0)->numberOfChannels()) { numberOfChannels 124 AudioBasicProcessorNode.cpp output(0)->setNumberOfChannels(numberOfChannels); numberOfChannels 127 AudioBasicProcessorNode.cpp processor()->setNumberOfChannels(numberOfChannels); numberOfChannels 136 AudioBasicProcessorNode.cpp return output(0)->numberOfChannels(); numberOfChannels 55 AudioBasicProcessorNode.h unsigned numberOfChannels(); numberOfChannels 45 AudioBuffer.cpp if (sampleRate < 22050 || sampleRate > 96000 || numberOfChannels > AudioContext::maxNumberOfChannels() || !numberOfFrames) numberOfChannels 48 AudioBuffer.cpp return adoptRef(new AudioBuffer(numberOfChannels, numberOfFrames, sampleRate)); numberOfChannels 66 AudioBuffer.cpp m_channels.reserveCapacity(numberOfChannels); numberOfChannels 68 AudioBuffer.cpp for (unsigned i = 0; i < numberOfChannels; ++i) { numberOfChannels 82 AudioBuffer.cpp unsigned numberOfChannels = bus->numberOfChannels(); numberOfChannels 83 AudioBuffer.cpp m_channels.reserveCapacity(numberOfChannels); numberOfChannels 84 AudioBuffer.cpp for (unsigned i = 0; i < numberOfChannels; ++i) { numberOfChannels 46 AudioBuffer.h static PassRefPtr<AudioBuffer> create(unsigned numberOfChannels, size_t numberOfFrames, float sampleRate); numberOfChannels 57 AudioBuffer.h unsigned numberOfChannels() const { return m_channels.size(); } numberOfChannels 72 AudioBuffer.h AudioBuffer(unsigned numberOfChannels, size_t numberOfFrames, float sampleRate); numberOfChannels 107 AudioBufferSourceNode.cpp if (numberOfChannels() != buffer()->numberOfChannels()) { numberOfChannels 125 AudioBufferSourceNode.cpp for (unsigned i = 0; i < outputBus->numberOfChannels(); ++i) numberOfChannels 153 AudioBufferSourceNode.cpp for (unsigned i = 0; i < numberOfChannels(); ++i) numberOfChannels 173 AudioBufferSourceNode.cpp unsigned numberOfChannels = this->numberOfChannels(); numberOfChannels 174 AudioBufferSourceNode.cpp unsigned busNumberOfChannels = bus->numberOfChannels(); numberOfChannels 176 AudioBufferSourceNode.cpp bool channelCountGood = numberOfChannels && numberOfChannels == busNumberOfChannels; numberOfChannels 196 AudioBufferSourceNode.cpp for (unsigned i = 0; i < numberOfChannels; ++i) numberOfChannels 265 AudioBufferSourceNode.cpp for (unsigned i = 0; i < numberOfChannels; ++i) numberOfChannels 301 AudioBufferSourceNode.cpp for (unsigned i = 0; i < numberOfChannels; ++i) { numberOfChannels 350 AudioBufferSourceNode.cpp unsigned numberOfChannels = buffer->numberOfChannels(); numberOfChannels 352 AudioBufferSourceNode.cpp if (numberOfChannels > AudioContext::maxNumberOfChannels()) numberOfChannels 355 AudioBufferSourceNode.cpp output(0)->setNumberOfChannels(numberOfChannels); numberOfChannels 357 AudioBufferSourceNode.cpp m_sourceChannels = adoptArrayPtr(new const float* [numberOfChannels]); numberOfChannels 358 AudioBufferSourceNode.cpp m_destinationChannels = adoptArrayPtr(new float* [numberOfChannels]); numberOfChannels 360 AudioBufferSourceNode.cpp for (unsigned i = 0; i < numberOfChannels; ++i) numberOfChannels 370 AudioBufferSourceNode.cpp unsigned AudioBufferSourceNode::numberOfChannels() numberOfChannels 372 AudioBufferSourceNode.cpp return output(0)->numberOfChannels(); numberOfChannels 62 AudioBufferSourceNode.h unsigned numberOfChannels(); numberOfChannels 155 AudioContext.cpp m_renderTarget = AudioBuffer::create(numberOfChannels, numberOfFrames, sampleRate); numberOfChannels 294 AudioContext.cpp RefPtr<AudioBuffer> audioBuffer = AudioBuffer::create(numberOfChannels, numberOfFrames, sampleRate); numberOfChannels 83 AudioContext.h static PassRefPtr<AudioContext> createOfflineContext(Document*, unsigned numberOfChannels, size_t numberOfFrames, float sampleRate, ExceptionState&); numberOfChannels 111 AudioContext.h PassRefPtr<AudioBuffer> createBuffer(unsigned numberOfChannels, size_t numberOfFrames, float sampleRate, ExceptionState&); numberOfChannels 253 AudioContext.h AudioContext(Document*, unsigned numberOfChannels, size_t numberOfFrames, float sampleRate); numberOfChannels 142 AudioNodeInput.cpp unsigned numberOfInputChannels = numberOfChannels(); numberOfChannels 144 AudioNodeInput.cpp if (numberOfInputChannels == m_internalSummingBus->numberOfChannels()) numberOfChannels 150 AudioNodeInput.cpp unsigned AudioNodeInput::numberOfChannels() const numberOfChannels 163 AudioNodeInput.cpp maxChannels = max(maxChannels, output->numberOfChannels()); numberOfChannels 80 AudioNodeInput.h unsigned numberOfChannels() const; numberOfChannels 48 AudioNodeOutput.cpp ASSERT(numberOfChannels <= AudioContext::maxNumberOfChannels()); numberOfChannels 50 AudioNodeOutput.cpp m_internalBus = AudioBus::create(numberOfChannels, AudioNode::ProcessingSizeInFrames); numberOfChannels 55 AudioNodeOutput.cpp ASSERT(numberOfChannels <= AudioContext::maxNumberOfChannels()); numberOfChannels 58 AudioNodeOutput.cpp m_desiredNumberOfChannels = numberOfChannels; numberOfChannels 71 AudioNodeOutput.cpp if (numberOfChannels() == m_internalBus->numberOfChannels()) numberOfChannels 74 AudioNodeOutput.cpp m_internalBus = AudioBus::create(numberOfChannels(), AudioNode::ProcessingSizeInFrames); numberOfChannels 120 AudioNodeOutput.cpp m_isInPlace = inPlaceBus && inPlaceBus->numberOfChannels() == numberOfChannels() && (m_renderingFanOutCount + m_renderingParamFanOutCount) == 1; numberOfChannels 46 AudioNodeOutput.h AudioNodeOutput(AudioNode*, unsigned numberOfChannels); numberOfChannels 73 AudioNodeOutput.h unsigned numberOfChannels() const { return m_numberOfChannels; } numberOfChannels 74 AudioNodeOutput.h bool isChannelCountKnown() const { return numberOfChannels() > 0; } numberOfChannels 107 AudioScheduledSourceNode.cpp for (unsigned i = 0; i < outputBus->numberOfChannels(); ++i) numberOfChannels 127 AudioScheduledSourceNode.cpp for (unsigned i = 0; i < outputBus->numberOfChannels(); ++i) numberOfChannels 52 BiquadProcessor.h BiquadProcessor(AudioContext*, float sampleRate, size_t numberOfChannels, bool autoInitialize); numberOfChannels 72 ChannelMergerNode.cpp if (m_desiredNumberOfOutputChannels != output->numberOfChannels()) { numberOfChannels 82 ChannelMergerNode.cpp unsigned numberOfInputChannels = input->bus()->numberOfChannels(); numberOfChannels 95 ChannelMergerNode.cpp ASSERT(outputChannelIndex == output->numberOfChannels()); numberOfChannels 113 ChannelMergerNode.cpp numberOfOutputChannels += input->numberOfChannels(); numberOfChannels 65 ChannelSplitterNode.cpp unsigned numberOfSourceChannels = source->numberOfChannels(); numberOfChannels 124 ConvolverNode.cpp unsigned numberOfChannels = buffer->numberOfChannels(); numberOfChannels 128 ConvolverNode.cpp bool isBufferGood = numberOfChannels > 0 && numberOfChannels <= 4 && bufferLength; numberOfChannels 135 ConvolverNode.cpp RefPtr<AudioBus> bufferBus = AudioBus::create(numberOfChannels, bufferLength, false); numberOfChannels 136 ConvolverNode.cpp for (unsigned i = 0; i < numberOfChannels; ++i) numberOfChannels 40 DelayProcessor.h DelayProcessor(AudioContext*, float sampleRate, unsigned numberOfChannels, double maxDelayTime); numberOfChannels 101 GainNode.cpp unsigned numberOfChannels = input->numberOfChannels(); numberOfChannels 103 GainNode.cpp if (isInitialized() && numberOfChannels != output(0)->numberOfChannels()) { numberOfChannels 110 GainNode.cpp output(0)->setNumberOfChannels(numberOfChannels); numberOfChannels 71 MediaElementAudioSourceNode.cpp if (numberOfChannels != m_sourceNumberOfChannels || sourceSampleRate != m_sourceSampleRate) { numberOfChannels 72 MediaElementAudioSourceNode.cpp if (!numberOfChannels || numberOfChannels > AudioContext::maxNumberOfChannels() || sourceSampleRate < minSampleRate || sourceSampleRate > maxSampleRate) { numberOfChannels 74 MediaElementAudioSourceNode.cpp LOG(Media, "MediaElementAudioSourceNode::setFormat(%u, %f) - unhandled format change", static_cast<unsigned>(numberOfChannels), sourceSampleRate); numberOfChannels 80 MediaElementAudioSourceNode.cpp m_sourceNumberOfChannels = numberOfChannels; numberOfChannels 88 MediaElementAudioSourceNode.cpp m_multiChannelResampler = adoptPtr(new MultiChannelResampler(scaleFactor, numberOfChannels)); numberOfChannels 99 MediaElementAudioSourceNode.cpp output(0)->setNumberOfChannels(numberOfChannels); numberOfChannels 55 MediaElementAudioSourceNode.h virtual void setFormat(size_t numberOfChannels, float sampleRate); numberOfChannels 43 MediaStreamAudioDestinationNode.cpp return adoptRef(new MediaStreamAudioDestinationNode(context, numberOfChannels)); numberOfChannels 60 MediaStreamAudioDestinationNode.cpp m_source->setAudioFormat(numberOfChannels, context->sampleRate()); numberOfChannels 42 MediaStreamAudioDestinationNode.h static PassRefPtr<MediaStreamAudioDestinationNode> create(AudioContext*, size_t numberOfChannels); numberOfChannels 55 MediaStreamAudioDestinationNode.h MediaStreamAudioDestinationNode(AudioContext*, size_t numberOfChannels); numberOfChannels 65 MediaStreamAudioSourceNode.cpp if (numberOfChannels != m_sourceNumberOfChannels || sourceSampleRate != sampleRate()) { numberOfChannels 67 MediaStreamAudioSourceNode.cpp if (!numberOfChannels || numberOfChannels > AudioContext::maxNumberOfChannels() || sourceSampleRate != sampleRate()) { numberOfChannels 69 MediaStreamAudioSourceNode.cpp LOG(Media, "MediaStreamAudioSourceNode::setFormat(%u, %f) - unhandled format change", static_cast<unsigned>(numberOfChannels), sourceSampleRate); numberOfChannels 77 MediaStreamAudioSourceNode.cpp m_sourceNumberOfChannels = numberOfChannels; numberOfChannels 84 MediaStreamAudioSourceNode.cpp output(0)->setNumberOfChannels(numberOfChannels); numberOfChannels 98 MediaStreamAudioSourceNode.cpp if (!mediaStream() || m_sourceNumberOfChannels != outputBus->numberOfChannels()) { numberOfChannels 55 MediaStreamAudioSourceNode.h virtual void setFormat(size_t numberOfChannels, float sampleRate); numberOfChannels 48 OfflineAudioContext.cpp if (numberOfChannels > 10 || !isSampleRateRangeGood(sampleRate)) { numberOfChannels 53 OfflineAudioContext.cpp RefPtr<OfflineAudioContext> audioContext(adoptRef(new OfflineAudioContext(document, numberOfChannels, numberOfFrames, sampleRate))); numberOfChannels 36 OfflineAudioContext.h static PassRefPtr<OfflineAudioContext> create(ScriptExecutionContext*, unsigned numberOfChannels, size_t numberOfFrames, float sampleRate, ExceptionState&); numberOfChannels 41 OfflineAudioContext.h OfflineAudioContext(Document*, unsigned numberOfChannels, size_t numberOfFrames, float sampleRate); numberOfChannels 49 OfflineAudioDestinationNode.cpp m_renderBus = AudioBus::create(renderTarget->numberOfChannels(), renderQuantumSize); numberOfChannels 107 OfflineAudioDestinationNode.cpp bool channelsMatch = m_renderBus->numberOfChannels() == m_renderTarget->numberOfChannels(); numberOfChannels 129 OfflineAudioDestinationNode.cpp unsigned numberOfChannels = m_renderTarget->numberOfChannels(); numberOfChannels 138 OfflineAudioDestinationNode.cpp for (unsigned channelIndex = 0; channelIndex < numberOfChannels; ++channelIndex) { numberOfChannels 226 OscillatorNode.cpp if (!isInitialized() || !outputBus->numberOfChannels()) { numberOfChannels 104 RealtimeAnalyser.cpp bool isBusGood = bus && bus->numberOfChannels() > 0 && bus->channel(0)->length() >= framesToProcess; numberOfChannels 123 RealtimeAnalyser.cpp unsigned numberOfChannels = bus->numberOfChannels(); numberOfChannels 124 RealtimeAnalyser.cpp if (numberOfChannels > 1) { numberOfChannels 125 RealtimeAnalyser.cpp for (unsigned i = 1; i < numberOfChannels; i++) { numberOfChannels 129 RealtimeAnalyser.cpp const float scale = 1.0 / numberOfChannels; numberOfChannels 158 ScriptProcessorNode.cpp unsigned numberOfInputChannels = m_internalInputBus->numberOfChannels(); numberOfChannels 162 ScriptProcessorNode.cpp if (m_internalInputBus->numberOfChannels()) numberOfChannels 175 ScriptProcessorNode.cpp unsigned numberOfOutputChannels = outputBus->numberOfChannels(); numberOfChannels 82 WaveShaperProcessor.cpp bool channelCountMatches = source->numberOfChannels() == destination->numberOfChannels() && source->numberOfChannels() == m_kernels.size(); numberOfChannels 47 WaveShaperProcessor.h WaveShaperProcessor(float sampleRate, size_t numberOfChannels);