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

Issue 1910523003: Add a new TickTimer class to NetEq (Closed)

Created:
4 years, 8 months ago by hlundin-webrtc
Modified:
4 years, 8 months ago
Reviewers:
tlegrand-webrtc
CC:
webrtc-reviews_webrtc.org, kwiberg-webrtc, tlegrand-webrtc, tterriberry_mozilla.com, audio-team_agora.io, hlundin-webrtc, peah-webrtc, minyue-webrtc
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Add a new TickTimer class to NetEq The new class is intended to be used as a central time-keeping object inside NetEq. The actual use of the class will come in subsequent changes. BUG=webrtc:5608 Committed: https://crrev.com/8053f79bd9c6ef8b79ee1d5254b42fa3f8647626 Cr-Commit-Position: refs/heads/master@{#12477}

Patch Set 1 : #

Total comments: 6

Patch Set 2 : Add custom ms_per_tick to TickTimer #

Unified diffs Side-by-side diffs Delta from patch set Stats (+273 lines, -0 lines) Patch
M webrtc/modules/audio_coding/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/neteq.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
A webrtc/modules/audio_coding/neteq/tick_timer.h View 1 1 chunk +110 lines, -0 lines 0 comments Download
A webrtc/modules/audio_coding/neteq/tick_timer.cc View 1 chunk +25 lines, -0 lines 0 comments Download
A webrtc/modules/audio_coding/neteq/tick_timer_unittest.cc View 1 1 chunk +133 lines, -0 lines 0 comments Download
M webrtc/modules/modules.gyp View 1 chunk +1 line, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 19 (9 generated)
hlundin-webrtc
Tina, Please, review this CL. Thanks!
4 years, 8 months ago (2016-04-21 08:11:12 UTC) #3
tlegrand-webrtc
LG, but consider moving the 10 ms to be an input to the class. By ...
4 years, 8 months ago (2016-04-21 10:37:44 UTC) #4
hlundin-webrtc
https://codereview.webrtc.org/1910523003/diff/20001/webrtc/modules/audio_coding/neteq/tick_timer.h File webrtc/modules/audio_coding/neteq/tick_timer.h (right): https://codereview.webrtc.org/1910523003/diff/20001/webrtc/modules/audio_coding/neteq/tick_timer.h#newcode41 webrtc/modules/audio_coding/neteq/tick_timer.h:41: return elapsed_ticks < UINT64_MAX / 10 ? elapsed_ticks * ...
4 years, 8 months ago (2016-04-21 13:50:58 UTC) #5
hlundin-webrtc
PTAL again. https://codereview.webrtc.org/1910523003/diff/20001/webrtc/modules/audio_coding/neteq/tick_timer.h File webrtc/modules/audio_coding/neteq/tick_timer.h (right): https://codereview.webrtc.org/1910523003/diff/20001/webrtc/modules/audio_coding/neteq/tick_timer.h#newcode41 webrtc/modules/audio_coding/neteq/tick_timer.h:41: return elapsed_ticks < UINT64_MAX / 10 ? ...
4 years, 8 months ago (2016-04-22 07:46:03 UTC) #6
tlegrand-webrtc
Nice! LGTM https://codereview.webrtc.org/1910523003/diff/20001/webrtc/modules/audio_coding/neteq/tick_timer_unittest.cc File webrtc/modules/audio_coding/neteq/tick_timer_unittest.cc (right): https://codereview.webrtc.org/1910523003/diff/20001/webrtc/modules/audio_coding/neteq/tick_timer_unittest.cc#newcode87 webrtc/modules/audio_coding/neteq/tick_timer_unittest.cc:87: EXPECT_EQ(UINT64_MAX, sw->ElapsedMs()); On 2016/04/21 13:50:58, hlundin-webrtc wrote: ...
4 years, 8 months ago (2016-04-22 11:43:22 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1910523003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1910523003/40001
4 years, 8 months ago (2016-04-22 13:36:55 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: presubmit on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/5012)
4 years, 8 months ago (2016-04-22 13:44:24 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1910523003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1910523003/40001
4 years, 8 months ago (2016-04-22 19:49:06 UTC) #15
commit-bot: I haz the power
Committed patchset #2 (id:40001)
4 years, 8 months ago (2016-04-22 20:21:47 UTC) #17
commit-bot: I haz the power
4 years, 8 months ago (2016-04-22 20:21:55 UTC) #19
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/8053f79bd9c6ef8b79ee1d5254b42fa3f8647626
Cr-Commit-Position: refs/heads/master@{#12477}

Powered by Google App Engine
This is Rietveld 408576698