Searched refs:sourceSampleRate (Results 1 – 3 of 3) sorted by relevance
73 void MediaElementAudioSourceNode::setFormat(size_t numberOfChannels, float sourceSampleRate) in setFormat() argument75 if (numberOfChannels != m_sourceNumberOfChannels || sourceSampleRate != m_sourceSampleRate) { in setFormat()76 …ontext::maxNumberOfChannels() || !AudioUtilities::isValidAudioBufferSampleRate(sourceSampleRate)) { in setFormat()78 …mat(%u, %f) - unhandled format change", static_cast<unsigned>(numberOfChannels), sourceSampleRate); in setFormat()85 m_sourceSampleRate = sourceSampleRate; in setFormat()90 if (sourceSampleRate != sampleRate()) { in setFormat()91 double scaleFactor = sourceSampleRate / sampleRate(); in setFormat()
70 void MediaStreamAudioSourceNode::setFormat(size_t numberOfChannels, float sourceSampleRate) in setFormat() argument72 if (numberOfChannels != m_sourceNumberOfChannels || sourceSampleRate != sampleRate()) { in setFormat()74 …annels || numberOfChannels > AudioContext::maxNumberOfChannels() || sourceSampleRate != sampleRate… in setFormat()76 …mat(%u, %f) - unhandled format change", static_cast<unsigned>(numberOfChannels), sourceSampleRate); in setFormat()
535 double sourceSampleRate = sourceBus->sampleRate(); in createBySampleRateConverting() local537 double sampleRateRatio = sourceSampleRate / destinationSampleRate; in createBySampleRateConverting()543 if (sourceSampleRate == destinationSampleRate) { in createBySampleRateConverting()