commit | a99665226a9563c9ee8fb2666017e52ef2580f7f | [log] [tgz] |
---|---|---|
author | Ivo Creusen <ivoc@webrtc.org> | Fri Dec 15 13:56:47 2017 +0100 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Dec 15 14:23:06 2017 +0000 |
tree | f040f23d518d490c8a06deca2c3ae2dc72cd8694 | |
parent | 546373fc66e24d041e8eb8ffd2fc522847d841d1 [diff] [blame] |
Make delay stat optional. The delay_ms stat in AudioprocessStats should be an Optional, because its value is not always computed. This CL changes it to an optional. Bug: webrtc:8569 Change-Id: I42fd7a86b975c766b685444bf1829511f790da2a Reviewed-on: https://webrtc-review.googlesource.com/33320 Reviewed-by: Per Ã…hgren <peah@webrtc.org> Commit-Queue: Ivo Creusen <ivoc@webrtc.org> Cr-Commit-Position: refs/heads/master@{#21293}
diff --git a/modules/audio_processing/include/audio_processing_statistics.h b/modules/audio_processing/include/audio_processing_statistics.h index 83c9d99..05c5905 100644 --- a/modules/audio_processing/include/audio_processing_statistics.h +++ b/modules/audio_processing/include/audio_processing_statistics.h
@@ -48,7 +48,7 @@ // The instantaneous delay estimate produced in the AEC. The unit is in // milliseconds and the value is the instantaneous value at the time of the // call to |GetStatistics()|. - int delay_ms; + rtc::Optional<int32_t> delay_ms; }; } // namespace webrtc