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

Issue 2341783004: [chromecast] Slew stream volume changes in StreamMixerAlsa. (Closed)

Created:
4 years, 3 months ago by jyw
Modified:
3 years, 5 months ago
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] Slew stream volume changes in StreamMixerAlsa. BUG=internal 29459582 BUG=internal 31162371 TEST=cast_alsa_cma_backend_unittests --gtest_filter=StreamMixerAlsaTest.* exercise stream volume API; listen for smooth volume transitions Committed: https://crrev.com/146e6b47128a16c54772ad0bbda59cefbda1bb2a Cr-Commit-Position: refs/heads/master@{#419540}

Patch Set 1 #

Total comments: 21

Patch Set 2 : address comments #

Total comments: 10

Patch Set 3 : Slew stream volume changes in StreamMixerAlsa. #

Total comments: 6

Patch Set 4 : Slew stream volume changes in StreamMixerAlsa. #

Patch Set 5 : fix unittests #

Total comments: 3

Patch Set 6 : rebase #

Patch Set 7 : Initial commit #

Patch Set 8 : [Chromecast] Make SetPostProcessorConfig() a method. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -2 lines) Patch
M chromecast/media/cma/backend/alsa/cast_media_shlib.cc View 1 2 3 4 5 6 1 chunk +3 lines, -2 lines 0 comments Download

Messages

Total messages: 37 (10 generated)
jyw
Tested by mirroring and by listening during ducking.
4 years, 3 months ago (2016-09-14 20:27:08 UTC) #2
kmackay
https://codereview.chromium.org/2341783004/diff/1/chromecast/media/cma/backend/alsa/BUILD.gn File chromecast/media/cma/backend/alsa/BUILD.gn (right): https://codereview.chromium.org/2341783004/diff/1/chromecast/media/cma/backend/alsa/BUILD.gn#newcode104 chromecast/media/cma/backend/alsa/BUILD.gn:104: "//base", also //media for FMAC/FMUL https://codereview.chromium.org/2341783004/diff/1/chromecast/media/cma/backend/alsa/slew_volume.cc File chromecast/media/cma/backend/alsa/slew_volume.cc (right): ...
4 years, 3 months ago (2016-09-14 20:48:15 UTC) #3
jyw
https://codereview.chromium.org/2341783004/diff/1/chromecast/media/cma/backend/alsa/BUILD.gn File chromecast/media/cma/backend/alsa/BUILD.gn (right): https://codereview.chromium.org/2341783004/diff/1/chromecast/media/cma/backend/alsa/BUILD.gn#newcode104 chromecast/media/cma/backend/alsa/BUILD.gn:104: "//base", On 2016/09/14 20:48:14, kmackay wrote: > also //media ...
4 years, 3 months ago (2016-09-15 01:12:15 UTC) #4
kmackay
https://codereview.chromium.org/2341783004/diff/20001/chromecast/media/cma/backend/alsa/slew_volume.cc File chromecast/media/cma/backend/alsa/slew_volume.cc (right): https://codereview.chromium.org/2341783004/diff/20001/chromecast/media/cma/backend/alsa/slew_volume.cc#newcode18 chromecast/media/cma/backend/alsa/slew_volume.cc:18: const int kRequiredAlignment = 16; not used? https://codereview.chromium.org/2341783004/diff/20001/chromecast/media/cma/backend/alsa/slew_volume.cc#newcode53 chromecast/media/cma/backend/alsa/slew_volume.cc:53: ...
4 years, 3 months ago (2016-09-15 01:51:36 UTC) #5
jyw
https://codereview.chromium.org/2341783004/diff/20001/chromecast/media/cma/backend/alsa/slew_volume.cc File chromecast/media/cma/backend/alsa/slew_volume.cc (right): https://codereview.chromium.org/2341783004/diff/20001/chromecast/media/cma/backend/alsa/slew_volume.cc#newcode18 chromecast/media/cma/backend/alsa/slew_volume.cc:18: const int kRequiredAlignment = 16; On 2016/09/15 01:51:36, kmackay ...
4 years, 3 months ago (2016-09-15 22:16:23 UTC) #6
wzhong
https://codereview.chromium.org/2341783004/diff/40001/chromecast/media/cma/backend/alsa/slew_volume.cc File chromecast/media/cma/backend/alsa/slew_volume.cc (right): https://codereview.chromium.org/2341783004/diff/40001/chromecast/media/cma/backend/alsa/slew_volume.cc#newcode32 chromecast/media/cma/backend/alsa/slew_volume.cc:32: max_slew_up_ = (1000.0 / (max_slew_time_up_ms_ * sample_rate)); Nit: () ...
4 years, 3 months ago (2016-09-16 01:03:47 UTC) #7
jyw
https://codereview.chromium.org/2341783004/diff/40001/chromecast/media/cma/backend/alsa/slew_volume.cc File chromecast/media/cma/backend/alsa/slew_volume.cc (right): https://codereview.chromium.org/2341783004/diff/40001/chromecast/media/cma/backend/alsa/slew_volume.cc#newcode32 chromecast/media/cma/backend/alsa/slew_volume.cc:32: max_slew_up_ = (1000.0 / (max_slew_time_up_ms_ * sample_rate)); On 2016/09/16 ...
4 years, 3 months ago (2016-09-16 20:35:42 UTC) #8
wzhong
lgtm
4 years, 3 months ago (2016-09-16 22:56:20 UTC) #9
kmackay
The unit tests are failing for me on x86 with this CL.
4 years, 3 months ago (2016-09-16 23:30:40 UTC) #10
tianyuwang1
I think kmackay@ is working on a change to send more gradual multipliers for ducking ...
4 years, 3 months ago (2016-09-17 00:37:46 UTC) #11
wzhong
Slew is needed for volume changes triggered by all types of input source. Also it ...
4 years, 3 months ago (2016-09-17 00:41:23 UTC) #12
chromium-reviews
I think ducking affects a subset of the audio types, which should be covered by ...
4 years, 3 months ago (2016-09-17 00:44:56 UTC) #13
wzhong
lgtm Yes. I believe slew here on is more generic and should be enough to ...
4 years, 3 months ago (2016-09-17 01:22:51 UTC) #14
kmackay
> Yes. I believe slew here on is more generic and should be enough to ...
4 years, 3 months ago (2016-09-17 01:36:16 UTC) #15
jyw
On 2016/09/16 23:30:40, kmackay wrote: > The unit tests are failing for me on x86 ...
4 years, 3 months ago (2016-09-19 01:38:02 UTC) #17
kmackay
lgtm
4 years, 3 months ago (2016-09-19 02:18:59 UTC) #18
wzhong
lgtm https://codereview.chromium.org/2341783004/diff/80001/chromecast/media/cma/backend/alsa/slew_volume.cc File chromecast/media/cma/backend/alsa/slew_volume.cc (right): https://codereview.chromium.org/2341783004/diff/80001/chromecast/media/cma/backend/alsa/slew_volume.cc#newcode30 chromecast/media/cma/backend/alsa/slew_volume.cc:30: // Slew rate should be 1 / (slew_time ...
4 years, 3 months ago (2016-09-19 04:48:13 UTC) #19
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/2341783004/80001
4 years, 3 months ago (2016-09-19 17:05:32 UTC) #21
commit-bot: I haz the power
No L-G-T-M from a valid reviewer yet. CQ run can only be started by full ...
4 years, 3 months ago (2016-09-19 17:05:35 UTC) #23
lcwu1
On 2016/09/19 17:05:35, commit-bot: I haz the power wrote: > No L-G-T-M from a valid ...
4 years, 3 months ago (2016-09-19 17:47:32 UTC) #24
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/2341783004/80001
4 years, 3 months ago (2016-09-19 17:48:13 UTC) #26
tianyuwang1
lgtm
4 years, 3 months ago (2016-09-19 17:48:28 UTC) #27
tianyuwang1
lgtm
4 years, 3 months ago (2016-09-19 17:48:30 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_arm64_dbg_recipe/builds/130874) mac_chromium_compile_dbg_ng on master.tryserver.chromium.mac (JOB_FAILED, ...
4 years, 3 months ago (2016-09-19 17:51:03 UTC) #30
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/2341783004/100001
4 years, 3 months ago (2016-09-19 19:49:57 UTC) #33
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 3 months ago (2016-09-19 20:06:18 UTC) #35
commit-bot: I haz the power
4 years, 3 months ago (2016-09-19 21:03:23 UTC) #37
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/146e6b47128a16c54772ad0bbda59cefbda1bb2a
Cr-Commit-Position: refs/heads/master@{#419540}

Powered by Google App Engine
This is Rietveld 408576698