Index: talk/media/webrtc/webrtcvoiceengine.h |
diff --git a/talk/media/webrtc/webrtcvoiceengine.h b/talk/media/webrtc/webrtcvoiceengine.h |
index a70840565b433c6188152eecd41719d416ee2cf2..6e3c26a45c16d9341843a312a844e6507eda18ac 100644 |
--- a/talk/media/webrtc/webrtcvoiceengine.h |
+++ b/talk/media/webrtc/webrtcvoiceengine.h |
@@ -105,8 +105,11 @@ class WebRtcVoiceEngine |
// Set the external ADM. This can only be called before Init. |
bool SetAudioDeviceModule(webrtc::AudioDeviceModule* adm); |
- // Starts AEC dump using existing file. |
- bool StartAecDump(rtc::PlatformFile file); |
+ // Starts AEC dump using an existing file. A maximum file size in bytes can be |
+ // specified. When the maximum file size is reached, logging is stopped and |
+ // the file is closed. If max_size_bytes is set to <= 0, no limit will be |
+ // used. |
+ bool StartAecDump(rtc::PlatformFile file, int64_t max_size_bytes); |
// Starts recording an RtcEventLog using an existing file until 10 minutes |
// pass or the StopRtcEventLog function is called. |