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

Issue 1921163003: NetEq: Introduce TickTimer in DelayPeakDetector (Closed)

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

Description

NetEq: Introduce TickTimer in DelayPeakDetector Specifically, this change replaces peak_period_counter_ms_ with peak_period_stopwatch_ which obtains a Stopwatch object from TickTimer. Necessary plumbing to get the TickTimer through to the DelayPeakDetector is also included. BUG=webrtc:5608 NOTRY=True Committed: https://crrev.com/f393370f02562e9ea89d542978f4b616333715e1 Cr-Commit-Position: refs/heads/master@{#12542}

Patch Set 1 #

Patch Set 2 : Pass TickTimer as const ptr rather than const ref #

Patch Set 3 : rebase #

Total comments: 12

Patch Set 4 : Fixing comments after review #

Total comments: 2

Patch Set 5 : Correcting the function comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -63 lines) Patch
M webrtc/modules/audio_coding/neteq/decision_logic_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/audio_coding/neteq/delay_manager.cc View 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/modules/audio_coding/neteq/delay_manager_unittest.cc View 1 3 chunks +3 lines, -13 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/delay_peak_detector.h View 1 2 3 4 4 chunks +8 lines, -11 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/delay_peak_detector.cc View 1 2 3 4 chunks +25 lines, -25 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/delay_peak_detector_unittest.cc View 1 2 3 5 chunks +12 lines, -8 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/mock/mock_delay_peak_detector.h View 1 1 chunk +3 lines, -2 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/neteq_impl.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/audio_coding/neteq/neteq_impl_unittest.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download

Dependent Patchsets:

Messages

Total messages: 24 (8 generated)
hlundin-webrtc
Tina, CL #4. Please, take a look when you get a chance. Thanks!
4 years, 8 months ago (2016-04-26 06:39:09 UTC) #2
hlundin-webrtc
Pass TickTimer as const ptr rather than const ref
4 years, 8 months ago (2016-04-26 12:03:59 UTC) #3
hlundin-webrtc
On 2016/04/26 12:03:59, hlundin-webrtc wrote: > Pass TickTimer as const ptr rather than const ref ...
4 years, 8 months ago (2016-04-26 20:25:37 UTC) #4
hlundin-webrtc
rebase
4 years, 8 months ago (2016-04-27 08:46:41 UTC) #5
hlundin-webrtc
This is now ready for review again. I suggest you look at the diff between ...
4 years, 8 months ago (2016-04-27 08:49:14 UTC) #6
tlegrand-webrtc
Nice and clean set of CLs, well done! A few comments inline. https://codereview.webrtc.org/1921163003/diff/40001/webrtc/modules/audio_coding/neteq/delay_peak_detector.cc File webrtc/modules/audio_coding/neteq/delay_peak_detector.cc ...
4 years, 8 months ago (2016-04-27 10:42:31 UTC) #7
hlundin-webrtc
Fixing comments after review
4 years, 7 months ago (2016-04-27 13:03:10 UTC) #8
hlundin-webrtc
Thanks, and PTAL again. https://codereview.webrtc.org/1921163003/diff/40001/webrtc/modules/audio_coding/neteq/delay_peak_detector.cc File webrtc/modules/audio_coding/neteq/delay_peak_detector.cc (right): https://codereview.webrtc.org/1921163003/diff/40001/webrtc/modules/audio_coding/neteq/delay_peak_detector.cc#newcode37 webrtc/modules/audio_coding/neteq/delay_peak_detector.cc:37: peak_period_stopwatch_.reset(); On 2016/04/27 10:42:30, tlegrand-webrtc ...
4 years, 7 months ago (2016-04-27 13:04:14 UTC) #9
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1921163003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1921163003/60001
4 years, 7 months ago (2016-04-27 14:03:54 UTC) #11
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_arm64_rel on tryserver.webrtc (JOB_TIMED_OUT, no build URL)
4 years, 7 months ago (2016-04-27 16:04:25 UTC) #13
tlegrand-webrtc
LGTM with one nit. https://codereview.webrtc.org/1921163003/diff/40001/webrtc/modules/audio_coding/neteq/delay_peak_detector.cc File webrtc/modules/audio_coding/neteq/delay_peak_detector.cc (right): https://codereview.webrtc.org/1921163003/diff/40001/webrtc/modules/audio_coding/neteq/delay_peak_detector.cc#newcode37 webrtc/modules/audio_coding/neteq/delay_peak_detector.cc:37: peak_period_stopwatch_.reset(); On 2016/04/27 13:04:14, hlundin-webrtc ...
4 years, 7 months ago (2016-04-28 08:32:32 UTC) #14
hlundin-webrtc
Correcting the function comments
4 years, 7 months ago (2016-04-28 08:41:19 UTC) #15
hlundin-webrtc
https://codereview.webrtc.org/1921163003/diff/60001/webrtc/modules/audio_coding/neteq/delay_peak_detector.h File webrtc/modules/audio_coding/neteq/delay_peak_detector.h (right): https://codereview.webrtc.org/1921163003/diff/60001/webrtc/modules/audio_coding/neteq/delay_peak_detector.h#newcode43 webrtc/modules/audio_coding/neteq/delay_peak_detector.h:43: // Returns -1 if no delay peaks have been ...
4 years, 7 months ago (2016-04-28 08:44:02 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1921163003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1921163003/80001
4 years, 7 months ago (2016-04-28 08:47:34 UTC) #20
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 7 months ago (2016-04-28 08:54:30 UTC) #22
commit-bot: I haz the power
4 years, 7 months ago (2016-05-01 22:01:11 UTC) #24
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/f393370f02562e9ea89d542978f4b616333715e1
Cr-Commit-Position: refs/heads/master@{#12542}

Powered by Google App Engine
This is Rietveld 408576698