Index: talk/media/webrtc/webrtcvoiceengine.h |
diff --git a/talk/media/webrtc/webrtcvoiceengine.h b/talk/media/webrtc/webrtcvoiceengine.h |
index 0f2f59e4928f0ea619adb5e7088fc3b524388bf5..ce3bdf3ed70641f78aa8a4ca6fef6433d7018cc8 100644 |
--- a/talk/media/webrtc/webrtcvoiceengine.h |
+++ b/talk/media/webrtc/webrtcvoiceengine.h |
@@ -94,8 +94,11 @@ class WebRtcVoiceEngine final : public webrtc::TraceCallback { |
// 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); |
// Stops AEC dump. |
void StopAecDump(); |