Chromium Code Reviews| Index: third_party/WebKit/Source/modules/webaudio/MediaStreamAudioSourceNode.cpp |
| diff --git a/third_party/WebKit/Source/modules/webaudio/MediaStreamAudioSourceNode.cpp b/third_party/WebKit/Source/modules/webaudio/MediaStreamAudioSourceNode.cpp |
| index 860dd15b712c2289b834bdc08f51a65cc7068928..891b7147f482707bbd27992a7d28b49fe7564e18 100644 |
| --- a/third_party/WebKit/Source/modules/webaudio/MediaStreamAudioSourceNode.cpp |
| +++ b/third_party/WebKit/Source/modules/webaudio/MediaStreamAudioSourceNode.cpp |
| @@ -60,7 +60,7 @@ void MediaStreamAudioSourceHandler::setFormat(size_t numberOfChannels, float sou |
| // The sample-rate must be equal to the context's sample-rate. |
| if (!numberOfChannels || numberOfChannels > AbstractAudioContext::maxNumberOfChannels() || sourceSampleRate != sampleRate()) { |
| // process() will generate silence for these uninitialized values. |
| - WTF_LOG(Media, "MediaStreamAudioSourceNode::setFormat(%u, %f) - unhandled format change", static_cast<unsigned>(numberOfChannels), sourceSampleRate); |
| + DVLOG(3) << "setFormat(" << numberOfChannels << ", " << sourceSampleRate << ") - unhandled format change"; |
|
Raymond Toy
2016/05/19 14:48:42
Same comment as for MediaElementAudioSource
|
| m_sourceNumberOfChannels = 0; |
| return; |
| } |