sampleRate 39 Source/modules/webaudio/AnalyserNode.cpp AnalyserNode::AnalyserNode(AudioContext* context, float sampleRate) sampleRate 40 Source/modules/webaudio/AnalyserNode.cpp : AudioBasicInspectorNode(context, sampleRate, 2) sampleRate 38 Source/modules/webaudio/AnalyserNode.h static PassRefPtr<AnalyserNode> create(AudioContext* context, float sampleRate) sampleRate 40 Source/modules/webaudio/AnalyserNode.h return adoptRef(new AnalyserNode(context, sampleRate)); sampleRate 71 Source/modules/webaudio/AnalyserNode.h AnalyserNode(AudioContext*, float sampleRate); sampleRate 50 Source/modules/webaudio/AsyncAudioDecoder.cpp void AsyncAudioDecoder::decodeAsync(ArrayBuffer* audioData, float sampleRate, PassOwnPtr<AudioBufferCallback> successCallback, PassOwnPtr<AudioBufferCallback> errorCallback) sampleRate 61 Source/modules/webaudio/AsyncAudioDecoder.cpp m_thread->postTask(new Task(WTF::bind(&AsyncAudioDecoder::decode, audioDataRef.release().leakRef(), sampleRate, successCallback.leakPtr(), errorCallback.leakPtr()))); sampleRate 64 Source/modules/webaudio/AsyncAudioDecoder.cpp void AsyncAudioDecoder::decode(ArrayBuffer* audioData, float sampleRate, AudioBufferCallback* successCallback, AudioBufferCallback* errorCallback) sampleRate 67 Source/modules/webaudio/AsyncAudioDecoder.cpp RefPtr<AudioBuffer> audioBuffer = AudioBuffer::createFromAudioFileData(audioData->data(), audioData->byteLength(), false, sampleRate); sampleRate 47 Source/modules/webaudio/AsyncAudioDecoder.h void decodeAsync(ArrayBuffer* audioData, float sampleRate, PassOwnPtr<AudioBufferCallback> successCallback, PassOwnPtr<AudioBufferCallback> errorCallback); sampleRate 50 Source/modules/webaudio/AsyncAudioDecoder.h static void decode(ArrayBuffer* audioData, float sampleRate, AudioBufferCallback* successCallback, AudioBufferCallback* errorCallback); sampleRate 37 Source/modules/webaudio/AudioBasicInspectorNode.cpp AudioBasicInspectorNode::AudioBasicInspectorNode(AudioContext* context, float sampleRate, unsigned outputChannelCount) sampleRate 38 Source/modules/webaudio/AudioBasicInspectorNode.cpp : AudioNode(context, sampleRate) sampleRate 39 Source/modules/webaudio/AudioBasicInspectorNode.h AudioBasicInspectorNode(AudioContext*, float sampleRate, unsigned outputChannelCount); sampleRate 39 Source/modules/webaudio/AudioBasicProcessorNode.cpp AudioBasicProcessorNode::AudioBasicProcessorNode(AudioContext* context, float sampleRate) sampleRate 40 Source/modules/webaudio/AudioBasicProcessorNode.cpp : AudioNode(context, sampleRate) sampleRate 42 Source/modules/webaudio/AudioBasicProcessorNode.h AudioBasicProcessorNode(AudioContext*, float sampleRate); sampleRate 55 Source/modules/webaudio/AudioBuffer.cpp PassRefPtr<AudioBuffer> AudioBuffer::create(unsigned numberOfChannels, size_t numberOfFrames, float sampleRate) sampleRate 57 Source/modules/webaudio/AudioBuffer.cpp if (sampleRate < minAllowedSampleRate() || sampleRate > maxAllowedSampleRate() || numberOfChannels > AudioContext::maxNumberOfChannels() || !numberOfFrames) sampleRate 60 Source/modules/webaudio/AudioBuffer.cpp RefPtr<AudioBuffer> buffer = adoptRef(new AudioBuffer(numberOfChannels, numberOfFrames, sampleRate)); sampleRate 67 Source/modules/webaudio/AudioBuffer.cpp PassRefPtr<AudioBuffer> AudioBuffer::createFromAudioFileData(const void* data, size_t dataSize, bool mixToMono, float sampleRate) sampleRate 69 Source/modules/webaudio/AudioBuffer.cpp RefPtr<AudioBus> bus = createBusFromInMemoryAudioFile(data, dataSize, mixToMono, sampleRate); sampleRate 84 Source/modules/webaudio/AudioBuffer.cpp AudioBuffer::AudioBuffer(unsigned numberOfChannels, size_t numberOfFrames, float sampleRate) sampleRate 86 Source/modules/webaudio/AudioBuffer.cpp , m_sampleRate(sampleRate) sampleRate 107 Source/modules/webaudio/AudioBuffer.cpp , m_sampleRate(bus->sampleRate()) sampleRate 46 Source/modules/webaudio/AudioBuffer.h static PassRefPtr<AudioBuffer> create(unsigned numberOfChannels, size_t numberOfFrames, float sampleRate); sampleRate 49 Source/modules/webaudio/AudioBuffer.h static PassRefPtr<AudioBuffer> createFromAudioFileData(const void* data, size_t dataSize, bool mixToMono, float sampleRate); sampleRate 53 Source/modules/webaudio/AudioBuffer.h double duration() const { return length() / static_cast<double>(sampleRate()); } sampleRate 54 Source/modules/webaudio/AudioBuffer.h float sampleRate() const { return m_sampleRate; } sampleRate 69 Source/modules/webaudio/AudioBuffer.h AudioBuffer(unsigned numberOfChannels, size_t numberOfFrames, float sampleRate); sampleRate 53 Source/modules/webaudio/AudioBufferSourceNode.cpp PassRefPtr<AudioBufferSourceNode> AudioBufferSourceNode::create(AudioContext* context, float sampleRate) sampleRate 55 Source/modules/webaudio/AudioBufferSourceNode.cpp return adoptRef(new AudioBufferSourceNode(context, sampleRate)); sampleRate 58 Source/modules/webaudio/AudioBufferSourceNode.cpp AudioBufferSourceNode::AudioBufferSourceNode(AudioContext* context, float sampleRate) sampleRate 59 Source/modules/webaudio/AudioBufferSourceNode.cpp : AudioScheduledSourceNode(context, sampleRate) sampleRate 206 Source/modules/webaudio/AudioBufferSourceNode.cpp double bufferSampleRate = buffer()->sampleRate(); sampleRate 231 Source/modules/webaudio/AudioBufferSourceNode.cpp double loopStartFrame = m_loopStart * buffer()->sampleRate(); sampleRate 232 Source/modules/webaudio/AudioBufferSourceNode.cpp double loopEndFrame = m_loopEnd * buffer()->sampleRate(); sampleRate 423 Source/modules/webaudio/AudioBufferSourceNode.cpp m_virtualReadIndex = AudioUtilities::timeToSampleFrame(m_grainOffset, buffer()->sampleRate()); sampleRate 446 Source/modules/webaudio/AudioBufferSourceNode.cpp sampleRateFactor = buffer()->sampleRate() / sampleRate(); sampleRate 47 Source/modules/webaudio/AudioBufferSourceNode.h static PassRefPtr<AudioBufferSourceNode> create(AudioContext*, float sampleRate); sampleRate 96 Source/modules/webaudio/AudioBufferSourceNode.h AudioBufferSourceNode(AudioContext*, float sampleRate); sampleRate 81 Source/modules/webaudio/AudioContext.cpp bool AudioContext::isSampleRateRangeGood(float sampleRate) sampleRate 85 Source/modules/webaudio/AudioContext.cpp return sampleRate >= 44100 && sampleRate <= 96000; sampleRate 107 Source/modules/webaudio/AudioContext.cpp PassRefPtr<AudioContext> AudioContext::create(Document& document, unsigned numberOfChannels, size_t numberOfFrames, float sampleRate, ExceptionState& exceptionState) sampleRate 110 Source/modules/webaudio/AudioContext.cpp return OfflineAudioContext::create(&document, numberOfChannels, numberOfFrames, sampleRate, exceptionState); sampleRate 135 Source/modules/webaudio/AudioContext.cpp AudioContext::AudioContext(Document* document, unsigned numberOfChannels, size_t numberOfFrames, float sampleRate) sampleRate 152 Source/modules/webaudio/AudioContext.cpp m_renderTarget = AudioBuffer::create(numberOfChannels, numberOfFrames, sampleRate); sampleRate 284 Source/modules/webaudio/AudioContext.cpp PassRefPtr<AudioBuffer> AudioContext::createBuffer(unsigned numberOfChannels, size_t numberOfFrames, float sampleRate, ExceptionState& exceptionState) sampleRate 286 Source/modules/webaudio/AudioContext.cpp RefPtr<AudioBuffer> audioBuffer = AudioBuffer::create(numberOfChannels, numberOfFrames, sampleRate); sampleRate 292 Source/modules/webaudio/AudioContext.cpp } else if (sampleRate < AudioBuffer::minAllowedSampleRate() || sampleRate > AudioBuffer::maxAllowedSampleRate()) { sampleRate 295 Source/modules/webaudio/AudioContext.cpp "requested sample rate (" + String::number(sampleRate) sampleRate 326 Source/modules/webaudio/AudioContext.cpp RefPtr<AudioBuffer> audioBuffer = AudioBuffer::createFromAudioFileData(arrayBuffer->data(), arrayBuffer->byteLength(), mixToMono, sampleRate()); sampleRate 345 Source/modules/webaudio/AudioContext.cpp m_audioDecoder.decodeAsync(audioData, sampleRate(), successCallback, errorCallback); sampleRate 351 Source/modules/webaudio/AudioContext.cpp RefPtr<AudioBufferSourceNode> node = AudioBufferSourceNode::create(this, m_destinationNode->sampleRate()); sampleRate 410 Source/modules/webaudio/AudioContext.cpp node->setFormat(2, sampleRate()); sampleRate 443 Source/modules/webaudio/AudioContext.cpp RefPtr<ScriptProcessorNode> node = ScriptProcessorNode::create(this, m_destinationNode->sampleRate(), bufferSize, numberOfInputChannels, numberOfOutputChannels); sampleRate 478 Source/modules/webaudio/AudioContext.cpp return BiquadFilterNode::create(this, m_destinationNode->sampleRate()); sampleRate 490 Source/modules/webaudio/AudioContext.cpp return PannerNode::create(this, m_destinationNode->sampleRate()); sampleRate 496 Source/modules/webaudio/AudioContext.cpp return ConvolverNode::create(this, m_destinationNode->sampleRate()); sampleRate 502 Source/modules/webaudio/AudioContext.cpp return DynamicsCompressorNode::create(this, m_destinationNode->sampleRate()); sampleRate 508 Source/modules/webaudio/AudioContext.cpp return AnalyserNode::create(this, m_destinationNode->sampleRate()); sampleRate 514 Source/modules/webaudio/AudioContext.cpp return GainNode::create(this, m_destinationNode->sampleRate()); sampleRate 526 Source/modules/webaudio/AudioContext.cpp RefPtr<DelayNode> node = DelayNode::create(this, m_destinationNode->sampleRate(), maxDelayTime, exceptionState); sampleRate 541 Source/modules/webaudio/AudioContext.cpp RefPtr<ChannelSplitterNode> node = ChannelSplitterNode::create(this, m_destinationNode->sampleRate(), numberOfOutputs); sampleRate 564 Source/modules/webaudio/AudioContext.cpp RefPtr<ChannelMergerNode> node = ChannelMergerNode::create(this, m_destinationNode->sampleRate(), numberOfInputs); sampleRate 581 Source/modules/webaudio/AudioContext.cpp RefPtr<OscillatorNode> node = OscillatorNode::create(this, m_destinationNode->sampleRate()); sampleRate 633 Source/modules/webaudio/AudioContext.cpp return PeriodicWave::create(sampleRate(), real, imag); sampleRate 83 Source/modules/webaudio/AudioContext.h static PassRefPtr<AudioContext> create(Document&, unsigned numberOfChannels, size_t numberOfFrames, float sampleRate, ExceptionState&); sampleRate 100 Source/modules/webaudio/AudioContext.h float sampleRate() const { return m_destinationNode->sampleRate(); } sampleRate 106 Source/modules/webaudio/AudioContext.h PassRefPtr<AudioBuffer> createBuffer(unsigned numberOfChannels, size_t numberOfFrames, float sampleRate, ExceptionState&); sampleRate 243 Source/modules/webaudio/AudioContext.h AudioContext(Document*, unsigned numberOfChannels, size_t numberOfFrames, float sampleRate); sampleRate 245 Source/modules/webaudio/AudioContext.h static bool isSampleRateRangeGood(float sampleRate); sampleRate 39 Source/modules/webaudio/AudioDestinationNode.cpp AudioDestinationNode::AudioDestinationNode(AudioContext* context, float sampleRate) sampleRate 40 Source/modules/webaudio/AudioDestinationNode.cpp : AudioNode(context, sampleRate) sampleRate 41 Source/modules/webaudio/AudioDestinationNode.h AudioDestinationNode(AudioContext*, float sampleRate); sampleRate 52 Source/modules/webaudio/AudioDestinationNode.h double currentTime() const { return currentSampleFrame() / static_cast<double>(sampleRate()); } sampleRate 46 Source/modules/webaudio/AudioNode.cpp AudioNode::AudioNode(AudioContext* context, float sampleRate) sampleRate 50 Source/modules/webaudio/AudioNode.cpp , m_sampleRate(sampleRate) sampleRate 57 Source/modules/webaudio/AudioNode.h AudioNode(AudioContext*, float sampleRate); sampleRate 130 Source/modules/webaudio/AudioNode.h virtual float sampleRate() const { return m_sampleRate; } sampleRate 158 Source/modules/webaudio/AudioParam.cpp double sampleRate = context()->sampleRate(); sampleRate 160 Source/modules/webaudio/AudioParam.cpp double endTime = startTime + numberOfValues / sampleRate; sampleRate 164 Source/modules/webaudio/AudioParam.cpp m_value = m_timeline.valuesForTimeRange(startTime, endTime, narrowPrecisionToFloat(m_value), values, numberOfValues, sampleRate, sampleRate); sampleRate 140 Source/modules/webaudio/AudioParamTimeline.cpp double sampleRate = context->sampleRate(); sampleRate 142 Source/modules/webaudio/AudioParamTimeline.cpp double endTime = startTime + 1.1 / sampleRate; // time just beyond one sample-frame sampleRate 143 Source/modules/webaudio/AudioParamTimeline.cpp double controlRate = sampleRate / AudioNode::ProcessingSizeInFrames; // one parameter change per render quantum sampleRate 144 Source/modules/webaudio/AudioParamTimeline.cpp value = valuesForTimeRange(startTime, endTime, defaultValue, &value, 1, sampleRate, controlRate); sampleRate 156 Source/modules/webaudio/AudioParamTimeline.cpp double sampleRate, sampleRate 169 Source/modules/webaudio/AudioParamTimeline.cpp float value = valuesForTimeRangeImpl(startTime, endTime, defaultValue, values, numberOfValues, sampleRate, controlRate); sampleRate 180 Source/modules/webaudio/AudioParamTimeline.cpp double sampleRate, sampleRate 203 Source/modules/webaudio/AudioParamTimeline.cpp unsigned fillToFrame = AudioUtilities::timeToSampleFrame(fillToTime - startTime, sampleRate); sampleRate 233 Source/modules/webaudio/AudioParamTimeline.cpp double sampleFrameTimeIncr = 1 / sampleRate; sampleRate 236 Source/modules/webaudio/AudioParamTimeline.cpp unsigned fillToFrame = AudioUtilities::timeToSampleFrame(fillToTime - startTime, sampleRate); sampleRate 255 Source/modules/webaudio/AudioParamTimeline.cpp float numSampleFrames = deltaTime * sampleRate; sampleRate 264 Source/modules/webaudio/AudioParamTimeline.cpp AudioUtilities::timeToSampleFrame(currentTime - time1, sampleRate) / numSampleFrames); sampleRate 314 Source/modules/webaudio/AudioParamTimeline.cpp float durationFrames = duration * sampleRate; sampleRate 317 Source/modules/webaudio/AudioParamTimeline.cpp if (!curve || !curveData || !numberOfCurvePoints || duration <= 0 || sampleRate <= 0) { sampleRate 330 Source/modules/webaudio/AudioParamTimeline.cpp fillToFrame = AudioUtilities::timeToSampleFrame(fillToTime - startTime, sampleRate); sampleRate 339 Source/modules/webaudio/AudioParamTimeline.cpp float frameOffset = (currentTime - time1) * sampleRate; sampleRate 63 Source/modules/webaudio/AudioParamTimeline.h float valuesForTimeRange(double startTime, double endTime, float defaultValue, float* values, unsigned numberOfValues, double sampleRate, double controlRate); sampleRate 106 Source/modules/webaudio/AudioParamTimeline.h float valuesForTimeRangeImpl(double startTime, double endTime, float defaultValue, float* values, unsigned numberOfValues, double sampleRate, double controlRate); sampleRate 45 Source/modules/webaudio/AudioScheduledSourceNode.cpp AudioScheduledSourceNode::AudioScheduledSourceNode(AudioContext* context, float sampleRate) sampleRate 46 Source/modules/webaudio/AudioScheduledSourceNode.cpp : AudioSourceNode(context, sampleRate) sampleRate 67 Source/modules/webaudio/AudioScheduledSourceNode.cpp double sampleRate = this->sampleRate(); sampleRate 75 Source/modules/webaudio/AudioScheduledSourceNode.cpp size_t startFrame = AudioUtilities::timeToSampleFrame(m_startTime, sampleRate); sampleRate 76 Source/modules/webaudio/AudioScheduledSourceNode.cpp size_t endFrame = m_endTime == UnknownTime ? 0 : AudioUtilities::timeToSampleFrame(m_endTime, sampleRate); sampleRate 68 Source/modules/webaudio/AudioScheduledSourceNode.h AudioScheduledSourceNode(AudioContext*, float sampleRate); sampleRate 38 Source/modules/webaudio/AudioSourceNode.h AudioSourceNode(AudioContext* context, float sampleRate) sampleRate 39 Source/modules/webaudio/AudioSourceNode.h : AudioNode(context, sampleRate) sampleRate 33 Source/modules/webaudio/BiquadFilterNode.cpp BiquadFilterNode::BiquadFilterNode(AudioContext* context, float sampleRate) sampleRate 34 Source/modules/webaudio/BiquadFilterNode.cpp : AudioBasicProcessorNode(context, sampleRate) sampleRate 38 Source/modules/webaudio/BiquadFilterNode.cpp m_processor = adoptPtr(new BiquadProcessor(context, sampleRate, 1, false)); sampleRate 49 Source/modules/webaudio/BiquadFilterNode.h static PassRefPtr<BiquadFilterNode> create(AudioContext* context, float sampleRate) sampleRate 51 Source/modules/webaudio/BiquadFilterNode.h return adoptRef(new BiquadFilterNode(context, sampleRate)); sampleRate 70 Source/modules/webaudio/BiquadFilterNode.h BiquadFilterNode(AudioContext*, float sampleRate); sampleRate 35 Source/modules/webaudio/BiquadProcessor.cpp BiquadProcessor::BiquadProcessor(AudioContext* context, float sampleRate, size_t numberOfChannels, bool autoInitialize) sampleRate 36 Source/modules/webaudio/BiquadProcessor.cpp : AudioDSPKernelProcessor(sampleRate, numberOfChannels) sampleRate 45 Source/modules/webaudio/BiquadProcessor.cpp double nyquist = 0.5 * this->sampleRate(); sampleRate 52 Source/modules/webaudio/BiquadProcessor.h BiquadProcessor(AudioContext*, float sampleRate, size_t numberOfChannels, bool autoInitialize); sampleRate 43 Source/modules/webaudio/ChannelMergerNode.cpp PassRefPtr<ChannelMergerNode> ChannelMergerNode::create(AudioContext* context, float sampleRate, unsigned numberOfInputs) sampleRate 48 Source/modules/webaudio/ChannelMergerNode.cpp return adoptRef(new ChannelMergerNode(context, sampleRate, numberOfInputs)); sampleRate 51 Source/modules/webaudio/ChannelMergerNode.cpp ChannelMergerNode::ChannelMergerNode(AudioContext* context, float sampleRate, unsigned numberOfInputs) sampleRate 52 Source/modules/webaudio/ChannelMergerNode.cpp : AudioNode(context, sampleRate) sampleRate 41 Source/modules/webaudio/ChannelMergerNode.h static PassRefPtr<ChannelMergerNode> create(AudioContext*, float sampleRate, unsigned numberOfInputs); sampleRate 55 Source/modules/webaudio/ChannelMergerNode.h ChannelMergerNode(AudioContext*, float sampleRate, unsigned numberOfInputs); sampleRate 37 Source/modules/webaudio/ChannelSplitterNode.cpp PassRefPtr<ChannelSplitterNode> ChannelSplitterNode::create(AudioContext* context, float sampleRate, unsigned numberOfOutputs) sampleRate 42 Source/modules/webaudio/ChannelSplitterNode.cpp return adoptRef(new ChannelSplitterNode(context, sampleRate, numberOfOutputs)); sampleRate 45 Source/modules/webaudio/ChannelSplitterNode.cpp ChannelSplitterNode::ChannelSplitterNode(AudioContext* context, float sampleRate, unsigned numberOfOutputs) sampleRate 46 Source/modules/webaudio/ChannelSplitterNode.cpp : AudioNode(context, sampleRate) sampleRate 37 Source/modules/webaudio/ChannelSplitterNode.h static PassRefPtr<ChannelSplitterNode> create(AudioContext*, float sampleRate, unsigned numberOfOutputs); sampleRate 46 Source/modules/webaudio/ChannelSplitterNode.h ChannelSplitterNode(AudioContext*, float sampleRate, unsigned numberOfOutputs); sampleRate 50 Source/modules/webaudio/ConvolverNode.cpp ConvolverNode::ConvolverNode(AudioContext* context, float sampleRate) sampleRate 51 Source/modules/webaudio/ConvolverNode.cpp : AudioNode(context, sampleRate) sampleRate 119 Source/modules/webaudio/ConvolverNode.cpp if (buffer->sampleRate() != context()->sampleRate()) { sampleRate 122 Source/modules/webaudio/ConvolverNode.cpp "The buffer sample rate of " + String::number(buffer->sampleRate()) sampleRate 123 Source/modules/webaudio/ConvolverNode.cpp + " does not match the context rate of " + String::number(context()->sampleRate()) sampleRate 142 Source/modules/webaudio/ConvolverNode.cpp bufferBus->setSampleRate(buffer->sampleRate()); sampleRate 166 Source/modules/webaudio/ConvolverNode.cpp return m_reverb ? m_reverb->impulseResponseLength() / static_cast<double>(sampleRate()) : 0; sampleRate 176 Source/modules/webaudio/ConvolverNode.cpp return m_reverb ? m_reverb->latencyFrames() / static_cast<double>(sampleRate()) : 0; sampleRate 41 Source/modules/webaudio/ConvolverNode.h static PassRefPtr<ConvolverNode> create(AudioContext* context, float sampleRate) sampleRate 43 Source/modules/webaudio/ConvolverNode.h return adoptRef(new ConvolverNode(context, sampleRate)); sampleRate 61 Source/modules/webaudio/ConvolverNode.h ConvolverNode(AudioContext*, float sampleRate); sampleRate 44 Source/modules/webaudio/DelayDSPKernel.cpp ASSERT(processor && processor->sampleRate() > 0); sampleRate 45 Source/modules/webaudio/DelayDSPKernel.cpp if (!(processor && processor->sampleRate() > 0)) sampleRate 53 Source/modules/webaudio/DelayDSPKernel.cpp m_buffer.allocate(bufferLengthForDelay(m_maxDelayTime, processor->sampleRate())); sampleRate 56 Source/modules/webaudio/DelayDSPKernel.cpp m_smoothingRate = AudioUtilities::discreteTimeConstantForSampleRate(SmoothingTimeConstant, processor->sampleRate()); sampleRate 42 Source/modules/webaudio/DelayDSPKernel.h virtual double delayTime(float sampleRate) OVERRIDE; sampleRate 40 Source/modules/webaudio/DelayNode.cpp DelayNode::DelayNode(AudioContext* context, float sampleRate, double maxDelayTime, ExceptionState& exceptionState) sampleRate 41 Source/modules/webaudio/DelayNode.cpp : AudioBasicProcessorNode(context, sampleRate) sampleRate 52 Source/modules/webaudio/DelayNode.cpp m_processor = adoptPtr(new DelayProcessor(context, sampleRate, 1, maxDelayTime)); sampleRate 39 Source/modules/webaudio/DelayNode.h static PassRefPtr<DelayNode> create(AudioContext* context, float sampleRate, double maxDelayTime, ExceptionState& exceptionState) sampleRate 41 Source/modules/webaudio/DelayNode.h return adoptRef(new DelayNode(context, sampleRate, maxDelayTime, exceptionState)); sampleRate 47 Source/modules/webaudio/DelayNode.h DelayNode(AudioContext*, float sampleRate, double maxDelayTime, ExceptionState&); sampleRate 35 Source/modules/webaudio/DelayProcessor.cpp DelayProcessor::DelayProcessor(AudioContext* context, float sampleRate, unsigned numberOfChannels, double maxDelayTime) sampleRate 36 Source/modules/webaudio/DelayProcessor.cpp : AudioDSPKernelProcessor(sampleRate, numberOfChannels) sampleRate 39 Source/modules/webaudio/DelayProcessor.h DelayProcessor(AudioContext*, float sampleRate, unsigned numberOfChannels, double maxDelayTime); sampleRate 41 Source/modules/webaudio/DynamicsCompressorNode.cpp DynamicsCompressorNode::DynamicsCompressorNode(AudioContext* context, float sampleRate) sampleRate 42 Source/modules/webaudio/DynamicsCompressorNode.cpp : AudioNode(context, sampleRate) sampleRate 94 Source/modules/webaudio/DynamicsCompressorNode.cpp m_dynamicsCompressor = adoptPtr(new DynamicsCompressor(sampleRate(), defaultNumberOfOutputChannels)); sampleRate 38 Source/modules/webaudio/DynamicsCompressorNode.h static PassRefPtr<DynamicsCompressorNode> create(AudioContext* context, float sampleRate) sampleRate 40 Source/modules/webaudio/DynamicsCompressorNode.h return adoptRef(new DynamicsCompressorNode(context, sampleRate)); sampleRate 64 Source/modules/webaudio/DynamicsCompressorNode.h DynamicsCompressorNode(AudioContext*, float sampleRate); sampleRate 37 Source/modules/webaudio/GainNode.cpp GainNode::GainNode(AudioContext* context, float sampleRate) sampleRate 38 Source/modules/webaudio/GainNode.cpp : AudioNode(context, sampleRate) sampleRate 42 Source/modules/webaudio/GainNode.h static PassRefPtr<GainNode> create(AudioContext* context, float sampleRate) sampleRate 44 Source/modules/webaudio/GainNode.h return adoptRef(new GainNode(context, sampleRate)); sampleRate 60 Source/modules/webaudio/GainNode.h GainNode(AudioContext*, float sampleRate); sampleRate 50 Source/modules/webaudio/MediaElementAudioSourceNode.cpp : AudioSourceNode(context, context->sampleRate()) sampleRate 87 Source/modules/webaudio/MediaElementAudioSourceNode.cpp if (sourceSampleRate != sampleRate()) { sampleRate 88 Source/modules/webaudio/MediaElementAudioSourceNode.cpp double scaleFactor = sourceSampleRate / sampleRate(); sampleRate 121 Source/modules/webaudio/MediaElementAudioSourceNode.cpp ASSERT(m_sourceSampleRate != sampleRate()); sampleRate 125 Source/modules/webaudio/MediaElementAudioSourceNode.cpp ASSERT(m_sourceSampleRate == sampleRate()); sampleRate 54 Source/modules/webaudio/MediaElementAudioSourceNode.h virtual void setFormat(size_t numberOfChannels, float sampleRate) OVERRIDE; sampleRate 46 Source/modules/webaudio/MediaStreamAudioDestinationNode.cpp : AudioBasicInspectorNode(context, context->sampleRate(), numberOfChannels) sampleRate 59 Source/modules/webaudio/MediaStreamAudioDestinationNode.cpp m_source->setAudioFormat(numberOfChannels, context->sampleRate()); sampleRate 44 Source/modules/webaudio/MediaStreamAudioSourceNode.cpp : AudioSourceNode(context, context->sampleRate()) sampleRate 66 Source/modules/webaudio/MediaStreamAudioSourceNode.cpp if (numberOfChannels != m_sourceNumberOfChannels || sourceSampleRate != sampleRate()) { sampleRate 68 Source/modules/webaudio/MediaStreamAudioSourceNode.cpp if (!numberOfChannels || numberOfChannels > AudioContext::maxNumberOfChannels() || sourceSampleRate != sampleRate()) { sampleRate 54 Source/modules/webaudio/MediaStreamAudioSourceNode.h virtual void setFormat(size_t numberOfChannels, float sampleRate) OVERRIDE; sampleRate 39 Source/modules/webaudio/OfflineAudioContext.cpp PassRefPtr<OfflineAudioContext> OfflineAudioContext::create(ExecutionContext* context, unsigned numberOfChannels, size_t numberOfFrames, float sampleRate, ExceptionState& exceptionState) sampleRate 61 Source/modules/webaudio/OfflineAudioContext.cpp if (!isSampleRateRangeGood(sampleRate)) { sampleRate 62 Source/modules/webaudio/OfflineAudioContext.cpp exceptionState.throwDOMException(SyntaxError, "sample rate (" + String::number(sampleRate) + ") must be in the range 44100-96000 Hz."); sampleRate 66 Source/modules/webaudio/OfflineAudioContext.cpp RefPtr<OfflineAudioContext> audioContext(adoptRef(new OfflineAudioContext(document, numberOfChannels, numberOfFrames, sampleRate))); sampleRate 73 Source/modules/webaudio/OfflineAudioContext.cpp + ", " + String::number(sampleRate) sampleRate 81 Source/modules/webaudio/OfflineAudioContext.cpp OfflineAudioContext::OfflineAudioContext(Document* document, unsigned numberOfChannels, size_t numberOfFrames, float sampleRate) sampleRate 82 Source/modules/webaudio/OfflineAudioContext.cpp : AudioContext(document, numberOfChannels, numberOfFrames, sampleRate) sampleRate 36 Source/modules/webaudio/OfflineAudioContext.h static PassRefPtr<OfflineAudioContext> create(ExecutionContext*, unsigned numberOfChannels, size_t numberOfFrames, float sampleRate, ExceptionState&); sampleRate 41 Source/modules/webaudio/OfflineAudioContext.h OfflineAudioContext(Document*, unsigned numberOfChannels, size_t numberOfFrames, float sampleRate); sampleRate 46 Source/modules/webaudio/OfflineAudioDestinationNode.cpp : AudioDestinationNode(context, renderTarget->sampleRate()) sampleRate 55 Source/modules/webaudio/OfflineAudioDestinationNode.h virtual float sampleRate() const OVERRIDE { return m_renderTarget->sampleRate(); } sampleRate 46 Source/modules/webaudio/OscillatorNode.cpp PassRefPtr<OscillatorNode> OscillatorNode::create(AudioContext* context, float sampleRate) sampleRate 48 Source/modules/webaudio/OscillatorNode.cpp return adoptRef(new OscillatorNode(context, sampleRate)); sampleRate 51 Source/modules/webaudio/OscillatorNode.cpp OscillatorNode::OscillatorNode(AudioContext* context, float sampleRate) sampleRate 52 Source/modules/webaudio/OscillatorNode.cpp : AudioScheduledSourceNode(context, sampleRate) sampleRate 117 Source/modules/webaudio/OscillatorNode.cpp float sampleRate = this->sampleRate(); sampleRate 121 Source/modules/webaudio/OscillatorNode.cpp DEFINE_STATIC_REF(PeriodicWave, periodicWaveSine, (PeriodicWave::createSine(sampleRate))); sampleRate 126 Source/modules/webaudio/OscillatorNode.cpp DEFINE_STATIC_REF(PeriodicWave, periodicWaveSquare, (PeriodicWave::createSquare(sampleRate))); sampleRate 131 Source/modules/webaudio/OscillatorNode.cpp DEFINE_STATIC_REF(PeriodicWave, periodicWaveSawtooth, (PeriodicWave::createSawtooth(sampleRate))); sampleRate 136 Source/modules/webaudio/OscillatorNode.cpp DEFINE_STATIC_REF(PeriodicWave, periodicWaveTriangle, (PeriodicWave::createTriangle(sampleRate))); sampleRate 55 Source/modules/webaudio/OscillatorNode.h static PassRefPtr<OscillatorNode> create(AudioContext*, float sampleRate); sampleRate 73 Source/modules/webaudio/OscillatorNode.h OscillatorNode(AudioContext*, float sampleRate); sampleRate 49 Source/modules/webaudio/PannerNode.cpp PannerNode::PannerNode(AudioContext* context, float sampleRate) sampleRate 50 Source/modules/webaudio/PannerNode.cpp : AudioNode(context, sampleRate) sampleRate 68 Source/modules/webaudio/PannerNode.cpp m_hrtfDatabaseLoader = HRTFDatabaseLoader::createAndLoadAsynchronouslyIfNecessary(context->sampleRate()); sampleRate 173 Source/modules/webaudio/PannerNode.cpp m_panner = Panner::create(m_panningModel, sampleRate(), m_hrtfDatabaseLoader.get()); sampleRate 224 Source/modules/webaudio/PannerNode.cpp OwnPtr<Panner> newPanner = Panner::create(model, sampleRate(), m_hrtfDatabaseLoader.get()); sampleRate 65 Source/modules/webaudio/PannerNode.h static PassRefPtr<PannerNode> create(AudioContext* context, float sampleRate) sampleRate 67 Source/modules/webaudio/PannerNode.h return adoptRef(new PannerNode(context, sampleRate)); sampleRate 126 Source/modules/webaudio/PannerNode.h PannerNode(AudioContext*, float sampleRate); sampleRate 48 Source/modules/webaudio/PeriodicWave.cpp PassRefPtr<PeriodicWave> PeriodicWave::create(float sampleRate, Float32Array* real, Float32Array* imag) sampleRate 53 Source/modules/webaudio/PeriodicWave.cpp RefPtr<PeriodicWave> periodicWave = adoptRef(new PeriodicWave(sampleRate)); sampleRate 61 Source/modules/webaudio/PeriodicWave.cpp PassRefPtr<PeriodicWave> PeriodicWave::createSine(float sampleRate) sampleRate 63 Source/modules/webaudio/PeriodicWave.cpp RefPtr<PeriodicWave> periodicWave = adoptRef(new PeriodicWave(sampleRate)); sampleRate 68 Source/modules/webaudio/PeriodicWave.cpp PassRefPtr<PeriodicWave> PeriodicWave::createSquare(float sampleRate) sampleRate 70 Source/modules/webaudio/PeriodicWave.cpp RefPtr<PeriodicWave> periodicWave = adoptRef(new PeriodicWave(sampleRate)); sampleRate 75 Source/modules/webaudio/PeriodicWave.cpp PassRefPtr<PeriodicWave> PeriodicWave::createSawtooth(float sampleRate) sampleRate 77 Source/modules/webaudio/PeriodicWave.cpp RefPtr<PeriodicWave> periodicWave = adoptRef(new PeriodicWave(sampleRate)); sampleRate 82 Source/modules/webaudio/PeriodicWave.cpp PassRefPtr<PeriodicWave> PeriodicWave::createTriangle(float sampleRate) sampleRate 84 Source/modules/webaudio/PeriodicWave.cpp RefPtr<PeriodicWave> periodicWave = adoptRef(new PeriodicWave(sampleRate)); sampleRate 89 Source/modules/webaudio/PeriodicWave.cpp PeriodicWave::PeriodicWave(float sampleRate) sampleRate 90 Source/modules/webaudio/PeriodicWave.cpp : m_sampleRate(sampleRate) sampleRate 45 Source/modules/webaudio/PeriodicWave.h static PassRefPtr<PeriodicWave> createSine(float sampleRate); sampleRate 46 Source/modules/webaudio/PeriodicWave.h static PassRefPtr<PeriodicWave> createSquare(float sampleRate); sampleRate 47 Source/modules/webaudio/PeriodicWave.h static PassRefPtr<PeriodicWave> createSawtooth(float sampleRate); sampleRate 48 Source/modules/webaudio/PeriodicWave.h static PassRefPtr<PeriodicWave> createTriangle(float sampleRate); sampleRate 51 Source/modules/webaudio/PeriodicWave.h static PassRefPtr<PeriodicWave> create(float sampleRate, Float32Array* real, Float32Array* imag); sampleRate 67 Source/modules/webaudio/PeriodicWave.h explicit PeriodicWave(float sampleRate); sampleRate 59 Source/modules/webaudio/ScriptProcessorNode.cpp PassRefPtr<ScriptProcessorNode> ScriptProcessorNode::create(AudioContext* context, float sampleRate, size_t bufferSize, unsigned numberOfInputChannels, unsigned numberOfOutputChannels) sampleRate 87 Source/modules/webaudio/ScriptProcessorNode.cpp return adoptRef(new ScriptProcessorNode(context, sampleRate, bufferSize, numberOfInputChannels, numberOfOutputChannels)); sampleRate 90 Source/modules/webaudio/ScriptProcessorNode.cpp ScriptProcessorNode::ScriptProcessorNode(AudioContext* context, float sampleRate, size_t bufferSize, unsigned numberOfInputChannels, unsigned numberOfOutputChannels) sampleRate 91 Source/modules/webaudio/ScriptProcessorNode.cpp : AudioNode(context, sampleRate) sampleRate 125 Source/modules/webaudio/ScriptProcessorNode.cpp float sampleRate = context()->sampleRate(); sampleRate 130 Source/modules/webaudio/ScriptProcessorNode.cpp RefPtr<AudioBuffer> inputBuffer = m_numberOfInputChannels ? AudioBuffer::create(m_numberOfInputChannels, bufferSize(), sampleRate) : nullptr; sampleRate 131 Source/modules/webaudio/ScriptProcessorNode.cpp RefPtr<AudioBuffer> outputBuffer = m_numberOfOutputChannels ? AudioBuffer::create(m_numberOfOutputChannels, bufferSize(), sampleRate) : nullptr; sampleRate 270 Source/modules/webaudio/ScriptProcessorNode.cpp double playbackTime = (context()->currentSampleFrame() + m_bufferSize) / static_cast<double>(context()->sampleRate()); sampleRate 53 Source/modules/webaudio/ScriptProcessorNode.h static PassRefPtr<ScriptProcessorNode> create(AudioContext*, float sampleRate, size_t bufferSize, unsigned numberOfInputChannels, unsigned numberOfOutputChannels); sampleRate 71 Source/modules/webaudio/ScriptProcessorNode.h ScriptProcessorNode(AudioContext*, float sampleRate, size_t bufferSize, unsigned numberOfInputChannels, unsigned numberOfOutputChannels); sampleRate 200 Source/modules/webaudio/WaveShaperDSPKernel.cpp return static_cast<double>(latencyFrames) / sampleRate(); sampleRate 39 Source/modules/webaudio/WaveShaperNode.cpp : AudioBasicProcessorNode(context, context->sampleRate()) sampleRate 42 Source/modules/webaudio/WaveShaperNode.cpp m_processor = adoptPtr(new WaveShaperProcessor(context->sampleRate(), 1)); sampleRate 35 Source/modules/webaudio/WaveShaperProcessor.cpp WaveShaperProcessor::WaveShaperProcessor(float sampleRate, size_t numberOfChannels) sampleRate 36 Source/modules/webaudio/WaveShaperProcessor.cpp : AudioDSPKernelProcessor(sampleRate, numberOfChannels) sampleRate 47 Source/modules/webaudio/WaveShaperProcessor.h WaveShaperProcessor(float sampleRate, size_t numberOfChannels); sampleRate 188 Source/platform/audio/AudioBus.cpp audioBus->setSampleRate(sourceBuffer->sampleRate()); sampleRate 531 Source/platform/audio/AudioBus.cpp ASSERT(sourceBus && sourceBus->sampleRate()); sampleRate 532 Source/platform/audio/AudioBus.cpp if (!sourceBus || !sourceBus->sampleRate()) sampleRate 535 Source/platform/audio/AudioBus.cpp double sourceSampleRate = sourceBus->sampleRate(); sampleRate 614 Source/platform/audio/AudioBus.cpp destinationBus->setSampleRate(sourceBus->sampleRate()); sampleRate 646 Source/platform/audio/AudioBus.cpp PassRefPtr<AudioBus> AudioBus::loadPlatformResource(const char* name, float sampleRate) sampleRate 658 Source/platform/audio/AudioBus.cpp if (audioBus->sampleRate() == sampleRate) sampleRate 661 Source/platform/audio/AudioBus.cpp return AudioBus::createBySampleRateConverting(audioBus.get(), false, sampleRate); sampleRate 664 Source/platform/audio/AudioBus.cpp PassRefPtr<AudioBus> createBusFromInMemoryAudioFile(const void* data, size_t dataSize, bool mixToMono, float sampleRate) sampleRate 671 Source/platform/audio/AudioBus.cpp if ((!mixToMono || audioBus->numberOfChannels() == 1) && audioBus->sampleRate() == sampleRate) sampleRate 674 Source/platform/audio/AudioBus.cpp return AudioBus::createBySampleRateConverting(audioBus.get(), mixToMono, sampleRate); sampleRate 90 Source/platform/audio/AudioBus.h float sampleRate() const { return m_sampleRate; } sampleRate 91 Source/platform/audio/AudioBus.h void setSampleRate(float sampleRate) { m_sampleRate = sampleRate; } sampleRate 147 Source/platform/audio/AudioBus.h static PassRefPtr<AudioBus> loadPlatformResource(const char* name, float sampleRate); sampleRate 44 Source/platform/audio/AudioDSPKernel.h , m_sampleRate(kernelProcessor->sampleRate()) sampleRate 48 Source/platform/audio/AudioDSPKernel.h AudioDSPKernel(float sampleRate) sampleRate 50 Source/platform/audio/AudioDSPKernel.h , m_sampleRate(sampleRate) sampleRate 60 Source/platform/audio/AudioDSPKernel.h float sampleRate() const { return m_sampleRate; } sampleRate 61 Source/platform/audio/AudioDSPKernel.h double nyquist() const { return 0.5 * sampleRate(); } sampleRate 43 Source/platform/audio/AudioDSPKernelProcessor.cpp AudioDSPKernelProcessor::AudioDSPKernelProcessor(float sampleRate, unsigned numberOfChannels) sampleRate 44 Source/platform/audio/AudioDSPKernelProcessor.cpp : AudioProcessor(sampleRate, numberOfChannels) sampleRate 54 Source/platform/audio/AudioDSPKernelProcessor.h AudioDSPKernelProcessor(float sampleRate, unsigned numberOfChannels); sampleRate 49 Source/platform/audio/AudioDelayDSPKernel.cpp AudioDelayDSPKernel::AudioDelayDSPKernel(double maxDelayTime, float sampleRate) sampleRate 50 Source/platform/audio/AudioDelayDSPKernel.cpp : AudioDSPKernel(sampleRate) sampleRate 59 Source/platform/audio/AudioDelayDSPKernel.cpp size_t bufferLength = bufferLengthForDelay(maxDelayTime, sampleRate); sampleRate 67 Source/platform/audio/AudioDelayDSPKernel.cpp m_smoothingRate = AudioUtilities::discreteTimeConstantForSampleRate(SmoothingTimeConstant, sampleRate); sampleRate 70 Source/platform/audio/AudioDelayDSPKernel.cpp size_t AudioDelayDSPKernel::bufferLengthForDelay(double maxDelayTime, double sampleRate) const sampleRate 74 Source/platform/audio/AudioDelayDSPKernel.cpp return 1 + AudioUtilities::timeToSampleFrame(maxDelayTime, sampleRate); sampleRate 87 Source/platform/audio/AudioDelayDSPKernel.cpp double AudioDelayDSPKernel::delayTime(float sampleRate) sampleRate 89 Source/platform/audio/AudioDelayDSPKernel.cpp return m_desiredDelayFrames / sampleRate; sampleRate 105 Source/platform/audio/AudioDelayDSPKernel.cpp float sampleRate = this->sampleRate(); sampleRate 115 Source/platform/audio/AudioDelayDSPKernel.cpp delayTime = this->delayTime(sampleRate); sampleRate 138 Source/platform/audio/AudioDelayDSPKernel.cpp double desiredDelayFrames = m_currentDelayTime * sampleRate; sampleRate 35 Source/platform/audio/AudioDelayDSPKernel.h AudioDelayDSPKernel(double maxDelayTime, float sampleRate); sampleRate 52 Source/platform/audio/AudioDelayDSPKernel.h virtual double delayTime(float sampleRate); sampleRate 64 Source/platform/audio/AudioDelayDSPKernel.h size_t bufferLengthForDelay(double delayTime, double sampleRate) const; sampleRate 48 Source/platform/audio/AudioDestination.cpp PassOwnPtr<AudioDestination> AudioDestination::create(AudioIOCallback& callback, const String& inputDeviceId, unsigned numberOfInputChannels, unsigned numberOfOutputChannels, float sampleRate) sampleRate 50 Source/platform/audio/AudioDestination.cpp return adoptPtr(new AudioDestination(callback, inputDeviceId, numberOfInputChannels, numberOfOutputChannels, sampleRate)); sampleRate 53 Source/platform/audio/AudioDestination.cpp AudioDestination::AudioDestination(AudioIOCallback& callback, const String& inputDeviceId, unsigned numberOfInputChannels, unsigned numberOfOutputChannels, float sampleRate) sampleRate 58 Source/platform/audio/AudioDestination.cpp , m_sampleRate(sampleRate) sampleRate 85 Source/platform/audio/AudioDestination.cpp m_audioDevice = adoptPtr(blink::Platform::current()->createAudioDevice(m_callbackBufferSize, numberOfInputChannels, numberOfOutputChannels, sampleRate, this, inputDeviceId)); sampleRate 50 Source/platform/audio/AudioDestination.h AudioDestination(AudioIOCallback&, const String& inputDeviceId, unsigned numberOfInputChannels, unsigned numberOfOutputChannels, float sampleRate); sampleRate 55 Source/platform/audio/AudioDestination.h static PassOwnPtr<AudioDestination> create(AudioIOCallback&, const String& inputDeviceId, unsigned numberOfInputChannels, unsigned numberOfOutputChannels, float sampleRate); sampleRate 61 Source/platform/audio/AudioDestination.h float sampleRate() const { return m_sampleRate; } sampleRate 45 Source/platform/audio/AudioDestinationConsumer.h virtual void setFormat(size_t numberOfChannels, float sampleRate) = 0; sampleRate 44 Source/platform/audio/AudioFileReader.h PLATFORM_EXPORT PassRefPtr<AudioBus> createBusFromInMemoryAudioFile(const void* data, size_t dataSize, bool mixToMono, float sampleRate); sampleRate 46 Source/platform/audio/AudioFileReader.h PLATFORM_EXPORT PassRefPtr<AudioBus> createBusFromAudioFile(const char* filePath, bool mixToMono, float sampleRate); sampleRate 46 Source/platform/audio/AudioProcessor.h AudioProcessor(float sampleRate, unsigned numberOfChannels) sampleRate 49 Source/platform/audio/AudioProcessor.h , m_sampleRate(sampleRate) sampleRate 70 Source/platform/audio/AudioProcessor.h float sampleRate() const { return m_sampleRate; } sampleRate 32 Source/platform/audio/AudioSourceProviderClient.h virtual void setFormat(size_t numberOfChannels, float sampleRate) = 0; sampleRate 53 Source/platform/audio/AudioUtilities.cpp double discreteTimeConstantForSampleRate(double timeConstant, double sampleRate) sampleRate 55 Source/platform/audio/AudioUtilities.cpp return 1 - exp(-1 / (sampleRate * timeConstant)); sampleRate 58 Source/platform/audio/AudioUtilities.cpp size_t timeToSampleFrame(double time, double sampleRate) sampleRate 60 Source/platform/audio/AudioUtilities.cpp return static_cast<size_t>(round(time * sampleRate)); sampleRate 40 Source/platform/audio/AudioUtilities.h PLATFORM_EXPORT double discreteTimeConstantForSampleRate(double timeConstant, double sampleRate); sampleRate 43 Source/platform/audio/AudioUtilities.h PLATFORM_EXPORT size_t timeToSampleFrame(double time, double sampleRate); sampleRate 43 Source/platform/audio/DynamicsCompressor.cpp DynamicsCompressor::DynamicsCompressor(float sampleRate, unsigned numberOfChannels) sampleRate 45 Source/platform/audio/DynamicsCompressor.cpp , m_sampleRate(sampleRate) sampleRate 46 Source/platform/audio/DynamicsCompressor.cpp , m_compressor(sampleRate, numberOfChannels) sampleRate 70 Source/platform/audio/DynamicsCompressor.h DynamicsCompressor(float sampleRate, unsigned numberOfChannels); sampleRate 79 Source/platform/audio/DynamicsCompressor.h float sampleRate() const { return m_sampleRate; } sampleRate 83 Source/platform/audio/DynamicsCompressor.h double latencyTime() const { return m_compressor.latencyFrames() / static_cast<double>(sampleRate()); } sampleRate 51 Source/platform/audio/DynamicsCompressorKernel.cpp DynamicsCompressorKernel::DynamicsCompressorKernel(float sampleRate, unsigned numberOfChannels) sampleRate 52 Source/platform/audio/DynamicsCompressorKernel.cpp : m_sampleRate(sampleRate) sampleRate 71 Source/platform/audio/DynamicsCompressorKernel.cpp m_meteringReleaseK = static_cast<float>(discreteTimeConstantForSampleRate(meteringReleaseTimeConstant, sampleRate)); sampleRate 87 Source/platform/audio/DynamicsCompressorKernel.cpp unsigned preDelayFrames = preDelayTime * sampleRate(); sampleRate 226 Source/platform/audio/DynamicsCompressorKernel.cpp float sampleRate = this->sampleRate(); sampleRate 244 Source/platform/audio/DynamicsCompressorKernel.cpp float attackFrames = attackTime * sampleRate; sampleRate 247 Source/platform/audio/DynamicsCompressorKernel.cpp float releaseFrames = sampleRate * releaseTime; sampleRate 251 Source/platform/audio/DynamicsCompressorKernel.cpp float satReleaseFrames = satReleaseTime * sampleRate; sampleRate 43 Source/platform/audio/DynamicsCompressorKernel.h DynamicsCompressorKernel(float sampleRate, unsigned numberOfChannels); sampleRate 72 Source/platform/audio/DynamicsCompressorKernel.h float sampleRate() const { return m_sampleRate; } sampleRate 43 Source/platform/audio/EqualPowerPanner.cpp EqualPowerPanner::EqualPowerPanner(float sampleRate) sampleRate 49 Source/platform/audio/EqualPowerPanner.cpp m_smoothingConstant = AudioUtilities::discreteTimeConstantForSampleRate(SmoothingTimeConstant, sampleRate); sampleRate 36 Source/platform/audio/EqualPowerPanner.h EqualPowerPanner(float sampleRate); sampleRate 47 Source/platform/audio/HRTFDatabase.cpp PassOwnPtr<HRTFDatabase> HRTFDatabase::create(float sampleRate) sampleRate 49 Source/platform/audio/HRTFDatabase.cpp OwnPtr<HRTFDatabase> hrtfDatabase = adoptPtr(new HRTFDatabase(sampleRate)); sampleRate 53 Source/platform/audio/HRTFDatabase.cpp HRTFDatabase::HRTFDatabase(float sampleRate) sampleRate 55 Source/platform/audio/HRTFDatabase.cpp , m_sampleRate(sampleRate) sampleRate 59 Source/platform/audio/HRTFDatabase.cpp OwnPtr<HRTFElevation> hrtfElevation = HRTFElevation::createForSubject("Composite", elevation, sampleRate); sampleRate 78 Source/platform/audio/HRTFDatabase.cpp m_elevations[i + jj] = HRTFElevation::createByInterpolatingSlices(m_elevations[i].get(), m_elevations[j].get(), x, sampleRate); sampleRate 46 Source/platform/audio/HRTFDatabase.h static PassOwnPtr<HRTFDatabase> create(float sampleRate); sampleRate 57 Source/platform/audio/HRTFDatabase.h float sampleRate() const { return m_sampleRate; } sampleRate 63 Source/platform/audio/HRTFDatabase.h explicit HRTFDatabase(float sampleRate); sampleRate 44 Source/platform/audio/HRTFDatabaseLoader.cpp PassRefPtr<HRTFDatabaseLoader> HRTFDatabaseLoader::createAndLoadAsynchronouslyIfNecessary(float sampleRate) sampleRate 51 Source/platform/audio/HRTFDatabaseLoader.cpp RefPtr<HRTFDatabaseLoader> loader = s_loaderMap->get(sampleRate); sampleRate 53 Source/platform/audio/HRTFDatabaseLoader.cpp ASSERT(sampleRate == loader->databaseSampleRate()); sampleRate 57 Source/platform/audio/HRTFDatabaseLoader.cpp loader = adoptRef(new HRTFDatabaseLoader(sampleRate)); sampleRate 58 Source/platform/audio/HRTFDatabaseLoader.cpp s_loaderMap->add(sampleRate, loader.get()); sampleRate 65 Source/platform/audio/HRTFDatabaseLoader.cpp HRTFDatabaseLoader::HRTFDatabaseLoader(float sampleRate) sampleRate 66 Source/platform/audio/HRTFDatabaseLoader.cpp : m_databaseSampleRate(sampleRate) sampleRate 50 Source/platform/audio/HRTFDatabaseLoader.h static PassRefPtr<HRTFDatabaseLoader> createAndLoadAsynchronouslyIfNecessary(float sampleRate); sampleRate 70 Source/platform/audio/HRTFDatabaseLoader.h explicit HRTFDatabaseLoader(float sampleRate); sampleRate 99 Source/platform/audio/HRTFElevation.cpp bool HRTFElevation::calculateSymmetricKernelsForAzimuthElevation(int azimuth, int elevation, float sampleRate, const String& subjectName, sampleRate 104 Source/platform/audio/HRTFElevation.cpp bool success = calculateKernelsForAzimuthElevation(azimuth, elevation, sampleRate, subjectName, kernelL1, kernelR1); sampleRate 113 Source/platform/audio/HRTFElevation.cpp success = calculateKernelsForAzimuthElevation(symmetricAzimuth, elevation, sampleRate, subjectName, kernelL2, kernelR2); sampleRate 124 Source/platform/audio/HRTFElevation.cpp bool HRTFElevation::calculateKernelsForAzimuthElevation(int azimuth, int elevation, float sampleRate, const String& subjectName, sampleRate 172 Source/platform/audio/HRTFElevation.cpp RefPtr<AudioBus> response(AudioBus::createBySampleRateConverting(preSampleRateConvertedResponse.get(), false, sampleRate)); sampleRate 178 Source/platform/audio/HRTFElevation.cpp RefPtr<AudioBus> impulseResponse(AudioBus::loadPlatformResource(resourceName.utf8().data(), sampleRate)); sampleRate 185 Source/platform/audio/HRTFElevation.cpp size_t expectedLength = static_cast<size_t>(256 * (sampleRate / 44100.0)); sampleRate 198 Source/platform/audio/HRTFElevation.cpp const size_t fftSize = HRTFPanner::fftSizeForSampleRate(sampleRate); sampleRate 199 Source/platform/audio/HRTFElevation.cpp kernelL = HRTFKernel::create(leftEarImpulseResponse, fftSize, sampleRate); sampleRate 200 Source/platform/audio/HRTFElevation.cpp kernelR = HRTFKernel::create(rightEarImpulseResponse, fftSize, sampleRate); sampleRate 237 Source/platform/audio/HRTFElevation.cpp PassOwnPtr<HRTFElevation> HRTFElevation::createForSubject(const String& subjectName, int elevation, float sampleRate) sampleRate 254 Source/platform/audio/HRTFElevation.cpp bool success = calculateKernelsForAzimuthElevation(rawIndex * AzimuthSpacing, actualElevation, sampleRate, subjectName, kernelListL->at(interpolatedIndex), kernelListR->at(interpolatedIndex)); sampleRate 274 Source/platform/audio/HRTFElevation.cpp OwnPtr<HRTFElevation> hrtfElevation = adoptPtr(new HRTFElevation(kernelListL.release(), kernelListR.release(), elevation, sampleRate)); sampleRate 278 Source/platform/audio/HRTFElevation.cpp PassOwnPtr<HRTFElevation> HRTFElevation::createByInterpolatingSlices(HRTFElevation* hrtfElevation1, HRTFElevation* hrtfElevation2, float x, float sampleRate) sampleRate 303 Source/platform/audio/HRTFElevation.cpp OwnPtr<HRTFElevation> hrtfElevation = adoptPtr(new HRTFElevation(kernelListL.release(), kernelListR.release(), static_cast<int>(angle), sampleRate)); sampleRate 53 Source/platform/audio/HRTFElevation.h static PassOwnPtr<HRTFElevation> createForSubject(const String& subjectName, int elevation, float sampleRate); sampleRate 56 Source/platform/audio/HRTFElevation.h static PassOwnPtr<HRTFElevation> createByInterpolatingSlices(HRTFElevation* hrtfElevation1, HRTFElevation* hrtfElevation2, float x, float sampleRate); sampleRate 64 Source/platform/audio/HRTFElevation.h float sampleRate() const { return m_sampleRate; } sampleRate 86 Source/platform/audio/HRTFElevation.h static bool calculateKernelsForAzimuthElevation(int azimuth, int elevation, float sampleRate, const String& subjectName, sampleRate 92 Source/platform/audio/HRTFElevation.h static bool calculateSymmetricKernelsForAzimuthElevation(int azimuth, int elevation, float sampleRate, const String& subjectName, sampleRate 96 Source/platform/audio/HRTFElevation.h HRTFElevation(PassOwnPtr<HRTFKernelList> kernelListL, PassOwnPtr<HRTFKernelList> kernelListR, int elevation, float sampleRate) sampleRate 100 Source/platform/audio/HRTFElevation.h , m_sampleRate(sampleRate) sampleRate 70 Source/platform/audio/HRTFKernel.cpp HRTFKernel::HRTFKernel(AudioChannel* channel, size_t fftSize, float sampleRate) sampleRate 72 Source/platform/audio/HRTFKernel.cpp , m_sampleRate(sampleRate) sampleRate 86 Source/platform/audio/HRTFKernel.cpp unsigned numberOfFadeOutFrames = static_cast<unsigned>(sampleRate / 4410); // 10 sample-frames @44.1KHz sample-rate sampleRate 121 Source/platform/audio/HRTFKernel.cpp float sampleRate1 = kernel1->sampleRate(); sampleRate 122 Source/platform/audio/HRTFKernel.cpp float sampleRate2 = kernel2->sampleRate(); sampleRate 54 Source/platform/audio/HRTFKernel.h static PassRefPtr<HRTFKernel> create(AudioChannel* channel, size_t fftSize, float sampleRate) sampleRate 56 Source/platform/audio/HRTFKernel.h return adoptRef(new HRTFKernel(channel, fftSize, sampleRate)); sampleRate 59 Source/platform/audio/HRTFKernel.h static PassRefPtr<HRTFKernel> create(PassOwnPtr<FFTFrame> fftFrame, float frameDelay, float sampleRate) sampleRate 61 Source/platform/audio/HRTFKernel.h return adoptRef(new HRTFKernel(fftFrame, frameDelay, sampleRate)); sampleRate 72 Source/platform/audio/HRTFKernel.h float sampleRate() const { return m_sampleRate; } sampleRate 73 Source/platform/audio/HRTFKernel.h double nyquist() const { return 0.5 * sampleRate(); } sampleRate 80 Source/platform/audio/HRTFKernel.h HRTFKernel(AudioChannel*, size_t fftSize, float sampleRate); sampleRate 82 Source/platform/audio/HRTFKernel.h HRTFKernel(PassOwnPtr<FFTFrame> fftFrame, float frameDelay, float sampleRate) sampleRate 85 Source/platform/audio/HRTFKernel.h , m_sampleRate(sampleRate) sampleRate 48 Source/platform/audio/HRTFPanner.cpp HRTFPanner::HRTFPanner(float sampleRate, HRTFDatabaseLoader* databaseLoader) sampleRate 51 Source/platform/audio/HRTFPanner.cpp , m_sampleRate(sampleRate) sampleRate 59 Source/platform/audio/HRTFPanner.cpp , m_convolverL1(fftSizeForSampleRate(sampleRate)) sampleRate 60 Source/platform/audio/HRTFPanner.cpp , m_convolverR1(fftSizeForSampleRate(sampleRate)) sampleRate 61 Source/platform/audio/HRTFPanner.cpp , m_convolverL2(fftSizeForSampleRate(sampleRate)) sampleRate 62 Source/platform/audio/HRTFPanner.cpp , m_convolverR2(fftSizeForSampleRate(sampleRate)) sampleRate 63 Source/platform/audio/HRTFPanner.cpp , m_delayLineL(MaxDelayTimeSeconds, sampleRate) sampleRate 64 Source/platform/audio/HRTFPanner.cpp , m_delayLineR(MaxDelayTimeSeconds, sampleRate) sampleRate 77 Source/platform/audio/HRTFPanner.cpp size_t HRTFPanner::fftSizeForSampleRate(float sampleRate) sampleRate 82 Source/platform/audio/HRTFPanner.cpp ASSERT(sampleRate >= 44100 && sampleRate <= 96000.0); sampleRate 83 Source/platform/audio/HRTFPanner.cpp return (sampleRate < 88200.0) ? 512 : 1024; sampleRate 181 Source/platform/audio/HRTFPanner.cpp const double fadeFrames = sampleRate() <= 48000 ? 2048 : 4096; sampleRate 228 Source/platform/audio/HRTFPanner.cpp ASSERT(frameDelayL1 / sampleRate() < MaxDelayTimeSeconds && frameDelayR1 / sampleRate() < MaxDelayTimeSeconds); sampleRate 229 Source/platform/audio/HRTFPanner.cpp ASSERT(frameDelayL2 / sampleRate() < MaxDelayTimeSeconds && frameDelayR2 / sampleRate() < MaxDelayTimeSeconds); sampleRate 301 Source/platform/audio/HRTFPanner.cpp return MaxDelayTimeSeconds + (fftSize() / 2) / static_cast<double>(sampleRate()); sampleRate 308 Source/platform/audio/HRTFPanner.cpp return (fftSize() / 2) / static_cast<double>(sampleRate()); sampleRate 37 Source/platform/audio/HRTFPanner.h HRTFPanner(float sampleRate, HRTFDatabaseLoader*); sampleRate 45 Source/platform/audio/HRTFPanner.h static size_t fftSizeForSampleRate(float sampleRate); sampleRate 47 Source/platform/audio/HRTFPanner.h float sampleRate() const { return m_sampleRate; } sampleRate 41 Source/platform/audio/Panner.cpp PassOwnPtr<Panner> Panner::create(PanningModel model, float sampleRate, HRTFDatabaseLoader* databaseLoader) sampleRate 47 Source/platform/audio/Panner.cpp panner = adoptPtr(new EqualPowerPanner(sampleRate)); sampleRate 51 Source/platform/audio/Panner.cpp panner = adoptPtr(new HRTFPanner(sampleRate, databaseLoader)); sampleRate 51 Source/platform/audio/Panner.h static PassOwnPtr<Panner> create(PanningModel, float sampleRate, HRTFDatabaseLoader*); sampleRate 82 Source/platform/audio/Reverb.cpp if (response->sampleRate()) sampleRate 83 Source/platform/audio/Reverb.cpp scale *= GainCalibrationSampleRate / response->sampleRate(); sampleRate 49 Source/platform/exported/WebAudioBus.cpp void WebAudioBus::initialize(unsigned numberOfChannels, size_t length, double sampleRate) sampleRate 53 Source/platform/exported/WebAudioBus.cpp audioBus->setSampleRate(sampleRate); sampleRate 119 Source/platform/exported/WebAudioBus.cpp return m_private->sampleRate(); sampleRate 178 Source/platform/exported/WebMediaStreamSource.cpp virtual void setFormat(size_t numberOfChannels, float sampleRate) OVERRIDE; sampleRate 190 Source/platform/exported/WebMediaStreamSource.cpp void ConsumerWrapper::setFormat(size_t numberOfChannels, float sampleRate) sampleRate 192 Source/platform/exported/WebMediaStreamSource.cpp m_consumer->setFormat(numberOfChannels, sampleRate); sampleRate 91 Source/platform/mediastream/MediaStreamSource.cpp void MediaStreamSource::setAudioFormat(size_t numberOfChannels, float sampleRate) sampleRate 96 Source/platform/mediastream/MediaStreamSource.cpp (*it)->setFormat(numberOfChannels, sampleRate); sampleRate 89 Source/platform/mediastream/MediaStreamSource.h void setAudioFormat(size_t numberOfChannels, float sampleRate); sampleRate 560 Source/web/WebMediaPlayerClientImpl.cpp void WebMediaPlayerClientImpl::AudioClientImpl::setFormat(size_t numberOfChannels, float sampleRate) sampleRate 563 Source/web/WebMediaPlayerClientImpl.cpp m_client->setFormat(numberOfChannels, sampleRate); sampleRate 169 Source/web/WebMediaPlayerClientImpl.h virtual void setFormat(size_t numberOfChannels, float sampleRate) OVERRIDE; sampleRate 152 public/platform/Platform.h virtual WebAudioDevice* createAudioDevice(size_t bufferSize, unsigned numberOfInputChannels, unsigned numberOfChannels, double sampleRate, WebAudioDevice::RenderCallback*, const WebString& deviceId) { return 0; } sampleRate 50 public/platform/WebAudioBus.h void initialize(unsigned numberOfChannels, size_t length, double sampleRate); sampleRate 61 public/platform/WebAudioBus.h double sampleRate() const; sampleRate 36 public/platform/WebAudioDestinationConsumer.h virtual void setFormat(size_t numberOfChannels, float sampleRate) = 0; sampleRate 53 public/platform/WebAudioDevice.h virtual double sampleRate() = 0; sampleRate 32 public/platform/WebAudioSourceProviderClient.h virtual void setFormat(size_t numberOfChannels, float sampleRate) = 0;