| Index: trunk/src/media/audio/agc_audio_stream.h
|
| ===================================================================
|
| --- trunk/src/media/audio/agc_audio_stream.h (revision 277811)
|
| +++ trunk/src/media/audio/agc_audio_stream.h (working copy)
|
| @@ -73,10 +73,12 @@
|
|
|
| AgcAudioStream()
|
| : agc_is_enabled_(false), max_volume_(0.0), normalized_volume_(0.0) {
|
| + DVLOG(1) << __FUNCTION__;
|
| }
|
|
|
| virtual ~AgcAudioStream() {
|
| DCHECK(thread_checker_.CalledOnValidThread());
|
| + DVLOG(1) << __FUNCTION__;
|
| }
|
|
|
| protected:
|
| @@ -85,6 +87,7 @@
|
| // The timer is only started if AGC mode is first enabled using the
|
| // SetAutomaticGainControl() method.
|
| void StartAgc() {
|
| + DVLOG(1) << "StartAgc()";
|
| DCHECK(thread_checker_.CalledOnValidThread());
|
| if (!agc_is_enabled_ || timer_.IsRunning())
|
| return;
|
| @@ -102,6 +105,7 @@
|
| // Stops the periodic timer which periodically checks and updates the
|
| // current microphone volume level.
|
| void StopAgc() {
|
| + DVLOG(1) << "StopAgc()";
|
| DCHECK(thread_checker_.CalledOnValidThread());
|
| if (timer_.IsRunning())
|
| timer_.Stop();
|
|
|