numberOfChannels 1293 Source/bindings/templates/interface.cpp for (unsigned i = 0, n = impl->numberOfChannels(); i < n; i++) { numberOfChannels 82 Source/modules/webaudio/AudioBasicInspectorNode.cpp unsigned numberOfChannels = input->numberOfChannels(); numberOfChannels 84 Source/modules/webaudio/AudioBasicInspectorNode.cpp if (numberOfChannels != output(0)->numberOfChannels()) { numberOfChannels 86 Source/modules/webaudio/AudioBasicInspectorNode.cpp output(0)->setNumberOfChannels(numberOfChannels); numberOfChannels 74 Source/modules/webaudio/AudioBasicProcessorNode.cpp if (!isInitialized() || !processor() || processor()->numberOfChannels() != numberOfChannels()) numberOfChannels 109 Source/modules/webaudio/AudioBasicProcessorNode.cpp unsigned numberOfChannels = input->numberOfChannels(); numberOfChannels 111 Source/modules/webaudio/AudioBasicProcessorNode.cpp if (isInitialized() && numberOfChannels != output(0)->numberOfChannels()) { numberOfChannels 118 Source/modules/webaudio/AudioBasicProcessorNode.cpp output(0)->setNumberOfChannels(numberOfChannels); numberOfChannels 121 Source/modules/webaudio/AudioBasicProcessorNode.cpp processor()->setNumberOfChannels(numberOfChannels); numberOfChannels 130 Source/modules/webaudio/AudioBasicProcessorNode.cpp return output(0)->numberOfChannels(); numberOfChannels 54 Source/modules/webaudio/AudioBasicProcessorNode.h unsigned numberOfChannels(); numberOfChannels 55 Source/modules/webaudio/AudioBuffer.cpp PassRefPtr<AudioBuffer> AudioBuffer::create(unsigned numberOfChannels, size_t numberOfFrames, float sampleRate) numberOfChannels 57 Source/modules/webaudio/AudioBuffer.cpp if (sampleRate < minAllowedSampleRate() || sampleRate > maxAllowedSampleRate() || numberOfChannels > AudioContext::maxNumberOfChannels() || !numberOfFrames) numberOfChannels 60 Source/modules/webaudio/AudioBuffer.cpp RefPtr<AudioBuffer> buffer = adoptRef(new AudioBuffer(numberOfChannels, numberOfFrames, sampleRate)); numberOfChannels 62 Source/modules/webaudio/AudioBuffer.cpp if (!buffer->createdSuccessfully(numberOfChannels)) numberOfChannels 72 Source/modules/webaudio/AudioBuffer.cpp if (buffer->createdSuccessfully(bus->numberOfChannels())) numberOfChannels 81 Source/modules/webaudio/AudioBuffer.cpp return numberOfChannels() == desiredNumberOfChannels; numberOfChannels 84 Source/modules/webaudio/AudioBuffer.cpp AudioBuffer::AudioBuffer(unsigned numberOfChannels, size_t numberOfFrames, float sampleRate) numberOfChannels 90 Source/modules/webaudio/AudioBuffer.cpp m_channels.reserveCapacity(numberOfChannels); numberOfChannels 92 Source/modules/webaudio/AudioBuffer.cpp for (unsigned i = 0; i < numberOfChannels; ++i) { numberOfChannels 112 Source/modules/webaudio/AudioBuffer.cpp unsigned numberOfChannels = bus->numberOfChannels(); numberOfChannels 113 Source/modules/webaudio/AudioBuffer.cpp m_channels.reserveCapacity(numberOfChannels); numberOfChannels 114 Source/modules/webaudio/AudioBuffer.cpp for (unsigned i = 0; i < numberOfChannels; ++i) { numberOfChannels 46 Source/modules/webaudio/AudioBuffer.h static PassRefPtr<AudioBuffer> create(unsigned numberOfChannels, size_t numberOfFrames, float sampleRate); numberOfChannels 57 Source/modules/webaudio/AudioBuffer.h unsigned numberOfChannels() const { return m_channels.size(); } numberOfChannels 69 Source/modules/webaudio/AudioBuffer.h AudioBuffer(unsigned numberOfChannels, size_t numberOfFrames, float sampleRate); numberOfChannels 109 Source/modules/webaudio/AudioBufferSourceNode.cpp if (numberOfChannels() != buffer()->numberOfChannels()) { numberOfChannels 127 Source/modules/webaudio/AudioBufferSourceNode.cpp for (unsigned i = 0; i < outputBus->numberOfChannels(); ++i) numberOfChannels 155 Source/modules/webaudio/AudioBufferSourceNode.cpp for (unsigned i = 0; i < numberOfChannels(); ++i) numberOfChannels 175 Source/modules/webaudio/AudioBufferSourceNode.cpp unsigned numberOfChannels = this->numberOfChannels(); numberOfChannels 176 Source/modules/webaudio/AudioBufferSourceNode.cpp unsigned busNumberOfChannels = bus->numberOfChannels(); numberOfChannels 178 Source/modules/webaudio/AudioBufferSourceNode.cpp bool channelCountGood = numberOfChannels && numberOfChannels == busNumberOfChannels; numberOfChannels 198 Source/modules/webaudio/AudioBufferSourceNode.cpp for (unsigned i = 0; i < numberOfChannels; ++i) numberOfChannels 267 Source/modules/webaudio/AudioBufferSourceNode.cpp for (unsigned i = 0; i < numberOfChannels; ++i) numberOfChannels 303 Source/modules/webaudio/AudioBufferSourceNode.cpp for (unsigned i = 0; i < numberOfChannels; ++i) { numberOfChannels 352 Source/modules/webaudio/AudioBufferSourceNode.cpp unsigned numberOfChannels = buffer->numberOfChannels(); numberOfChannels 354 Source/modules/webaudio/AudioBufferSourceNode.cpp if (numberOfChannels > AudioContext::maxNumberOfChannels()) { numberOfChannels 355 Source/modules/webaudio/AudioBufferSourceNode.cpp exceptionState.throwTypeError("number of input channels (" + String::number(numberOfChannels) numberOfChannels 361 Source/modules/webaudio/AudioBufferSourceNode.cpp output(0)->setNumberOfChannels(numberOfChannels); numberOfChannels 363 Source/modules/webaudio/AudioBufferSourceNode.cpp m_sourceChannels = adoptArrayPtr(new const float* [numberOfChannels]); numberOfChannels 364 Source/modules/webaudio/AudioBufferSourceNode.cpp m_destinationChannels = adoptArrayPtr(new float* [numberOfChannels]); numberOfChannels 366 Source/modules/webaudio/AudioBufferSourceNode.cpp for (unsigned i = 0; i < numberOfChannels; ++i) numberOfChannels 376 Source/modules/webaudio/AudioBufferSourceNode.cpp return output(0)->numberOfChannels(); numberOfChannels 60 Source/modules/webaudio/AudioBufferSourceNode.h unsigned numberOfChannels(); numberOfChannels 107 Source/modules/webaudio/AudioContext.cpp PassRefPtr<AudioContext> AudioContext::create(Document& document, unsigned numberOfChannels, size_t numberOfFrames, float sampleRate, ExceptionState& exceptionState) numberOfChannels 110 Source/modules/webaudio/AudioContext.cpp return OfflineAudioContext::create(&document, numberOfChannels, numberOfFrames, sampleRate, exceptionState); numberOfChannels 135 Source/modules/webaudio/AudioContext.cpp AudioContext::AudioContext(Document* document, unsigned numberOfChannels, size_t numberOfFrames, float sampleRate) numberOfChannels 152 Source/modules/webaudio/AudioContext.cpp m_renderTarget = AudioBuffer::create(numberOfChannels, numberOfFrames, sampleRate); numberOfChannels 284 Source/modules/webaudio/AudioContext.cpp PassRefPtr<AudioBuffer> AudioContext::createBuffer(unsigned numberOfChannels, size_t numberOfFrames, float sampleRate, ExceptionState& exceptionState) numberOfChannels 286 Source/modules/webaudio/AudioContext.cpp RefPtr<AudioBuffer> audioBuffer = AudioBuffer::create(numberOfChannels, numberOfFrames, sampleRate); numberOfChannels 288 Source/modules/webaudio/AudioContext.cpp if (numberOfChannels > AudioContext::maxNumberOfChannels()) { numberOfChannels 291 Source/modules/webaudio/AudioContext.cpp "requested number of channels (" + String::number(numberOfChannels) + ") exceeds maximum (" + String::number(AudioContext::maxNumberOfChannels()) + ")"); numberOfChannels 306 Source/modules/webaudio/AudioContext.cpp "unable to create buffer of " + String::number(numberOfChannels) numberOfChannels 83 Source/modules/webaudio/AudioContext.h static PassRefPtr<AudioContext> create(Document&, unsigned numberOfChannels, size_t numberOfFrames, float sampleRate, ExceptionState&); numberOfChannels 106 Source/modules/webaudio/AudioContext.h PassRefPtr<AudioBuffer> createBuffer(unsigned numberOfChannels, size_t numberOfFrames, float sampleRate, ExceptionState&); numberOfChannels 243 Source/modules/webaudio/AudioContext.h AudioContext(Document*, unsigned numberOfChannels, size_t numberOfFrames, float sampleRate); numberOfChannels 141 Source/modules/webaudio/AudioNodeInput.cpp unsigned numberOfInputChannels = numberOfChannels(); numberOfChannels 143 Source/modules/webaudio/AudioNodeInput.cpp if (numberOfInputChannels == m_internalSummingBus->numberOfChannels()) numberOfChannels 162 Source/modules/webaudio/AudioNodeInput.cpp maxChannels = max(maxChannels, output->numberOfChannels()); numberOfChannels 80 Source/modules/webaudio/AudioNodeInput.h unsigned numberOfChannels() const; numberOfChannels 37 Source/modules/webaudio/AudioNodeOutput.cpp AudioNodeOutput::AudioNodeOutput(AudioNode* node, unsigned numberOfChannels) numberOfChannels 39 Source/modules/webaudio/AudioNodeOutput.cpp , m_numberOfChannels(numberOfChannels) numberOfChannels 40 Source/modules/webaudio/AudioNodeOutput.cpp , m_desiredNumberOfChannels(numberOfChannels) numberOfChannels 46 Source/modules/webaudio/AudioNodeOutput.cpp ASSERT(numberOfChannels <= AudioContext::maxNumberOfChannels()); numberOfChannels 48 Source/modules/webaudio/AudioNodeOutput.cpp m_internalBus = AudioBus::create(numberOfChannels, AudioNode::ProcessingSizeInFrames); numberOfChannels 51 Source/modules/webaudio/AudioNodeOutput.cpp void AudioNodeOutput::setNumberOfChannels(unsigned numberOfChannels) numberOfChannels 53 Source/modules/webaudio/AudioNodeOutput.cpp ASSERT(numberOfChannels <= AudioContext::maxNumberOfChannels()); numberOfChannels 56 Source/modules/webaudio/AudioNodeOutput.cpp m_desiredNumberOfChannels = numberOfChannels; numberOfChannels 69 Source/modules/webaudio/AudioNodeOutput.cpp if (numberOfChannels() == m_internalBus->numberOfChannels()) numberOfChannels 72 Source/modules/webaudio/AudioNodeOutput.cpp m_internalBus = AudioBus::create(numberOfChannels(), AudioNode::ProcessingSizeInFrames); numberOfChannels 118 Source/modules/webaudio/AudioNodeOutput.cpp m_isInPlace = inPlaceBus && inPlaceBus->numberOfChannels() == numberOfChannels() && (m_renderingFanOutCount + m_renderingParamFanOutCount) == 1; numberOfChannels 46 Source/modules/webaudio/AudioNodeOutput.h AudioNodeOutput(AudioNode*, unsigned numberOfChannels); numberOfChannels 69 Source/modules/webaudio/AudioNodeOutput.h unsigned numberOfChannels() const { return m_numberOfChannels; } numberOfChannels 70 Source/modules/webaudio/AudioNodeOutput.h bool isChannelCountKnown() const { return numberOfChannels() > 0; } numberOfChannels 109 Source/modules/webaudio/AudioScheduledSourceNode.cpp for (unsigned i = 0; i < outputBus->numberOfChannels(); ++i) numberOfChannels 129 Source/modules/webaudio/AudioScheduledSourceNode.cpp for (unsigned i = 0; i < outputBus->numberOfChannels(); ++i) numberOfChannels 35 Source/modules/webaudio/BiquadProcessor.cpp BiquadProcessor::BiquadProcessor(AudioContext* context, float sampleRate, size_t numberOfChannels, bool autoInitialize) numberOfChannels 36 Source/modules/webaudio/BiquadProcessor.cpp : AudioDSPKernelProcessor(sampleRate, numberOfChannels) numberOfChannels 52 Source/modules/webaudio/BiquadProcessor.h BiquadProcessor(AudioContext*, float sampleRate, size_t numberOfChannels, bool autoInitialize); numberOfChannels 72 Source/modules/webaudio/ChannelMergerNode.cpp if (m_desiredNumberOfOutputChannels != output->numberOfChannels()) { numberOfChannels 82 Source/modules/webaudio/ChannelMergerNode.cpp unsigned numberOfInputChannels = input->bus()->numberOfChannels(); numberOfChannels 95 Source/modules/webaudio/ChannelMergerNode.cpp ASSERT(outputChannelIndex == output->numberOfChannels()); numberOfChannels 109 Source/modules/webaudio/ChannelMergerNode.cpp numberOfOutputChannels += input->numberOfChannels(); numberOfChannels 65 Source/modules/webaudio/ChannelSplitterNode.cpp unsigned numberOfSourceChannels = source->numberOfChannels(); numberOfChannels 127 Source/modules/webaudio/ConvolverNode.cpp unsigned numberOfChannels = buffer->numberOfChannels(); numberOfChannels 131 Source/modules/webaudio/ConvolverNode.cpp bool isBufferGood = numberOfChannels > 0 && numberOfChannels <= 4 && bufferLength; numberOfChannels 138 Source/modules/webaudio/ConvolverNode.cpp RefPtr<AudioBus> bufferBus = AudioBus::create(numberOfChannels, bufferLength, false); numberOfChannels 139 Source/modules/webaudio/ConvolverNode.cpp for (unsigned i = 0; i < numberOfChannels; ++i) numberOfChannels 35 Source/modules/webaudio/DelayProcessor.cpp DelayProcessor::DelayProcessor(AudioContext* context, float sampleRate, unsigned numberOfChannels, double maxDelayTime) numberOfChannels 36 Source/modules/webaudio/DelayProcessor.cpp : AudioDSPKernelProcessor(sampleRate, numberOfChannels) numberOfChannels 39 Source/modules/webaudio/DelayProcessor.h DelayProcessor(AudioContext*, float sampleRate, unsigned numberOfChannels, double maxDelayTime); numberOfChannels 95 Source/modules/webaudio/GainNode.cpp unsigned numberOfChannels = input->numberOfChannels(); numberOfChannels 97 Source/modules/webaudio/GainNode.cpp if (isInitialized() && numberOfChannels != output(0)->numberOfChannels()) { numberOfChannels 104 Source/modules/webaudio/GainNode.cpp output(0)->setNumberOfChannels(numberOfChannels); numberOfChannels 70 Source/modules/webaudio/MediaElementAudioSourceNode.cpp void MediaElementAudioSourceNode::setFormat(size_t numberOfChannels, float sourceSampleRate) numberOfChannels 72 Source/modules/webaudio/MediaElementAudioSourceNode.cpp if (numberOfChannels != m_sourceNumberOfChannels || sourceSampleRate != m_sourceSampleRate) { numberOfChannels 73 Source/modules/webaudio/MediaElementAudioSourceNode.cpp if (!numberOfChannels || numberOfChannels > AudioContext::maxNumberOfChannels() || sourceSampleRate < minSampleRate || sourceSampleRate > maxSampleRate) { numberOfChannels 75 Source/modules/webaudio/MediaElementAudioSourceNode.cpp WTF_LOG(Media, "MediaElementAudioSourceNode::setFormat(%u, %f) - unhandled format change", static_cast<unsigned>(numberOfChannels), sourceSampleRate); numberOfChannels 81 Source/modules/webaudio/MediaElementAudioSourceNode.cpp m_sourceNumberOfChannels = numberOfChannels; numberOfChannels 89 Source/modules/webaudio/MediaElementAudioSourceNode.cpp m_multiChannelResampler = adoptPtr(new MultiChannelResampler(scaleFactor, numberOfChannels)); numberOfChannels 100 Source/modules/webaudio/MediaElementAudioSourceNode.cpp output(0)->setNumberOfChannels(numberOfChannels); numberOfChannels 54 Source/modules/webaudio/MediaElementAudioSourceNode.h virtual void setFormat(size_t numberOfChannels, float sampleRate) OVERRIDE; numberOfChannels 40 Source/modules/webaudio/MediaStreamAudioDestinationNode.cpp PassRefPtr<MediaStreamAudioDestinationNode> MediaStreamAudioDestinationNode::create(AudioContext* context, size_t numberOfChannels) numberOfChannels 42 Source/modules/webaudio/MediaStreamAudioDestinationNode.cpp return adoptRef(new MediaStreamAudioDestinationNode(context, numberOfChannels)); numberOfChannels 45 Source/modules/webaudio/MediaStreamAudioDestinationNode.cpp MediaStreamAudioDestinationNode::MediaStreamAudioDestinationNode(AudioContext* context, size_t numberOfChannels) numberOfChannels 46 Source/modules/webaudio/MediaStreamAudioDestinationNode.cpp : AudioBasicInspectorNode(context, context->sampleRate(), numberOfChannels) numberOfChannels 47 Source/modules/webaudio/MediaStreamAudioDestinationNode.cpp , m_mixBus(AudioBus::create(numberOfChannels, ProcessingSizeInFrames)) numberOfChannels 59 Source/modules/webaudio/MediaStreamAudioDestinationNode.cpp m_source->setAudioFormat(numberOfChannels, context->sampleRate()); numberOfChannels 42 Source/modules/webaudio/MediaStreamAudioDestinationNode.h static PassRefPtr<MediaStreamAudioDestinationNode> create(AudioContext*, size_t numberOfChannels); numberOfChannels 52 Source/modules/webaudio/MediaStreamAudioDestinationNode.h MediaStreamAudioDestinationNode(AudioContext*, size_t numberOfChannels); numberOfChannels 64 Source/modules/webaudio/MediaStreamAudioSourceNode.cpp void MediaStreamAudioSourceNode::setFormat(size_t numberOfChannels, float sourceSampleRate) numberOfChannels 66 Source/modules/webaudio/MediaStreamAudioSourceNode.cpp if (numberOfChannels != m_sourceNumberOfChannels || sourceSampleRate != sampleRate()) { numberOfChannels 68 Source/modules/webaudio/MediaStreamAudioSourceNode.cpp if (!numberOfChannels || numberOfChannels > AudioContext::maxNumberOfChannels() || sourceSampleRate != sampleRate()) { numberOfChannels 70 Source/modules/webaudio/MediaStreamAudioSourceNode.cpp WTF_LOG(Media, "MediaStreamAudioSourceNode::setFormat(%u, %f) - unhandled format change", static_cast<unsigned>(numberOfChannels), sourceSampleRate); numberOfChannels 78 Source/modules/webaudio/MediaStreamAudioSourceNode.cpp m_sourceNumberOfChannels = numberOfChannels; numberOfChannels 85 Source/modules/webaudio/MediaStreamAudioSourceNode.cpp output(0)->setNumberOfChannels(numberOfChannels); numberOfChannels 99 Source/modules/webaudio/MediaStreamAudioSourceNode.cpp if (!mediaStream() || m_sourceNumberOfChannels != outputBus->numberOfChannels()) { numberOfChannels 54 Source/modules/webaudio/MediaStreamAudioSourceNode.h virtual void setFormat(size_t numberOfChannels, float sampleRate) OVERRIDE; numberOfChannels 39 Source/modules/webaudio/OfflineAudioContext.cpp PassRefPtr<OfflineAudioContext> OfflineAudioContext::create(ExecutionContext* context, unsigned numberOfChannels, size_t numberOfFrames, float sampleRate, ExceptionState& exceptionState) numberOfChannels 56 Source/modules/webaudio/OfflineAudioContext.cpp if (numberOfChannels > 10) { numberOfChannels 57 Source/modules/webaudio/OfflineAudioContext.cpp exceptionState.throwDOMException(SyntaxError, "number of channels (" + String::number(numberOfChannels) + ") exceeds maximum (10)."); numberOfChannels 66 Source/modules/webaudio/OfflineAudioContext.cpp RefPtr<OfflineAudioContext> audioContext(adoptRef(new OfflineAudioContext(document, numberOfChannels, numberOfFrames, sampleRate))); numberOfChannels 71 Source/modules/webaudio/OfflineAudioContext.cpp "OfflineAudioContext(" + String::number(numberOfChannels) numberOfChannels 81 Source/modules/webaudio/OfflineAudioContext.cpp OfflineAudioContext::OfflineAudioContext(Document* document, unsigned numberOfChannels, size_t numberOfFrames, float sampleRate) numberOfChannels 82 Source/modules/webaudio/OfflineAudioContext.cpp : AudioContext(document, numberOfChannels, numberOfFrames, sampleRate) numberOfChannels 36 Source/modules/webaudio/OfflineAudioContext.h static PassRefPtr<OfflineAudioContext> create(ExecutionContext*, unsigned numberOfChannels, size_t numberOfFrames, float sampleRate, ExceptionState&); numberOfChannels 41 Source/modules/webaudio/OfflineAudioContext.h OfflineAudioContext(Document*, unsigned numberOfChannels, size_t numberOfFrames, float sampleRate); numberOfChannels 50 Source/modules/webaudio/OfflineAudioDestinationNode.cpp m_renderBus = AudioBus::create(renderTarget->numberOfChannels(), renderQuantumSize); numberOfChannels 104 Source/modules/webaudio/OfflineAudioDestinationNode.cpp bool channelsMatch = m_renderBus->numberOfChannels() == m_renderTarget->numberOfChannels(); numberOfChannels 117 Source/modules/webaudio/OfflineAudioDestinationNode.cpp unsigned numberOfChannels = m_renderTarget->numberOfChannels(); numberOfChannels 126 Source/modules/webaudio/OfflineAudioDestinationNode.cpp for (unsigned channelIndex = 0; channelIndex < numberOfChannels; ++channelIndex) { numberOfChannels 222 Source/modules/webaudio/OscillatorNode.cpp if (!isInitialized() || !outputBus->numberOfChannels()) { numberOfChannels 92 Source/modules/webaudio/RealtimeAnalyser.cpp bool isBusGood = bus && bus->numberOfChannels() > 0 && bus->channel(0)->length() >= framesToProcess; numberOfChannels 111 Source/modules/webaudio/RealtimeAnalyser.cpp unsigned numberOfChannels = bus->numberOfChannels(); numberOfChannels 112 Source/modules/webaudio/RealtimeAnalyser.cpp if (numberOfChannels > 1) { numberOfChannels 113 Source/modules/webaudio/RealtimeAnalyser.cpp for (unsigned i = 1; i < numberOfChannels; i++) { numberOfChannels 117 Source/modules/webaudio/RealtimeAnalyser.cpp const float scale = 1.0 / numberOfChannels; numberOfChannels 174 Source/modules/webaudio/ScriptProcessorNode.cpp unsigned numberOfInputChannels = m_internalInputBus->numberOfChannels(); numberOfChannels 178 Source/modules/webaudio/ScriptProcessorNode.cpp if (m_internalInputBus->numberOfChannels()) numberOfChannels 191 Source/modules/webaudio/ScriptProcessorNode.cpp unsigned numberOfOutputChannels = outputBus->numberOfChannels(); numberOfChannels 35 Source/modules/webaudio/WaveShaperProcessor.cpp WaveShaperProcessor::WaveShaperProcessor(float sampleRate, size_t numberOfChannels) numberOfChannels 36 Source/modules/webaudio/WaveShaperProcessor.cpp : AudioDSPKernelProcessor(sampleRate, numberOfChannels) numberOfChannels 82 Source/modules/webaudio/WaveShaperProcessor.cpp bool channelCountMatches = source->numberOfChannels() == destination->numberOfChannels() && source->numberOfChannels() == m_kernels.size(); numberOfChannels 47 Source/modules/webaudio/WaveShaperProcessor.h WaveShaperProcessor(float sampleRate, size_t numberOfChannels); numberOfChannels 53 Source/platform/audio/AudioBus.cpp PassRefPtr<AudioBus> AudioBus::create(unsigned numberOfChannels, size_t length, bool allocate) numberOfChannels 55 Source/platform/audio/AudioBus.cpp ASSERT(numberOfChannels <= MaxBusChannels); numberOfChannels 56 Source/platform/audio/AudioBus.cpp if (numberOfChannels > MaxBusChannels) numberOfChannels 59 Source/platform/audio/AudioBus.cpp return adoptRef(new AudioBus(numberOfChannels, length, allocate)); numberOfChannels 62 Source/platform/audio/AudioBus.cpp AudioBus::AudioBus(unsigned numberOfChannels, size_t length, bool allocate) numberOfChannels 68 Source/platform/audio/AudioBus.cpp m_channels.reserveInitialCapacity(numberOfChannels); numberOfChannels 70 Source/platform/audio/AudioBus.cpp for (unsigned i = 0; i < numberOfChannels; ++i) { numberOfChannels 108 Source/platform/audio/AudioBus.cpp switch (numberOfChannels()) { numberOfChannels 164 Source/platform/audio/AudioBus.cpp if (numberOfChannels() != bus.numberOfChannels()) numberOfChannels 177 Source/platform/audio/AudioBus.cpp unsigned numberOfChannels = sourceBuffer->numberOfChannels(); numberOfChannels 187 Source/platform/audio/AudioBus.cpp RefPtr<AudioBus> audioBus = create(numberOfChannels, rangeLength); numberOfChannels 190 Source/platform/audio/AudioBus.cpp for (unsigned i = 0; i < numberOfChannels; ++i) numberOfChannels 199 Source/platform/audio/AudioBus.cpp for (unsigned i = 0; i < numberOfChannels(); ++i) { numberOfChannels 216 Source/platform/audio/AudioBus.cpp for (unsigned i = 0; i < numberOfChannels(); ++i) numberOfChannels 225 Source/platform/audio/AudioBus.cpp unsigned numberOfSourceChannels = sourceBus.numberOfChannels(); numberOfChannels 226 Source/platform/audio/AudioBus.cpp unsigned numberOfDestinationChannels = numberOfChannels(); numberOfChannels 250 Source/platform/audio/AudioBus.cpp unsigned numberOfSourceChannels = sourceBus.numberOfChannels(); numberOfChannels 251 Source/platform/audio/AudioBus.cpp unsigned numberOfDestinationChannels = numberOfChannels(); numberOfChannels 275 Source/platform/audio/AudioBus.cpp unsigned numberOfSourceChannels = sourceBus.numberOfChannels(); numberOfChannels 276 Source/platform/audio/AudioBus.cpp unsigned numberOfDestinationChannels = numberOfChannels(); numberOfChannels 318 Source/platform/audio/AudioBus.cpp unsigned numberOfSourceChannels = sourceBus.numberOfChannels(); numberOfChannels 319 Source/platform/audio/AudioBus.cpp unsigned numberOfDestinationChannels = numberOfChannels(); numberOfChannels 382 Source/platform/audio/AudioBus.cpp unsigned numberOfSourceChannels = sourceBus.numberOfChannels(); numberOfChannels 383 Source/platform/audio/AudioBus.cpp unsigned numberOfDestinationChannels = numberOfChannels(); numberOfChannels 400 Source/platform/audio/AudioBus.cpp unsigned numberOfSourceChannels = sourceBus.numberOfChannels(); numberOfChannels 401 Source/platform/audio/AudioBus.cpp unsigned numberOfDestinationChannels = numberOfChannels(); numberOfChannels 427 Source/platform/audio/AudioBus.cpp unsigned numberOfChannels = this->numberOfChannels(); numberOfChannels 428 Source/platform/audio/AudioBus.cpp ASSERT(numberOfChannels <= MaxBusChannels); numberOfChannels 429 Source/platform/audio/AudioBus.cpp if (numberOfChannels > MaxBusChannels) numberOfChannels 440 Source/platform/audio/AudioBus.cpp for (unsigned i = 0; i < numberOfChannels; ++i) { numberOfChannels 481 Source/platform/audio/AudioBus.cpp for (unsigned channelIndex = 0; channelIndex < numberOfChannels; ++channelIndex) { numberOfChannels 491 Source/platform/audio/AudioBus.cpp for (unsigned channelIndex = 0; channelIndex < numberOfChannels; ++channelIndex) numberOfChannels 503 Source/platform/audio/AudioBus.cpp if (sourceBus.numberOfChannels() != 1 && !topologyMatches(sourceBus)) { numberOfChannels 520 Source/platform/audio/AudioBus.cpp for (unsigned channelIndex = 0; channelIndex < numberOfChannels(); ++channelIndex) { numberOfChannels 521 Source/platform/audio/AudioBus.cpp if (sourceBus.numberOfChannels() == numberOfChannels()) numberOfChannels 538 Source/platform/audio/AudioBus.cpp unsigned numberOfSourceChannels = sourceBus->numberOfChannels(); numberOfChannels 574 Source/platform/audio/AudioBus.cpp unsigned numberOfDestinationChannels = resamplerSourceBus->numberOfChannels(); numberOfChannels 596 Source/platform/audio/AudioBus.cpp switch (sourceBus->numberOfChannels()) { numberOfChannels 671 Source/platform/audio/AudioBus.cpp if ((!mixToMono || audioBus->numberOfChannels() == 1) && audioBus->sampleRate() == sampleRate) numberOfChannels 69 Source/platform/audio/AudioBus.h static PassRefPtr<AudioBus> create(unsigned numberOfChannels, size_t length, bool allocate = true); numberOfChannels 75 Source/platform/audio/AudioBus.h unsigned numberOfChannels() const { return m_channels.size(); } numberOfChannels 152 Source/platform/audio/AudioBus.h AudioBus(unsigned numberOfChannels, size_t length, bool allocate); numberOfChannels 43 Source/platform/audio/AudioDSPKernelProcessor.cpp AudioDSPKernelProcessor::AudioDSPKernelProcessor(float sampleRate, unsigned numberOfChannels) numberOfChannels 44 Source/platform/audio/AudioDSPKernelProcessor.cpp : AudioProcessor(sampleRate, numberOfChannels) numberOfChannels 58 Source/platform/audio/AudioDSPKernelProcessor.cpp for (unsigned i = 0; i < numberOfChannels(); ++i) numberOfChannels 89 Source/platform/audio/AudioDSPKernelProcessor.cpp bool channelCountMatches = source->numberOfChannels() == destination->numberOfChannels() && source->numberOfChannels() == m_kernels.size(); numberOfChannels 119 Source/platform/audio/AudioDSPKernelProcessor.cpp void AudioDSPKernelProcessor::setNumberOfChannels(unsigned numberOfChannels) numberOfChannels 121 Source/platform/audio/AudioDSPKernelProcessor.cpp if (numberOfChannels == m_numberOfChannels) numberOfChannels 126 Source/platform/audio/AudioDSPKernelProcessor.cpp m_numberOfChannels = numberOfChannels; numberOfChannels 54 Source/platform/audio/AudioDSPKernelProcessor.h AudioDSPKernelProcessor(float sampleRate, unsigned numberOfChannels); numberOfChannels 66 Source/platform/audio/AudioDSPKernelProcessor.h virtual unsigned numberOfChannels() const OVERRIDE { return m_numberOfChannels; } numberOfChannels 45 Source/platform/audio/AudioDestinationConsumer.h virtual void setFormat(size_t numberOfChannels, float sampleRate) = 0; numberOfChannels 37 Source/platform/audio/AudioFIFO.cpp AudioFIFO::AudioFIFO(unsigned numberOfChannels, size_t fifoLength) numberOfChannels 38 Source/platform/audio/AudioFIFO.cpp : m_fifoAudioBus(AudioBus::create(numberOfChannels, fifoLength)) numberOfChannels 59 Source/platform/audio/AudioFIFO.cpp size_t numberOfChannels = m_fifoAudioBus->numberOfChannels(); numberOfChannels 61 Source/platform/audio/AudioFIFO.cpp for (size_t channelIndex = 0; channelIndex < numberOfChannels; ++channelIndex) { numberOfChannels 96 Source/platform/audio/AudioFIFO.cpp size_t numberOfChannels = m_fifoAudioBus->numberOfChannels(); numberOfChannels 98 Source/platform/audio/AudioFIFO.cpp for (size_t channelIndex = 0; channelIndex < numberOfChannels; ++channelIndex) { numberOfChannels 39 Source/platform/audio/AudioFIFO.h AudioFIFO(unsigned numberOfChannels, size_t fifoLength); numberOfChannels 46 Source/platform/audio/AudioProcessor.h AudioProcessor(float sampleRate, unsigned numberOfChannels) numberOfChannels 48 Source/platform/audio/AudioProcessor.h , m_numberOfChannels(numberOfChannels) numberOfChannels 66 Source/platform/audio/AudioProcessor.h virtual unsigned numberOfChannels() const = 0; numberOfChannels 37 Source/platform/audio/AudioPullFIFO.cpp AudioPullFIFO::AudioPullFIFO(AudioSourceProvider& audioProvider, unsigned numberOfChannels, size_t fifoLength, size_t providerSize) numberOfChannels 39 Source/platform/audio/AudioPullFIFO.cpp , m_fifo(numberOfChannels, fifoLength) numberOfChannels 41 Source/platform/audio/AudioPullFIFO.cpp , m_tempBus(AudioBus::create(numberOfChannels, providerSize)) numberOfChannels 49 Source/platform/audio/AudioPullFIFO.h AudioPullFIFO(AudioSourceProvider& audioProvider, unsigned numberOfChannels, size_t fifoLength, size_t providerSize); numberOfChannels 47 Source/platform/audio/AudioResampler.cpp AudioResampler::AudioResampler(unsigned numberOfChannels) numberOfChannels 50 Source/platform/audio/AudioResampler.cpp for (unsigned i = 0; i < numberOfChannels; ++i) numberOfChannels 53 Source/platform/audio/AudioResampler.cpp m_sourceBus = AudioBus::create(numberOfChannels, 0, false); numberOfChannels 56 Source/platform/audio/AudioResampler.cpp void AudioResampler::configureChannels(unsigned numberOfChannels) numberOfChannels 59 Source/platform/audio/AudioResampler.cpp if (numberOfChannels == currentSize) numberOfChannels 63 Source/platform/audio/AudioResampler.cpp if (numberOfChannels > currentSize) { numberOfChannels 64 Source/platform/audio/AudioResampler.cpp for (unsigned i = currentSize; i < numberOfChannels; ++i) numberOfChannels 67 Source/platform/audio/AudioResampler.cpp m_kernels.resize(numberOfChannels); numberOfChannels 70 Source/platform/audio/AudioResampler.cpp m_sourceBus = AudioBus::create(numberOfChannels, 0, false); numberOfChannels 79 Source/platform/audio/AudioResampler.cpp unsigned numberOfChannels = m_kernels.size(); numberOfChannels 82 Source/platform/audio/AudioResampler.cpp bool channelsMatch = (destinationBus && destinationBus->numberOfChannels() == numberOfChannels); numberOfChannels 88 Source/platform/audio/AudioResampler.cpp for (unsigned i = 0; i < numberOfChannels; ++i) { numberOfChannels 104 Source/platform/audio/AudioResampler.cpp for (unsigned i = 0; i < numberOfChannels; ++i) { numberOfChannels 120 Source/platform/audio/AudioResampler.cpp unsigned numberOfChannels = m_kernels.size(); numberOfChannels 121 Source/platform/audio/AudioResampler.cpp for (unsigned i = 0; i < numberOfChannels; ++i) numberOfChannels 45 Source/platform/audio/AudioResampler.h AudioResampler(unsigned numberOfChannels); numberOfChannels 54 Source/platform/audio/AudioResampler.h void configureChannels(unsigned numberOfChannels); numberOfChannels 32 Source/platform/audio/AudioSourceProviderClient.h virtual void setFormat(size_t numberOfChannels, float sampleRate) = 0; numberOfChannels 43 Source/platform/audio/DynamicsCompressor.cpp DynamicsCompressor::DynamicsCompressor(float sampleRate, unsigned numberOfChannels) numberOfChannels 44 Source/platform/audio/DynamicsCompressor.cpp : m_numberOfChannels(numberOfChannels) numberOfChannels 46 Source/platform/audio/DynamicsCompressor.cpp , m_compressor(sampleRate, numberOfChannels) numberOfChannels 53 Source/platform/audio/DynamicsCompressor.cpp setNumberOfChannels(numberOfChannels); numberOfChannels 104 Source/platform/audio/DynamicsCompressor.cpp unsigned numberOfChannels = destinationBus->numberOfChannels(); numberOfChannels 105 Source/platform/audio/DynamicsCompressor.cpp unsigned numberOfSourceChannels = sourceBus->numberOfChannels(); numberOfChannels 107 Source/platform/audio/DynamicsCompressor.cpp ASSERT(numberOfChannels == m_numberOfChannels && numberOfSourceChannels); numberOfChannels 109 Source/platform/audio/DynamicsCompressor.cpp if (numberOfChannels != m_numberOfChannels || !numberOfSourceChannels) { numberOfChannels 114 Source/platform/audio/DynamicsCompressor.cpp switch (numberOfChannels) { numberOfChannels 132 Source/platform/audio/DynamicsCompressor.cpp for (unsigned i = 0; i < numberOfChannels; ++i) numberOfChannels 169 Source/platform/audio/DynamicsCompressor.cpp numberOfChannels, numberOfChannels 201 Source/platform/audio/DynamicsCompressor.cpp void DynamicsCompressor::setNumberOfChannels(unsigned numberOfChannels) numberOfChannels 203 Source/platform/audio/DynamicsCompressor.cpp m_sourceChannels = adoptArrayPtr(new const float* [numberOfChannels]); numberOfChannels 204 Source/platform/audio/DynamicsCompressor.cpp m_destinationChannels = adoptArrayPtr(new float* [numberOfChannels]); numberOfChannels 206 Source/platform/audio/DynamicsCompressor.cpp m_compressor.setNumberOfChannels(numberOfChannels); numberOfChannels 207 Source/platform/audio/DynamicsCompressor.cpp m_numberOfChannels = numberOfChannels; numberOfChannels 70 Source/platform/audio/DynamicsCompressor.h DynamicsCompressor(float sampleRate, unsigned numberOfChannels); numberOfChannels 51 Source/platform/audio/DynamicsCompressorKernel.cpp DynamicsCompressorKernel::DynamicsCompressorKernel(float sampleRate, unsigned numberOfChannels) numberOfChannels 66 Source/platform/audio/DynamicsCompressorKernel.cpp setNumberOfChannels(numberOfChannels); numberOfChannels 74 Source/platform/audio/DynamicsCompressorKernel.cpp void DynamicsCompressorKernel::setNumberOfChannels(unsigned numberOfChannels) numberOfChannels 76 Source/platform/audio/DynamicsCompressorKernel.cpp if (m_preDelayBuffers.size() == numberOfChannels) numberOfChannels 80 Source/platform/audio/DynamicsCompressorKernel.cpp for (unsigned i = 0; i < numberOfChannels; ++i) numberOfChannels 206 Source/platform/audio/DynamicsCompressorKernel.cpp unsigned numberOfChannels, numberOfChannels 224 Source/platform/audio/DynamicsCompressorKernel.cpp ASSERT(m_preDelayBuffers.size() == numberOfChannels); numberOfChannels 376 Source/platform/audio/DynamicsCompressorKernel.cpp for (unsigned i = 0; i < numberOfChannels; ++i) { numberOfChannels 442 Source/platform/audio/DynamicsCompressorKernel.cpp for (unsigned i = 0; i < numberOfChannels; ++i) { numberOfChannels 43 Source/platform/audio/DynamicsCompressorKernel.h DynamicsCompressorKernel(float sampleRate, unsigned numberOfChannels); numberOfChannels 50 Source/platform/audio/DynamicsCompressorKernel.h unsigned numberOfChannels, numberOfChannels 54 Source/platform/audio/EqualPowerPanner.cpp bool isInputSafe = inputBus && (inputBus->numberOfChannels() == 1 || inputBus->numberOfChannels() == 2) && framesToProcess <= inputBus->length(); numberOfChannels 59 Source/platform/audio/EqualPowerPanner.cpp unsigned numberOfInputChannels = inputBus->numberOfChannels(); numberOfChannels 61 Source/platform/audio/EqualPowerPanner.cpp bool isOutputSafe = outputBus && outputBus->numberOfChannels() == 2 && framesToProcess <= outputBus->length(); numberOfChannels 88 Source/platform/audio/HRTFElevation.cpp bool isBusGood = responseLength == expectedLength && bus->numberOfChannels() == 2; numberOfChannels 188 Source/platform/audio/HRTFElevation.cpp bool isBusGood = responseLength == expectedLength && impulseResponse->numberOfChannels() == 2; numberOfChannels 123 Source/platform/audio/HRTFPanner.cpp unsigned numInputChannels = inputBus ? inputBus->numberOfChannels() : 0; numberOfChannels 128 Source/platform/audio/HRTFPanner.cpp bool isOutputGood = outputBus && outputBus->numberOfChannels() == 2 && framesToProcess <= outputBus->length(); numberOfChannels 46 Source/platform/audio/MultiChannelResampler.cpp ChannelProvider(AudioSourceProvider* multiChannelProvider, unsigned numberOfChannels) numberOfChannels 48 Source/platform/audio/MultiChannelResampler.cpp , m_numberOfChannels(numberOfChannels) numberOfChannels 58 Source/platform/audio/MultiChannelResampler.cpp bool isBusGood = bus && bus->numberOfChannels() == 1; numberOfChannels 95 Source/platform/audio/MultiChannelResampler.cpp MultiChannelResampler::MultiChannelResampler(double scaleFactor, unsigned numberOfChannels) numberOfChannels 96 Source/platform/audio/MultiChannelResampler.cpp : m_numberOfChannels(numberOfChannels) numberOfChannels 99 Source/platform/audio/MultiChannelResampler.cpp for (unsigned channelIndex = 0; channelIndex < numberOfChannels; ++channelIndex) numberOfChannels 43 Source/platform/audio/MultiChannelResampler.h MultiChannelResampler(double scaleFactor, unsigned numberOfChannels); numberOfChannels 60 Source/platform/audio/Reverb.cpp size_t numberOfChannels = response->numberOfChannels(); numberOfChannels 65 Source/platform/audio/Reverb.cpp for (size_t i = 0; i < numberOfChannels; ++i) { numberOfChannels 71 Source/platform/audio/Reverb.cpp power = sqrt(power / (numberOfChannels * length)); numberOfChannels 86 Source/platform/audio/Reverb.cpp if (response->numberOfChannels() == 4) numberOfChannels 92 Source/platform/audio/Reverb.cpp Reverb::Reverb(AudioBus* impulseResponse, size_t renderSliceSize, size_t maxFFTSize, size_t numberOfChannels, bool useBackgroundThreads, bool normalize) numberOfChannels 103 Source/platform/audio/Reverb.cpp initialize(impulseResponse, renderSliceSize, maxFFTSize, numberOfChannels, useBackgroundThreads); numberOfChannels 112 Source/platform/audio/Reverb.cpp void Reverb::initialize(AudioBus* impulseResponseBuffer, size_t renderSliceSize, size_t maxFFTSize, size_t numberOfChannels, bool useBackgroundThreads) numberOfChannels 117 Source/platform/audio/Reverb.cpp size_t numResponseChannels = impulseResponseBuffer->numberOfChannels(); numberOfChannels 118 Source/platform/audio/Reverb.cpp m_convolvers.reserveCapacity(numberOfChannels); numberOfChannels 140 Source/platform/audio/Reverb.cpp bool isSafeToProcess = sourceBus && destinationBus && sourceBus->numberOfChannels() > 0 && destinationBus->numberOfChannels() > 0 numberOfChannels 148 Source/platform/audio/Reverb.cpp if (destinationBus->numberOfChannels() > 2) { numberOfChannels 157 Source/platform/audio/Reverb.cpp size_t numInputChannels = sourceBus->numberOfChannels(); numberOfChannels 158 Source/platform/audio/Reverb.cpp size_t numOutputChannels = destinationBus->numberOfChannels(); numberOfChannels 48 Source/platform/audio/Reverb.h Reverb(AudioBus* impulseResponseBuffer, size_t renderSliceSize, size_t maxFFTSize, size_t numberOfChannels, bool useBackgroundThreads, bool normalize); numberOfChannels 57 Source/platform/audio/Reverb.h void initialize(AudioBus* impulseResponseBuffer, size_t renderSliceSize, size_t maxFFTSize, size_t numberOfChannels, bool useBackgroundThreads); numberOfChannels 49 Source/platform/exported/WebAudioBus.cpp void WebAudioBus::initialize(unsigned numberOfChannels, size_t length, double sampleRate) numberOfChannels 52 Source/platform/exported/WebAudioBus.cpp RefPtr<AudioBus> audioBus = AudioBus::create(numberOfChannels, length); numberOfChannels 95 Source/platform/exported/WebAudioBus.cpp return m_private->numberOfChannels(); numberOfChannels 131 Source/platform/exported/WebAudioBus.cpp ASSERT(channelIndex < numberOfChannels()); numberOfChannels 178 Source/platform/exported/WebMediaStreamSource.cpp virtual void setFormat(size_t numberOfChannels, float sampleRate) OVERRIDE; numberOfChannels 190 Source/platform/exported/WebMediaStreamSource.cpp void ConsumerWrapper::setFormat(size_t numberOfChannels, float sampleRate) numberOfChannels 192 Source/platform/exported/WebMediaStreamSource.cpp m_consumer->setFormat(numberOfChannels, sampleRate); numberOfChannels 201 Source/platform/exported/WebMediaStreamSource.cpp size_t numberOfChannels = bus->numberOfChannels(); numberOfChannels 202 Source/platform/exported/WebMediaStreamSource.cpp blink::WebVector<const float*> busVector(numberOfChannels); numberOfChannels 203 Source/platform/exported/WebMediaStreamSource.cpp for (size_t i = 0; i < numberOfChannels; ++i) numberOfChannels 81 Source/platform/mediastream/MediaStreamComponent.cpp size_t n = bus->numberOfChannels(); numberOfChannels 91 Source/platform/mediastream/MediaStreamSource.cpp void MediaStreamSource::setAudioFormat(size_t numberOfChannels, float sampleRate) numberOfChannels 96 Source/platform/mediastream/MediaStreamSource.cpp (*it)->setFormat(numberOfChannels, sampleRate); numberOfChannels 89 Source/platform/mediastream/MediaStreamSource.h void setAudioFormat(size_t numberOfChannels, float sampleRate); numberOfChannels 63 Source/platform/mediastream/MediaStreamWebAudioSource.cpp size_t n = bus->numberOfChannels(); numberOfChannels 552 Source/web/WebMediaPlayerClientImpl.cpp size_t n = bus->numberOfChannels(); numberOfChannels 560 Source/web/WebMediaPlayerClientImpl.cpp void WebMediaPlayerClientImpl::AudioClientImpl::setFormat(size_t numberOfChannels, float sampleRate) numberOfChannels 563 Source/web/WebMediaPlayerClientImpl.cpp m_client->setFormat(numberOfChannels, sampleRate); numberOfChannels 169 Source/web/WebMediaPlayerClientImpl.h virtual void setFormat(size_t numberOfChannels, float sampleRate) OVERRIDE; numberOfChannels 152 public/platform/Platform.h virtual WebAudioDevice* createAudioDevice(size_t bufferSize, unsigned numberOfInputChannels, unsigned numberOfChannels, double sampleRate, WebAudioDevice::RenderCallback*, const WebString& deviceId) { return 0; } numberOfChannels 50 public/platform/WebAudioBus.h void initialize(unsigned numberOfChannels, size_t length, double sampleRate); numberOfChannels 59 public/platform/WebAudioBus.h unsigned numberOfChannels() const; numberOfChannels 36 public/platform/WebAudioDestinationConsumer.h virtual void setFormat(size_t numberOfChannels, float sampleRate) = 0; numberOfChannels 32 public/platform/WebAudioSourceProviderClient.h virtual void setFormat(size_t numberOfChannels, float sampleRate) = 0;