Searched refs:sourceSampleRate (Results 1 – 3 of 3) sorted by relevance
69 void MediaElementAudioSourceNode::setFormat(size_t numberOfChannels, float sourceSampleRate) in setFormat() argument71 if (numberOfChannels != m_sourceNumberOfChannels || sourceSampleRate != m_sourceSampleRate) { in setFormat()72 …Channels > AudioContext::maxNumberOfChannels() || sourceSampleRate < minSampleRate || sourceSample… in setFormat()74 …mat(%u, %f) - unhandled format change", static_cast<unsigned>(numberOfChannels), sourceSampleRate); in setFormat()81 m_sourceSampleRate = sourceSampleRate; in setFormat()86 if (sourceSampleRate != sampleRate()) { in setFormat()87 double scaleFactor = sourceSampleRate / sampleRate(); in setFormat()
64 void MediaStreamAudioSourceNode::setFormat(size_t numberOfChannels, float sourceSampleRate) in setFormat() argument66 if (numberOfChannels != m_sourceNumberOfChannels || sourceSampleRate != sampleRate()) { in setFormat()68 …annels || numberOfChannels > AudioContext::maxNumberOfChannels() || sourceSampleRate != sampleRate… in setFormat()70 …mat(%u, %f) - unhandled format change", static_cast<unsigned>(numberOfChannels), sourceSampleRate); in setFormat()
532 double sourceSampleRate = sourceBus->sampleRate(); in createBySampleRateConverting() local534 double sampleRateRatio = sourceSampleRate / destinationSampleRate; in createBySampleRateConverting()540 if (sourceSampleRate == destinationSampleRate) { in createBySampleRateConverting()