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
69
void MediaElementAudioSourceNode::setFormat(size_t numberOfChannels, float
sourceSampleRate
)
71
if (numberOfChannels != m_sourceNumberOfChannels ||
sourceSampleRate
!= m_sourceSampleRate) {
72
if (!numberOfChannels || numberOfChannels > AudioContext::maxNumberOfChannels() ||
sourceSampleRate
< minSampleRate ||
sourceSampleRate
> maxSampleRate) {
74
WTF_LOG(Media, "MediaElementAudioSourceNode::setFormat(%u, %f) - unhandled format change", static_cast<unsigned>(numberOfChannels),
sourceSampleRate
);
81
m_sourceSampleRate =
sourceSampleRate
;
86
if (
sourceSampleRate
!= sampleRate()) {
87
double scaleFactor =
sourceSampleRate
/ sampleRate();
MediaStreamAudioSourceNode.cpp
64
void MediaStreamAudioSourceNode::setFormat(size_t numberOfChannels, float
sourceSampleRate
)
66
if (numberOfChannels != m_sourceNumberOfChannels ||
sourceSampleRate
!= sampleRate()) {
68
if (!numberOfChannels || numberOfChannels > AudioContext::maxNumberOfChannels() ||
sourceSampleRate
!= sampleRate()) {
70
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
532
double
sourceSampleRate
= sourceBus->sampleRate();
534
double sampleRateRatio =
sourceSampleRate
/ destinationSampleRate;
540
if (
sourceSampleRate
== destinationSampleRate) {
Completed in 204 milliseconds