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

Issue 2683033004: Enable cpplint and fix cpplint errors in webrtc/*audio (Closed)

Created:
3 years, 10 months ago by oprypin_webrtc
Modified:
3 years, 9 months ago
CC:
webrtc-reviews_webrtc.org, kwiberg-webrtc, Andrew MacDonald, tlegrand-webrtc, tterriberry_mozilla.com, audio-team_agora.io, hlundin-webrtc, sdk-team_agora.io, peah-webrtc, minyue-webrtc, the sun, aluebs-webrtc, bjornv1
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Enable cpplint and fix cpplint errors in webrtc/*audio Change usage accordingly throughout the codebase BUG=webrtc:5268 TESTED=Fixed issues reported by: find webrtc/*audio -type f -name *.cc -o -name *.h | xargs cpplint.py Review-Url: https://codereview.webrtc.org/2683033004 Cr-Commit-Position: refs/heads/master@{#17133} Committed: https://chromium.googlesource.com/external/webrtc/+/aebe55ca6c2f725c81031722badb297a2fb1d331

Patch Set 1 : Fix cpplint errors in webrtc/*audio #

Patch Set 2 : Ignore rand_r suggestion #

Patch Set 3 : Enable cpplint in webrtc/*audio #

Total comments: 3

Patch Set 4 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1024 lines, -1080 lines) Patch
M PRESUBMIT.py View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/audio/audio_transport_proxy.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/audio/utility/audio_frame_operations.h View 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/audio/utility/audio_frame_operations.cc View 1 chunk +12 lines, -12 lines 0 comments Download
M webrtc/audio/utility/audio_frame_operations_unittest.cc View 5 chunks +10 lines, -10 lines 0 comments Download
M webrtc/common_audio/audio_converter.h View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/common_audio/audio_converter.cc View 1 chunk +2 lines, -1 line 0 comments Download
M webrtc/common_audio/blocker.h View 2 chunks +3 lines, -3 lines 0 comments Download
M webrtc/common_audio/channel_buffer.h View 2 chunks +3 lines, -3 lines 0 comments Download
M webrtc/common_audio/include/audio_util.h View 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/common_audio/lapped_transform.h View 1 chunk +5 lines, -5 lines 0 comments Download
M webrtc/common_audio/real_fourier.h View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/common_audio/resampler/include/resampler.h View 2 chunks +65 lines, -68 lines 0 comments Download
M webrtc/common_audio/resampler/push_resampler.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/common_audio/resampler/push_sinc_resampler_unittest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/common_audio/resampler/resampler.cc View 1 chunk +832 lines, -888 lines 0 comments Download
M webrtc/common_audio/resampler/sinc_resampler_unittest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/common_audio/ring_buffer_unittest.cc View 1 2 chunks +4 lines, -3 lines 0 comments Download
M webrtc/common_audio/signal_processing/include/signal_processing_library.h View 1 2 3 4 chunks +7 lines, -7 lines 0 comments Download
M webrtc/common_audio/signal_processing/include/spl_inl.h View 3 chunks +4 lines, -4 lines 0 comments Download
M webrtc/common_audio/signal_processing/include/spl_inl_armv7.h View 4 chunks +5 lines, -7 lines 0 comments Download
M webrtc/common_audio/signal_processing/include/spl_inl_mips.h View 13 chunks +15 lines, -27 lines 0 comments Download
M webrtc/common_audio/signal_processing/real_fft_unittest.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M webrtc/common_audio/signal_processing/resample_by_2_internal.h View 2 chunks +3 lines, -3 lines 0 comments Download
M webrtc/common_audio/signal_processing/signal_processing_unittest.cc View 4 chunks +10 lines, -8 lines 0 comments Download
M webrtc/common_audio/vad/vad_core.h View 3 chunks +2 lines, -5 lines 0 comments Download
M webrtc/common_audio/vad/vad_core_unittest.cc View 2 chunks +4 lines, -2 lines 0 comments Download
M webrtc/common_audio/vad/vad_filterbank_unittest.cc View 2 chunks +4 lines, -2 lines 0 comments Download
M webrtc/common_audio/vad/vad_gmm_unittest.cc View 2 chunks +4 lines, -2 lines 0 comments Download
M webrtc/common_audio/vad/vad_sp_unittest.cc View 2 chunks +4 lines, -2 lines 0 comments Download
M webrtc/common_audio/vad/vad_unittest.h View 3 chunks +7 lines, -5 lines 0 comments Download
M webrtc/common_audio/vad/vad_unittest.cc View 2 chunks +4 lines, -2 lines 0 comments Download
M webrtc/voice_engine/channel.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 63 (51 generated)
oprypin_webrtc
3 years, 9 months ago (2017-03-08 12:17:59 UTC) #40
henrika_webrtc
LGTM for webrtc/audio and webrtc/voice_engine
3 years, 9 months ago (2017-03-08 12:27:53 UTC) #41
kwiberg-webrtc
https://codereview.webrtc.org/2683033004/diff/140001/PRESUBMIT.py File PRESUBMIT.py (right): https://codereview.webrtc.org/2683033004/diff/140001/PRESUBMIT.py#newcode33 PRESUBMIT.py:33: 'webrtc/video', Drive-by comment: Any chance we could use a ...
3 years, 9 months ago (2017-03-08 12:55:13 UTC) #42
oprypin_webrtc
https://codereview.webrtc.org/2683033004/diff/140001/PRESUBMIT.py File PRESUBMIT.py (right): https://codereview.webrtc.org/2683033004/diff/140001/PRESUBMIT.py#newcode33 PRESUBMIT.py:33: 'webrtc/video', On 2017/03/08 12:55:12, kwiberg-webrtc wrote: > Drive-by comment: ...
3 years, 9 months ago (2017-03-08 13:22:03 UTC) #43
kwiberg-webrtc
https://codereview.webrtc.org/2683033004/diff/140001/PRESUBMIT.py File PRESUBMIT.py (right): https://codereview.webrtc.org/2683033004/diff/140001/PRESUBMIT.py#newcode33 PRESUBMIT.py:33: 'webrtc/video', On 2017/03/08 13:22:03, oprypin_webrtc wrote: > On 2017/03/08 ...
3 years, 9 months ago (2017-03-08 13:25:01 UTC) #45
hlundin-webrtc
webrtc/common_audio: lgtm
3 years, 9 months ago (2017-03-08 14:34:12 UTC) #46
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/2683033004/140001
3 years, 9 months ago (2017-03-08 15:42:09 UTC) #48
oprypin_webrtc
I rebased. Is this good to land?
3 years, 9 months ago (2017-03-09 08:42:33 UTC) #55
henrika_webrtc
You don't need more OK from us based on a rebase. Unless it was not ...
3 years, 9 months ago (2017-03-09 09:00:39 UTC) #56
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/2683033004/180001
3 years, 9 months ago (2017-03-09 09:02:56 UTC) #59
commit-bot: I haz the power
Committed patchset #4 (id:180001) as https://chromium.googlesource.com/external/webrtc/+/aebe55ca6c2f725c81031722badb297a2fb1d331
3 years, 9 months ago (2017-03-09 09:05:38 UTC) #62
oprypin_webrtc
3 years, 9 months ago (2017-03-09 10:43:19 UTC) #63
Message was sent while issue was closed.
A revert of this CL (patchset #4 id:180001) has been created in
https://codereview.webrtc.org/2739143002/ by oprypin@webrtc.org.

The reason for reverting is: The API change in
audio/utility/audio_frame_operations.h caused breakage. Need to keep
backward-compatible API..

Powered by Google App Engine
This is Rietveld 408576698