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

Issue 2847673002: [Chromecast] Complete PostProcessingPipeline changes (Closed)

Created:
3 years, 7 months ago by bshaya
Modified:
3 years, 7 months ago
Reviewers:
wzhong, slan, gfhuang, jyw, kmackay
CC:
chromium-reviews, alokp+watch_chromium.org, lcwu+watch_chromium.org, halliwell+watch_chromium.org, feature-media-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[Chromecast] Complete PostProcessingPipeline changes - Add mix & linearize AudioPostProcessor hooks. - Use delay from AudioPostProcessor::ProcessFrames to update timing estimates. - Allow configuring mixing multiple device_id's in a single AudioPostProcessor. - Pass Cast Volume to PostProcessors (rather than raw multiplier). - Add unittest for assignment of PostProcessors + delay accounting. BUG=internal/36299959 TEST=cast_alsa_cma_backend_unittests Change-Id: I5503f7de39d0ac502b8e861322162fee9aade8dd Review-Url: https://codereview.chromium.org/2847673002 Cr-Commit-Position: refs/heads/master@{#468399} Committed: https://chromium.googlesource.com/chromium/src/+/4d46c8d9c3c74747b2f0bcee490262e45dd9180f

Patch Set 1 #

Patch Set 2 : Fix compilation #

Patch Set 3 : Add more test #

Total comments: 22

Patch Set 4 : code review #

Patch Set 5 : Provide default pipeline for devices w/o cast_audio.json #

Patch Set 6 : provide default filter, more tests #

Total comments: 16

Patch Set 7 : Code review #

Total comments: 3

Patch Set 8 : Fix deps #

Unified diffs Side-by-side diffs Delta from patch set Stats (+814 lines, -378 lines) Patch
M chromecast/media/cma/backend/alsa/BUILD.gn View 1 2 3 4 5 6 7 3 chunks +3 lines, -1 line 0 comments Download
M chromecast/media/cma/backend/alsa/filter_group.h View 1 2 3 2 chunks +41 lines, -27 lines 0 comments Download
M chromecast/media/cma/backend/alsa/filter_group.cc View 1 2 3 4 5 6 4 chunks +70 lines, -49 lines 0 comments Download
M chromecast/media/cma/backend/alsa/post_processing_pipeline.h View 1 2 1 chunk +12 lines, -36 lines 0 comments Download
D chromecast/media/cma/backend/alsa/post_processing_pipeline.cc View 1 chunk +0 lines, -113 lines 0 comments Download
A + chromecast/media/cma/backend/alsa/post_processing_pipeline_impl.h View 1 2 3 chunks +18 lines, -12 lines 0 comments Download
A + chromecast/media/cma/backend/alsa/post_processing_pipeline_impl.cc View 1 2 8 chunks +38 lines, -13 lines 0 comments Download
M chromecast/media/cma/backend/alsa/post_processing_pipeline_parser.h View 1 2 3 4 5 6 2 chunks +34 lines, -15 lines 0 comments Download
M chromecast/media/cma/backend/alsa/post_processing_pipeline_parser.cc View 1 2 3 4 5 6 1 chunk +80 lines, -31 lines 0 comments Download
M chromecast/media/cma/backend/alsa/stream_mixer_alsa.h View 3 4 5 6 chunks +10 lines, -3 lines 0 comments Download
M chromecast/media/cma/backend/alsa/stream_mixer_alsa.cc View 1 2 3 4 5 11 chunks +128 lines, -71 lines 0 comments Download
M chromecast/media/cma/backend/alsa/stream_mixer_alsa_unittest.cc View 1 2 3 4 5 6 6 chunks +379 lines, -4 lines 0 comments Download
M chromecast/public/media/audio_post_processor_shlib.h View 1 2 3 4 5 1 chunk +1 line, -3 lines 0 comments Download

Messages

Total messages: 27 (14 generated)
bshaya
3 years, 7 months ago (2017-04-27 05:10:58 UTC) #2
bshaya
3 years, 7 months ago (2017-04-27 22:46:24 UTC) #4
kmackay
https://codereview.chromium.org/2847673002/diff/40001/chromecast/media/cma/backend/alsa/filter_group.cc File chromecast/media/cma/backend/alsa/filter_group.cc (right): https://codereview.chromium.org/2847673002/diff/40001/chromecast/media/cma/backend/alsa/filter_group.cc#newcode79 chromecast/media/cma/backend/alsa/filter_group.cc:79: if (active_inputs_.empty() && volume == 0.0f && The volume ...
3 years, 7 months ago (2017-04-28 00:31:42 UTC) #5
bshaya
https://codereview.chromium.org/2847673002/diff/40001/chromecast/media/cma/backend/alsa/filter_group.cc File chromecast/media/cma/backend/alsa/filter_group.cc (right): https://codereview.chromium.org/2847673002/diff/40001/chromecast/media/cma/backend/alsa/filter_group.cc#newcode79 chromecast/media/cma/backend/alsa/filter_group.cc:79: if (active_inputs_.empty() && volume == 0.0f && On 2017/04/28 ...
3 years, 7 months ago (2017-04-28 01:37:37 UTC) #6
kmackay
https://codereview.chromium.org/2847673002/diff/100001/chromecast/media/cma/backend/alsa/filter_group.cc File chromecast/media/cma/backend/alsa/filter_group.cc (right): https://codereview.chromium.org/2847673002/diff/100001/chromecast/media/cma/backend/alsa/filter_group.cc#newcode61 chromecast/media/cma/backend/alsa/filter_group.cc:61: // 0 if: nit: move '0 if:' to previous ...
3 years, 7 months ago (2017-04-28 21:20:08 UTC) #7
bshaya
https://codereview.chromium.org/2847673002/diff/100001/chromecast/media/cma/backend/alsa/filter_group.cc File chromecast/media/cma/backend/alsa/filter_group.cc (right): https://codereview.chromium.org/2847673002/diff/100001/chromecast/media/cma/backend/alsa/filter_group.cc#newcode61 chromecast/media/cma/backend/alsa/filter_group.cc:61: // 0 if: On 2017/04/28 21:20:08, kmackay wrote: > ...
3 years, 7 months ago (2017-04-28 22:59:31 UTC) #8
kmackay
lgtm
3 years, 7 months ago (2017-04-29 00:45:22 UTC) #9
wzhong
BUG=internal b/36299959 https://codereview.chromium.org/2847673002/diff/120001/chromecast/media/cma/backend/alsa/filter_group.cc File chromecast/media/cma/backend/alsa/filter_group.cc (right): https://codereview.chromium.org/2847673002/diff/120001/chromecast/media/cma/backend/alsa/filter_group.cc#newcode66 chromecast/media/cma/backend/alsa/filter_group.cc:66: if (active_inputs_.empty() && volume == 0.0f && ...
3 years, 7 months ago (2017-04-29 01:22:29 UTC) #10
bshaya
https://codereview.chromium.org/2847673002/diff/120001/chromecast/media/cma/backend/alsa/filter_group.cc File chromecast/media/cma/backend/alsa/filter_group.cc (right): https://codereview.chromium.org/2847673002/diff/120001/chromecast/media/cma/backend/alsa/filter_group.cc#newcode66 chromecast/media/cma/backend/alsa/filter_group.cc:66: if (active_inputs_.empty() && volume == 0.0f && On 2017/04/29 ...
3 years, 7 months ago (2017-04-29 16:53:26 UTC) #11
wzhong
lgtm https://codereview.chromium.org/2847673002/diff/120001/chromecast/media/cma/backend/alsa/filter_group.cc File chromecast/media/cma/backend/alsa/filter_group.cc (right): https://codereview.chromium.org/2847673002/diff/120001/chromecast/media/cma/backend/alsa/filter_group.cc#newcode66 chromecast/media/cma/backend/alsa/filter_group.cc:66: if (active_inputs_.empty() && volume == 0.0f && On ...
3 years, 7 months ago (2017-05-01 13:30:09 UTC) #12
slan
rs lgtm; deferring to kmackay@ and wzhong@ for review.
3 years, 7 months ago (2017-05-01 17:18:30 UTC) #15
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/2847673002/140001
3 years, 7 months ago (2017-05-01 20:23:28 UTC) #24
commit-bot: I haz the power
3 years, 7 months ago (2017-05-01 20:30:10 UTC) #27
Message was sent while issue was closed.
Committed patchset #8 (id:140001) as
https://chromium.googlesource.com/chromium/src/+/4d46c8d9c3c74747b2f0bcee4902...

Powered by Google App Engine
This is Rietveld 408576698