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

Issue 1750353002: Change NetEq::GetAudio to use AudioFrame (Closed)

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

Change NetEq::GetAudio to use AudioFrame With this change, NetEq now uses AudioFrame as output type, like the surrounding functions in ACM and VoiceEngine already do. The computational savings is probably slim, since one memcpy is removed while another one is added (both in AcmReceiver::GetAudio). More simplifications and clean-up will be done in AcmReceiver::GetAudio in future CLs. BUG=webrtc:5607 Committed: https://crrev.com/6d8e011b648900f24c3c7b4488d3694ce4deca70 Cr-Commit-Position: refs/heads/master@{#11874}

Patch Set 1 #

Total comments: 12

Patch Set 2 : Taking care of review comments #

Total comments: 1

Patch Set 3 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+326 lines, -528 lines) Patch
M webrtc/modules/audio_coding/acm2/acm_receive_test_oldapi.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/audio_coding/acm2/acm_receiver.h View 1 2 1 chunk +0 lines, -3 lines 0 comments Download
M webrtc/modules/audio_coding/acm2/acm_receiver.cc View 1 2 5 chunks +19 lines, -29 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/audio_multi_vector.cc View 1 2 chunks +2 lines, -3 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/audio_multi_vector_unittest.cc View 1 1 chunk +0 lines, -10 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/include/neteq.h View 2 chunks +5 lines, -8 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/neteq_external_decoder_unittest.cc View 1 6 chunks +15 lines, -22 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/neteq_impl.h View 2 chunks +3 lines, -22 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/neteq_impl.cc View 1 5 chunks +25 lines, -27 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/neteq_impl_unittest.cc View 1 15 chunks +76 lines, -123 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/neteq_network_stats_unittest.cc View 4 chunks +3 lines, -3 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/neteq_stereo_unittest.cc View 7 chunks +18 lines, -23 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/neteq_unittest.cc View 1 42 chunks +95 lines, -174 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/sync_buffer.h View 1 2 chunks +5 lines, -2 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/sync_buffer.cc View 1 2 chunks +13 lines, -12 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/sync_buffer_unittest.cc View 1 1 chunk +18 lines, -9 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/tools/neteq_external_decoder_test.h View 1 chunk +2 lines, -4 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/tools/neteq_external_decoder_test.cc View 1 chunk +5 lines, -14 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/tools/neteq_performance_test.cc View 2 chunks +6 lines, -11 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/tools/neteq_quality_test.h View 1 2 3 chunks +2 lines, -4 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/tools/neteq_quality_test.cc View 1 2 3 chunks +8 lines, -10 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/tools/neteq_rtpplay.cc View 2 chunks +5 lines, -14 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 24 (9 generated)
hlundin-webrtc
Ivo, Please, review this CL. I'm sorry it is quite large, but as it turns ...
4 years, 9 months ago (2016-03-01 14:16:20 UTC) #2
ivoc
Nice, I only have a few minor remarks, see below. LGTM https://codereview.webrtc.org/1750353002/diff/1/webrtc/modules/audio_coding/neteq/neteq_external_decoder_unittest.cc File webrtc/modules/audio_coding/neteq/neteq_external_decoder_unittest.cc (right): ...
4 years, 9 months ago (2016-03-03 16:28:15 UTC) #3
hlundin-webrtc
Taking care of review comments
4 years, 9 months ago (2016-03-04 09:52:49 UTC) #4
hlundin-webrtc
Some non-trivial updates were made as a result of your comments. PTAL again. https://codereview.webrtc.org/1750353002/diff/1/webrtc/modules/audio_coding/neteq/neteq_external_decoder_unittest.cc File ...
4 years, 9 months ago (2016-03-04 09:55:32 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1750353002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1750353002/20001
4 years, 9 months ago (2016-03-04 09:55:49 UTC) #7
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_gn_dbg on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/mac_gn_dbg/builds/1332)
4 years, 9 months ago (2016-03-04 09:58:02 UTC) #9
hlundin-webrtc
Rebase
4 years, 9 months ago (2016-03-04 10:22:32 UTC) #10
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1750353002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1750353002/40001
4 years, 9 months ago (2016-03-04 10:23:32 UTC) #12
ivoc
Still LGTM :-) https://codereview.webrtc.org/1750353002/diff/1/webrtc/modules/audio_coding/neteq/neteq_impl_unittest.cc File webrtc/modules/audio_coding/neteq/neteq_impl_unittest.cc (right): https://codereview.webrtc.org/1750353002/diff/1/webrtc/modules/audio_coding/neteq/neteq_impl_unittest.cc#newcode855 webrtc/modules/audio_coding/neteq/neteq_impl_unittest.cc:855: const size_t kExpectedOutputSize = 10 * ...
4 years, 9 months ago (2016-03-04 10:54:08 UTC) #13
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, 9 months ago (2016-03-04 12:24:20 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1750353002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1750353002/40001
4 years, 9 months ago (2016-03-04 12:33:21 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_rel on tryserver.webrtc (JOB_TIMED_OUT, no build URL)
4 years, 9 months ago (2016-03-04 14:33:52 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1750353002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1750353002/40001
4 years, 9 months ago (2016-03-04 18:32:43 UTC) #21
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 9 months ago (2016-03-04 18:34:29 UTC) #22
commit-bot: I haz the power
4 years, 9 months ago (2016-03-04 18:34:35 UTC) #24
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/6d8e011b648900f24c3c7b4488d3694ce4deca70
Cr-Commit-Position: refs/heads/master@{#11874}

Powered by Google App Engine
This is Rietveld 408576698