Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(172)

Issue 2190343002: Adds delta-time logging for audio playout (Closed)

Created:
4 years, 4 months ago by henrika_webrtc
Modified:
4 years, 4 months ago
Reviewers:
magjed_webrtc
CC:
webrtc-reviews_webrtc.org
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Adds delta-time logging for audio playout BUG=NONE R=magjed@webrtc.org Committed: https://crrev.com/3d7346fd46a266d66e3d0e69f74b1fe5d8c75d13 Cr-Commit-Position: refs/heads/master@{#13576}

Patch Set 1 #

Total comments: 10

Patch Set 2 : Feedback from magjed@ #

Patch Set 3 : nit #

Patch Set 4 : nit #

Patch Set 5 : Now uses and array instead #

Total comments: 1

Patch Set 6 : nit #

Patch Set 7 : Fixed compile issues #

Patch Set 8 : Fixed div by zero #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -0 lines) Patch
M webrtc/modules/audio_device/audio_device_buffer.h View 1 2 3 4 5 2 chunks +13 lines, -0 lines 0 comments Download
M webrtc/modules/audio_device/audio_device_buffer.cc View 1 2 3 4 5 6 7 4 chunks +34 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (10 generated)
henrika_webrtc
First round, no cap on max delay yet. Will add later. Could you check anyhow ...
4 years, 4 months ago (2016-07-29 09:48:37 UTC) #3
magjed_webrtc
https://codereview.webrtc.org/2190343002/diff/1/webrtc/modules/audio_device/audio_device_buffer.cc File webrtc/modules/audio_device/audio_device_buffer.cc (right): https://codereview.webrtc.org/2190343002/diff/1/webrtc/modules/audio_device/audio_device_buffer.cc#newcode78 webrtc/modules/audio_device/audio_device_buffer.cc:78: while (!playout_diff_time_map_.empty()) { Use a range-based loop instead: for ...
4 years, 4 months ago (2016-07-29 10:07:11 UTC) #4
henrika_webrtc
Thanks. PTAL.
4 years, 4 months ago (2016-07-29 11:10:50 UTC) #5
henrika_webrtc
https://codereview.webrtc.org/2190343002/diff/1/webrtc/modules/audio_device/audio_device_buffer.cc File webrtc/modules/audio_device/audio_device_buffer.cc (right): https://codereview.webrtc.org/2190343002/diff/1/webrtc/modules/audio_device/audio_device_buffer.cc#newcode78 webrtc/modules/audio_device/audio_device_buffer.cc:78: while (!playout_diff_time_map_.empty()) { Thanks. https://codereview.webrtc.org/2190343002/diff/1/webrtc/modules/audio_device/audio_device_buffer.cc#newcode360 webrtc/modules/audio_device/audio_device_buffer.cc:360: int64_t diff_time = ...
4 years, 4 months ago (2016-07-29 11:11:00 UTC) #6
magjed_webrtc
https://codereview.webrtc.org/2190343002/diff/1/webrtc/modules/audio_device/audio_device_buffer.cc File webrtc/modules/audio_device/audio_device_buffer.cc (right): https://codereview.webrtc.org/2190343002/diff/1/webrtc/modules/audio_device/audio_device_buffer.cc#newcode360 webrtc/modules/audio_device/audio_device_buffer.cc:360: int64_t diff_time = rtc::TimeDiff(now_time, last_playout_time_); On 2016/07/29 11:11:00, henrika_webrtc ...
4 years, 4 months ago (2016-07-29 12:16:07 UTC) #7
magjed_webrtc
Change to an array like this and I'll be happy and stamp this CL: uint32_t ...
4 years, 4 months ago (2016-07-29 12:22:50 UTC) #8
henrika_webrtc
https://codereview.webrtc.org/2190343002/diff/1/webrtc/modules/audio_device/audio_device_buffer.cc File webrtc/modules/audio_device/audio_device_buffer.cc (right): https://codereview.webrtc.org/2190343002/diff/1/webrtc/modules/audio_device/audio_device_buffer.cc#newcode360 webrtc/modules/audio_device/audio_device_buffer.cc:360: int64_t diff_time = rtc::TimeDiff(now_time, last_playout_time_); Will change https://codereview.webrtc.org/2190343002/diff/1/webrtc/modules/audio_device/audio_device_buffer.h File ...
4 years, 4 months ago (2016-07-29 12:50:24 UTC) #9
henrika_webrtc
Great comments. Thanks! PTAL
4 years, 4 months ago (2016-07-29 13:10:01 UTC) #10
magjed_webrtc
lgtm https://codereview.webrtc.org/2190343002/diff/80001/webrtc/modules/audio_device/audio_device_buffer.h File webrtc/modules/audio_device/audio_device_buffer.h (right): https://codereview.webrtc.org/2190343002/diff/80001/webrtc/modules/audio_device/audio_device_buffer.h#newcode14 webrtc/modules/audio_device/audio_device_buffer.h:14: #include <map> remove
4 years, 4 months ago (2016-07-29 13:13:20 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2190343002/100001
4 years, 4 months ago (2016-07-29 13:24:38 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: linux_gn_dbg on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/linux_gn_dbg/builds/12506)
4 years, 4 months ago (2016-07-29 13:28:08 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2190343002/120001
4 years, 4 months ago (2016-07-29 13:37:34 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_rel on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_arm64_rel/builds/9687)
4 years, 4 months ago (2016-07-29 13:48:04 UTC) #21
henrika_webrtc
4 years, 4 months ago (2016-07-29 14:21:49 UTC) #23
Message was sent while issue was closed.
Committed patchset #8 (id:140001) manually as
3d7346fd46a266d66e3d0e69f74b1fe5d8c75d13 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698