Chromium Code Reviews| Index: webrtc/voice_engine/transmit_mixer.h |
| diff --git a/webrtc/voice_engine/transmit_mixer.h b/webrtc/voice_engine/transmit_mixer.h |
| index a045cf8322855abb0b7217e1b23c5e54eb80a00b..5533c62b3b2d96c7e198eb7d1af726684c8f2716 100644 |
| --- a/webrtc/voice_engine/transmit_mixer.h |
| +++ b/webrtc/voice_engine/transmit_mixer.h |
| @@ -76,6 +76,11 @@ public: |
| // 'virtual' to allow mocking. |
| virtual int16_t AudioLevelFullRange() const; |
| + // See description of "totalAudioEnergy" in the WebRTC stats spec. |
|
hbos
2017/07/10 09:58:24
Ditto link.
Zach Stein
2017/07/10 18:35:21
Done.
|
| + double GetTotalInputEnergy() const; |
| + |
| + double GetTotalInputDuration() const; |
| + |
| bool IsRecordingCall(); |
| bool IsRecordingMic(); |
| @@ -189,6 +194,8 @@ private: |
| bool _fileRecording = false; |
| bool _fileCallRecording = false; |
| voe::AudioLevel _audioLevel; |
| + double _totalInputEnergy = 0.0; |
| + double _totalInputDuration = 0.0; |
| // protect file instances and their variables in MixedParticipants() |
| rtc::CriticalSection _critSect; |
| rtc::CriticalSection _callbackCritSect; |