| Index: content/renderer/media/webrtc_local_audio_track.cc
|
| diff --git a/content/renderer/media/webrtc_local_audio_track.cc b/content/renderer/media/webrtc_local_audio_track.cc
|
| index cb48668eaeccc09a670c0a150b5d439e8d515778..78e7bac6f28790b38f34fc8bf20b31a959731beb 100644
|
| --- a/content/renderer/media/webrtc_local_audio_track.cc
|
| +++ b/content/renderer/media/webrtc_local_audio_track.cc
|
| @@ -17,6 +17,8 @@
|
| #include "content/renderer/media/webrtc/webrtc_local_audio_track_adapter.h"
|
| #include "content/renderer/media/webrtc_audio_capturer.h"
|
|
|
| +#include "base/debug/stack_trace.h"
|
| +
|
| namespace content {
|
|
|
| WebRtcLocalAudioTrack::WebRtcLocalAudioTrack(
|
| @@ -54,6 +56,14 @@ media::AudioParameters WebRtcLocalAudioTrack::GetOutputFormat() const {
|
| void WebRtcLocalAudioTrack::Capture(const media::AudioBus& audio_bus,
|
| base::TimeTicks estimated_capture_time,
|
| bool force_report_nonzero_energy) {
|
| +/*
|
| + static bool first_time = true;
|
| + if (first_time) {
|
| + first_time = false;
|
| + base::debug::StackTrace st;
|
| + st.Print();
|
| + }
|
| +*/
|
| DCHECK(capture_thread_checker_.CalledOnValidThread());
|
| DCHECK(!estimated_capture_time.is_null());
|
|
|
| @@ -99,6 +109,14 @@ void WebRtcLocalAudioTrack::Capture(const media::AudioBus& audio_bus,
|
|
|
| void WebRtcLocalAudioTrack::OnSetFormat(
|
| const media::AudioParameters& params) {
|
| + printf("******* WebRtcLocalAudioTrack::OnSetFormat %p\n", this);
|
| +// static bool first_time = true;
|
| +// if (first_time) {
|
| +// first_time = false;
|
| +// base::debug::StackTrace st;
|
| +// st.Print();
|
| +// }
|
| +
|
| DVLOG(1) << "WebRtcLocalAudioTrack::OnSetFormat()";
|
| // If the source is restarted, we might have changed to another capture
|
| // thread.
|
|
|