| Index: content/browser/renderer_host/media/audio_input_sync_writer.cc
|
| diff --git a/content/browser/renderer_host/media/audio_input_sync_writer.cc b/content/browser/renderer_host/media/audio_input_sync_writer.cc
|
| index 117fbe8fedbbec72e086e7a22597ef126ff2b238..6a78f6cc784aad4f4689d22f743ff71308e30784 100644
|
| --- a/content/browser/renderer_host/media/audio_input_sync_writer.cc
|
| +++ b/content/browser/renderer_host/media/audio_input_sync_writer.cc
|
| @@ -60,18 +60,20 @@ void AudioInputSyncWriter::Write(const media::AudioBus* data,
|
| if (last_write_time_.is_null()) {
|
| // This is the first time Write is called.
|
| base::TimeDelta interval = base::Time::Now() - creation_time_;
|
| - oss << "Audio input data received for the first time: delay = "
|
| - << interval.InMilliseconds() << "ms.";
|
| + oss << "AISW::Write => audio input data received for the first time: delay "
|
| + "= " << interval.InMilliseconds() << "ms";
|
|
|
| } else {
|
| base::TimeDelta interval = base::Time::Now() - last_write_time_;
|
| if (interval > kLogDelayThreadhold) {
|
| - oss << "Audio input data delay unexpectedly long: delay = "
|
| - << interval.InMilliseconds() << "ms.";
|
| + oss << "AISW::Write => audio input data delay unexpectedly long: delay = "
|
| + << interval.InMilliseconds() << "ms";
|
| }
|
| }
|
| - if (!oss.str().empty())
|
| + if (!oss.str().empty()) {
|
| MediaStreamManager::SendMessageToNativeLog(oss.str());
|
| + DVLOG(1) << oss.str();
|
| + }
|
|
|
| last_write_time_ = base::Time::Now();
|
| #endif
|
|
|