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

Issue 2840773004: [Chromoting] Add AudioVolumeApplier to reduce the complexity and the dependency of kChannels (Closed)

Created:
3 years, 8 months ago by Hzj_jie
Modified:
3 years, 7 months ago
Reviewers:
Sergey Ulanov, joedow
CC:
chromium-reviews, chromoting-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[Chromoting] Add AudioVolumeApplier to reduce the complexity and the dependency of kChannels AudioVolumeApplier is a component to apply audio level to the samples, it also has an AudioSilenceDetector internally to detect whether the samples are silent before or after applying the level. It does not rely on a fixed kChannels, which is good to support 5.1 / 7.1 channels. BUG=669070 Review-Url: https://codereview.chromium.org/2840773004 Cr-Commit-Position: refs/heads/master@{#473809} Committed: https://chromium.googlesource.com/chromium/src/+/26fe0dac88cb99bc94ce4d5f1ed9bc6cfff2f88e

Patch Set 1 #

Total comments: 6

Patch Set 2 : Resolve review comments #

Total comments: 4

Patch Set 3 : Resolve review comments #

Patch Set 4 : Sync latest changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+298 lines, -97 lines) Patch
M remoting/host/BUILD.gn View 1 2 3 2 chunks +3 lines, -0 lines 0 comments Download
M remoting/host/audio_capturer_linux.cc View 1 chunk +1 line, -1 line 0 comments Download
M remoting/host/audio_capturer_win.h View 1 4 chunks +2 lines, -14 lines 0 comments Download
M remoting/host/audio_capturer_win.cc View 1 2 3 4 chunks +14 lines, -78 lines 0 comments Download
M remoting/host/audio_silence_detector.h View 2 chunks +7 lines, -1 line 0 comments Download
M remoting/host/audio_silence_detector.cc View 3 chunks +11 lines, -3 lines 0 comments Download
A remoting/host/audio_volume_filter.h View 1 2 1 chunk +41 lines, -0 lines 0 comments Download
A remoting/host/audio_volume_filter.cc View 1 1 chunk +44 lines, -0 lines 0 comments Download
A remoting/host/audio_volume_filter_unittest.cc View 1 1 chunk +79 lines, -0 lines 0 comments Download
M remoting/host/win/BUILD.gn View 1 1 chunk +2 lines, -0 lines 0 comments Download
A remoting/host/win/audio_volume_filter_win.h View 1 1 chunk +36 lines, -0 lines 0 comments Download
A remoting/host/win/audio_volume_filter_win.cc View 1 2 3 1 chunk +58 lines, -0 lines 0 comments Download

Messages

Total messages: 85 (78 generated)
Hzj_jie
3 years, 8 months ago (2017-04-26 02:27:27 UTC) #22
Sergey Ulanov
https://codereview.chromium.org/2840773004/diff/90001/remoting/host/audio_volume_applier.cc File remoting/host/audio_volume_applier.cc (right): https://codereview.chromium.org/2840773004/diff/90001/remoting/host/audio_volume_applier.cc#newcode11 remoting/host/audio_volume_applier.cc:11: silence_detector_after_(silence_threshold) {} I don't think we need the post-processing ...
3 years, 8 months ago (2017-04-26 19:57:36 UTC) #25
Hzj_jie
https://codereview.chromium.org/2840773004/diff/90001/remoting/host/audio_volume_applier.cc File remoting/host/audio_volume_applier.cc (right): https://codereview.chromium.org/2840773004/diff/90001/remoting/host/audio_volume_applier.cc#newcode11 remoting/host/audio_volume_applier.cc:11: silence_detector_after_(silence_threshold) {} On 2017/04/26 19:57:35, Sergey Ulanov wrote: > ...
3 years, 7 months ago (2017-04-28 03:53:34 UTC) #63
Sergey Ulanov
lgtm https://codereview.chromium.org/2840773004/diff/190001/remoting/host/audio_volume_filter.cc File remoting/host/audio_volume_filter.cc (right): https://codereview.chromium.org/2840773004/diff/190001/remoting/host/audio_volume_filter.cc#newcode14 remoting/host/audio_volume_filter.cc:14: if (frames == 0) { I think this ...
3 years, 7 months ago (2017-05-23 00:02:14 UTC) #66
Hzj_jie
https://codereview.chromium.org/2840773004/diff/190001/remoting/host/audio_volume_filter.cc File remoting/host/audio_volume_filter.cc (right): https://codereview.chromium.org/2840773004/diff/190001/remoting/host/audio_volume_filter.cc#newcode14 remoting/host/audio_volume_filter.cc:14: if (frames == 0) { On 2017/05/23 00:02:14, Sergey ...
3 years, 7 months ago (2017-05-23 02:54:27 UTC) #77
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2840773004/230001
3 years, 7 months ago (2017-05-23 04:29:38 UTC) #82
commit-bot: I haz the power
3 years, 7 months ago (2017-05-23 04:34:26 UTC) #85
Message was sent while issue was closed.
Committed patchset #4 (id:230001) as
https://chromium.googlesource.com/chromium/src/+/26fe0dac88cb99bc94ce4d5f1ed9...

Powered by Google App Engine
This is Rietveld 408576698