OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:sourceSampleRate
(Results
1 - 3
of
3
) sorted by null
/external/chromium_org/third_party/WebKit/Source/modules/webaudio/
MediaElementAudioSourceNode.cpp
73
void MediaElementAudioSourceNode::setFormat(size_t numberOfChannels, float
sourceSampleRate
)
75
if (numberOfChannels != m_sourceNumberOfChannels ||
sourceSampleRate
!= m_sourceSampleRate) {
76
if (!numberOfChannels || numberOfChannels > AudioContext::maxNumberOfChannels() || !AudioUtilities::isValidAudioBufferSampleRate(
sourceSampleRate
)) {
78
WTF_LOG(Media, "MediaElementAudioSourceNode::setFormat(%u, %f) - unhandled format change", static_cast<unsigned>(numberOfChannels),
sourceSampleRate
);
85
m_sourceSampleRate =
sourceSampleRate
;
90
if (
sourceSampleRate
!= sampleRate()) {
91
double scaleFactor =
sourceSampleRate
/ sampleRate();
MediaStreamAudioSourceNode.cpp
70
void MediaStreamAudioSourceNode::setFormat(size_t numberOfChannels, float
sourceSampleRate
)
72
if (numberOfChannels != m_sourceNumberOfChannels ||
sourceSampleRate
!= sampleRate()) {
74
if (!numberOfChannels || numberOfChannels > AudioContext::maxNumberOfChannels() ||
sourceSampleRate
!= sampleRate()) {
76
WTF_LOG(Media, "MediaStreamAudioSourceNode::setFormat(%u, %f) - unhandled format change", static_cast<unsigned>(numberOfChannels),
sourceSampleRate
);
/external/chromium_org/third_party/WebKit/Source/platform/audio/
AudioBus.cpp
535
double
sourceSampleRate
= sourceBus->sampleRate();
537
double sampleRateRatio =
sourceSampleRate
/ destinationSampleRate;
543
if (
sourceSampleRate
== destinationSampleRate) {
Completed in 346 milliseconds