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

Issue 2787433002: audio_manager_cras: Set minimum output buffer size per board (Closed)

Created:
3 years, 8 months ago by cychiang
Modified:
3 years, 8 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

audio_manager_cras: Set minimum output buffer size per board Add a map to set different minimum output buffer size per board. We can use smaller minimum output buffer size for powerful board, and use larger minimum output buffer size for slower board. BUG=581679 TEST=On kevin board, check block size is 768 on WebAudio test page. TEST=On samus board, check block size is 256 on WebAudio test page. CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel Review-Url: https://codereview.chromium.org/2787433002 Cr-Commit-Position: refs/heads/master@{#464411} Committed: https://chromium.googlesource.com/chromium/src/+/eeedc3696edc5e4be6cf0c7a117ddf04f84745f8

Patch Set 1 #

Total comments: 2

Patch Set 2 : audio_manager_cras: Set minimum output buffer size per board #

Patch Set 3 : audio_manager_cras: Set minimum output buffer size per board #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -1 line) Patch
M media/audio/cras/audio_manager_cras.h View 1 chunk +3 lines, -0 lines 0 comments Download
M media/audio/cras/audio_manager_cras.cc View 1 2 chunks +13 lines, -1 line 0 comments Download

Messages

Total messages: 14 (8 generated)
DaleCurtis
https://codereview.chromium.org/2787433002/diff/1/media/audio/cras/audio_manager_cras.cc File media/audio/cras/audio_manager_cras.cc (right): https://codereview.chromium.org/2787433002/diff/1/media/audio/cras/audio_manager_cras.cc#newcode49 media/audio/cras/audio_manager_cras.cc:49: const std::map<std::string, int> kCustomizedOutputBufferSizeMap = { This is a ...
3 years, 8 months ago (2017-03-30 16:17:42 UTC) #4
cychiang
Thanks!I will do the power and underrun testing. https://codereview.chromium.org/2787433002/diff/1/media/audio/cras/audio_manager_cras.cc File media/audio/cras/audio_manager_cras.cc (right): https://codereview.chromium.org/2787433002/diff/1/media/audio/cras/audio_manager_cras.cc#newcode49 media/audio/cras/audio_manager_cras.cc:49: const ...
3 years, 8 months ago (2017-04-07 08:45:42 UTC) #5
DaleCurtis
lgtm assuming the boards actually work.
3 years, 8 months ago (2017-04-10 19:40:55 UTC) #6
cychiang
Tested power consumption and glitches on issue tracker. Thanks!
3 years, 8 months ago (2017-04-13 13:50:27 UTC) #7
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/2787433002/40001
3 years, 8 months ago (2017-04-13 13:53:40 UTC) #11
commit-bot: I haz the power
3 years, 8 months ago (2017-04-13 15:24:03 UTC) #14
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/eeedc3696edc5e4be6cf0c7a117d...

Powered by Google App Engine
This is Rietveld 408576698