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

Issue 2985633002: Avoid that previous settings in APM are overwritten by WebRtcVoiceEngine (Closed)

Created:
3 years, 5 months ago by peah-webrtc
Modified:
3 years, 5 months ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, the sun
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Avoid that previous settings in APM are overwritten by WebRtcVoiceEngine This CL ensures that any previously set nondefault settings in the audio processing module are not overwritten by the ApplyOptions method in WebRtcVoiceEngine BUG=webrtc:8018 Review-Url: https://codereview.webrtc.org/2985633002 Cr-Commit-Position: refs/heads/master@{#19144} Committed: https://chromium.googlesource.com/external/webrtc/+/b1c9d1de362d1a8ecc66a4de958197c5f40e54b1

Patch Set 1 #

Patch Set 2 : Corrected unittest behavior relying on sticky settings #

Total comments: 2

Patch Set 3 : Added solution based on ReturnPointee and SaveArg #

Total comments: 10
Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -20 lines) Patch
M webrtc/media/engine/webrtcvoiceengine.h View 3 chunks +3 lines, -5 lines 0 comments Download
M webrtc/media/engine/webrtcvoiceengine.cc View 2 chunks +8 lines, -7 lines 0 comments Download
M webrtc/media/engine/webrtcvoiceengine_unittest.cc View 1 2 9 chunks +24 lines, -8 lines 10 comments Download

Messages

Total messages: 28 (18 generated)
peah-webrtc
Hi, Would you be able to review this CL?
3 years, 5 months ago (2017-07-20 22:36:24 UTC) #4
Taylor Brandstetter
lgtm. Would be nice to have a test, but that may be overkill so I ...
3 years, 5 months ago (2017-07-20 23:44:56 UTC) #8
peah-webrtc
On 2017/07/20 23:44:56, Taylor Brandstetter wrote: > lgtm. Would be nice to have a test, ...
3 years, 5 months ago (2017-07-24 21:16:09 UTC) #9
Taylor Brandstetter
https://codereview.webrtc.org/2985633002/diff/20001/webrtc/modules/audio_processing/include/mock_audio_processing.h File webrtc/modules/audio_processing/include/mock_audio_processing.h (right): https://codereview.webrtc.org/2985633002/diff/20001/webrtc/modules/audio_processing/include/mock_audio_processing.h#newcode144 webrtc/modules/audio_processing/include/mock_audio_processing.h:144: } This is now partly a fake and partly ...
3 years, 5 months ago (2017-07-25 00:04:37 UTC) #14
peah-webrtc
https://codereview.webrtc.org/2985633002/diff/20001/webrtc/modules/audio_processing/include/mock_audio_processing.h File webrtc/modules/audio_processing/include/mock_audio_processing.h (right): https://codereview.webrtc.org/2985633002/diff/20001/webrtc/modules/audio_processing/include/mock_audio_processing.h#newcode144 webrtc/modules/audio_processing/include/mock_audio_processing.h:144: } On 2017/07/25 00:04:37, Taylor Brandstetter wrote: > This ...
3 years, 5 months ago (2017-07-25 21:40:21 UTC) #16
peah-webrtc
Thanks for the great comment! I've uploaded a new patch. PTAL!
3 years, 5 months ago (2017-07-25 21:40:52 UTC) #17
Taylor Brandstetter
lgtm with nits; thanks for taking the time to improve tests! https://codereview.webrtc.org/2985633002/diff/60001/webrtc/media/engine/webrtcvoiceengine_unittest.cc File webrtc/media/engine/webrtcvoiceengine_unittest.cc (right): ...
3 years, 5 months ago (2017-07-25 22:24:00 UTC) #22
peah-webrtc
Thanks for the quick review and the comments! https://codereview.webrtc.org/2985633002/diff/60001/webrtc/media/engine/webrtcvoiceengine_unittest.cc File webrtc/media/engine/webrtcvoiceengine_unittest.cc (right): https://codereview.webrtc.org/2985633002/diff/60001/webrtc/media/engine/webrtcvoiceengine_unittest.cc#newcode666 webrtc/media/engine/webrtcvoiceengine_unittest.cc:666: return ...
3 years, 5 months ago (2017-07-25 22:38:29 UTC) #23
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/2985633002/60001
3 years, 5 months ago (2017-07-25 22:40:03 UTC) #25
commit-bot: I haz the power
3 years, 5 months ago (2017-07-25 22:45:31 UTC) #28
Message was sent while issue was closed.
Committed patchset #3 (id:60001) as
https://chromium.googlesource.com/external/webrtc/+/b1c9d1de362d1a8ecc66a4de9...

Powered by Google App Engine
This is Rietveld 408576698