0
Files
src/chromecast
Yuchen Liu 51daf04121 [Chromecast] Correct sync mode when creating CMA backend
Use kModeSyncPts when creating CMA backend. This allows CMA backend to
buffer the audio data instead of dropping it, since we're able to push
audio ahead of realtime.

Bug: internal b/213385327
Test: On device
Change-Id: I501c3677301d218eb3f6dbc4192af6a45fce12e4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3371961
Auto-Submit: Yuchen Liu <yucliu@chromium.org>
Commit-Queue: Yuchen Liu <yucliu@chromium.org>
Reviewed-by: Kenneth MacKay <kmackay@chromium.org>
Commit-Queue: Kenneth MacKay <kmackay@chromium.org>
Cr-Commit-Position: refs/heads/main@{#956353}
2022-01-07 02:47:26 +00:00
..
2021-10-17 22:01:39 +00:00
2021-12-06 20:18:32 +00:00

Cast base

cast_features

This file contains tools for checking the feature state of all of the features which affect Cast products. Cast features build upon the Chrome feature system. Some aspects of Cast require the feature system to work differently, however, so some additional logic has been layered on top. Details are available in comments of the header file. The basics are:

  • If you are adding a new feature, add it to cast_features.cc so it lives alongside existing features
  • Add your new feature to the list of kFeatures in cast_features.cc
const base::Feature kMyFeature{"my_feature", base::FEATURE_DISABLED_BY_DEFAULT};


const base::Feature* kFeatures[] = {
  // ..other features
  &kMyFeature
}