| commit | b24f00832cffa1ab0d87dec2a2ead3de487b336c | [log] [tgz] |
|---|---|---|
| author | Martin Puryear <mpuryear@fuchsia.infra.roller.google.com> | Tue Aug 17 03:39:54 2021 +0000 |
| committer | Copybara-Service <copybara-worker@google.com> | Mon Aug 16 20:41:09 2021 -0700 |
| tree | a0d08c07d63923e01c7e3eb9ecec016ecf9570a9 | |
| parent | 63ffd0a8315a66c03b05b9b0e3d514dd323d6b2e [diff] |
[roll] Roll fuchsia [audio_core] Idle-power on output hot-swap When an output device is added or removed when streams are actively playing, IdlePolicy needs to account for any change in routing. Note that in these cases, the number of active renderer streams does not change, but an audio output device may no longer be the target of active streams. This accounting is needed so that IdlePolicy correctly manages the enabled/disabled states of audio output devices, not just as AudioRenderer streams come and go, but also as other output devices come and go. AudioCore extracts the subset of RouteGraph that is used by AudioDeviceManager, into the new interface DeviceRouter. IdlePolicy implements the interface (and is injected into AudioDeviceManager instead of RouteGraph), using it to take snapshots of the route graph before and after devices are added/removed. Between taking these snapshots, it passes the actual AddDeviceToRoutes and RemoveDeviceFromRoutes calls through to the actual RouteGraph. Also, debug-logging for the idle-power mechanism is reduced and cleaned up, now that support for this feature has stabilized across AudioCore and the audio drivers. Two top-level build-time flags are added to enable/disable the entire idle-power feature, so device power consumption can be easily compared, before and after this feature. These can be removed in a subsequent CL. Original-Bug: fxb/75709 Original-Bug: fxb/75714 Original-Bug: fxb/82302 Original-Bug: fxb/82408 Original-Bug: fxb/82423 Original-Bug: fxb/82798 Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/569502 Original-Revision: c9fe9b15c06c70f6bacfd636ac189cbcd95b80a4 GitOrigin-RevId: cd50c785a826e153b31379f883d7c20c64f807f7 Change-Id: I05b6e28f436f15402054c01904a9dffb52810431
This repository contains Fuchsia's Global Integration manifest files.
All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.
Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance via the IRC channel #fuchsia on Freenode.
First install Jiri.
Next run:
$ jiri init $ jiri import minimal https://fuchsia.googlesource.com/integration $ jiri update
Third party projects should have their own subdirectory in ./third_party.