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

Issue 1859953002: Unit test for AudioFrame output from AcmReceiver::GetAudio (Closed)

Created:
4 years, 8 months ago by hlundin-webrtc
Modified:
4 years, 8 months ago
Reviewers:
minyue-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

Unit test for AudioFrame output from AcmReceiver::GetAudio This new unit test verifies the parameter fields (not the audio data itself) written to the AudioFrame output by AcmReceiver::GetAudio. Also corrected a few comments reflecting recent changes in the code. BUG=webrtc:5669 Committed: https://crrev.com/7dc68897d3614be0dce3ad565e4ceb14fc8f53d3 Cr-Commit-Position: refs/heads/master@{#12253}

Patch Set 1 #

Total comments: 8

Patch Set 2 : Fixing Minyue's comments #

Patch Set 3 : Generalizing with respect to the codec #

Total comments: 2

Patch Set 4 : Generalizing and adding tests for different codecs #

Patch Set 5 : Fixing a formatting nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+83 lines, -4 lines) Patch
M webrtc/modules/audio_coding/acm2/acm_receiver_unittest_oldapi.cc View 1 2 3 4 2 chunks +80 lines, -0 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/include/neteq.h View 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/sync_buffer.h View 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 18 (4 generated)
hlundin-webrtc
Minyue, Please, review this new unit tests. Thanks!
4 years, 8 months ago (2016-04-05 09:20:18 UTC) #2
minyue-webrtc
LG with some questions for my curiosity. https://codereview.webrtc.org/1859953002/diff/1/webrtc/modules/audio_coding/acm2/acm_receiver_unittest_oldapi.cc File webrtc/modules/audio_coding/acm2/acm_receiver_unittest_oldapi.cc (right): https://codereview.webrtc.org/1859953002/diff/1/webrtc/modules/audio_coding/acm2/acm_receiver_unittest_oldapi.cc#newcode321 webrtc/modules/audio_coding/acm2/acm_receiver_unittest_oldapi.cc:321: const int ...
4 years, 8 months ago (2016-04-05 13:00:22 UTC) #3
hlundin-webrtc
Fixing Minyue's comments
4 years, 8 months ago (2016-04-05 13:23:37 UTC) #4
hlundin-webrtc
Updated. PTAL again. https://codereview.webrtc.org/1859953002/diff/1/webrtc/modules/audio_coding/acm2/acm_receiver_unittest_oldapi.cc File webrtc/modules/audio_coding/acm2/acm_receiver_unittest_oldapi.cc (right): https://codereview.webrtc.org/1859953002/diff/1/webrtc/modules/audio_coding/acm2/acm_receiver_unittest_oldapi.cc#newcode321 webrtc/modules/audio_coding/acm2/acm_receiver_unittest_oldapi.cc:321: const int num_10ms_frames = codec.inst.pacsize / ...
4 years, 8 months ago (2016-04-05 13:24:15 UTC) #5
minyue-webrtc
LGTM + one request https://codereview.webrtc.org/1859953002/diff/1/webrtc/modules/audio_coding/acm2/acm_receiver_unittest_oldapi.cc File webrtc/modules/audio_coding/acm2/acm_receiver_unittest_oldapi.cc (right): https://codereview.webrtc.org/1859953002/diff/1/webrtc/modules/audio_coding/acm2/acm_receiver_unittest_oldapi.cc#newcode325 webrtc/modules/audio_coding/acm2/acm_receiver_unittest_oldapi.cc:325: uint32_t expected_output_ts = last_packet_send_timestamp_ - ...
4 years, 8 months ago (2016-04-05 13:30:04 UTC) #6
hlundin-webrtc
Generalizing with respect to the codec
4 years, 8 months ago (2016-04-05 13:51:46 UTC) #7
hlundin-webrtc
Generalizing and adding tests for different codecs
4 years, 8 months ago (2016-04-05 14:04:00 UTC) #8
hlundin-webrtc
4 years, 8 months ago (2016-04-05 14:04:17 UTC) #9
minyue-webrtc
still LGTM https://codereview.webrtc.org/1859953002/diff/40001/webrtc/modules/audio_coding/acm2/acm_receiver_unittest_oldapi.cc File webrtc/modules/audio_coding/acm2/acm_receiver_unittest_oldapi.cc (right): https://codereview.webrtc.org/1859953002/diff/40001/webrtc/modules/audio_coding/acm2/acm_receiver_unittest_oldapi.cc#newcode332 webrtc/modules/audio_coding/acm2/acm_receiver_unittest_oldapi.cc:332: last_packet_send_timestamp_ - better moving this line up
4 years, 8 months ago (2016-04-05 14:08:59 UTC) #10
hlundin-webrtc
Fixing a formatting nit
4 years, 8 months ago (2016-04-05 14:23:21 UTC) #11
hlundin-webrtc
Thanks. This CL will be committed pending try jobs. https://codereview.webrtc.org/1859953002/diff/40001/webrtc/modules/audio_coding/acm2/acm_receiver_unittest_oldapi.cc File webrtc/modules/audio_coding/acm2/acm_receiver_unittest_oldapi.cc (right): https://codereview.webrtc.org/1859953002/diff/40001/webrtc/modules/audio_coding/acm2/acm_receiver_unittest_oldapi.cc#newcode332 webrtc/modules/audio_coding/acm2/acm_receiver_unittest_oldapi.cc:332: ...
4 years, 8 months ago (2016-04-05 14:24:15 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1859953002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1859953002/80001
4 years, 8 months ago (2016-04-06 07:01:24 UTC) #15
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 8 months ago (2016-04-06 08:03:07 UTC) #16
commit-bot: I haz the power
4 years, 8 months ago (2016-04-06 08:03:13 UTC) #18
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/7dc68897d3614be0dce3ad565e4ceb14fc8f53d3
Cr-Commit-Position: refs/heads/master@{#12253}

Powered by Google App Engine
This is Rietveld 408576698