commit | 13adf14c608fd7284624d407b103017ec7420820 | [log] [tgz] |
---|---|---|
author | Tom Bergan <tombergan@fuchsia.infra.roller.google.com> | Thu Dec 08 21:52:24 2022 +0000 |
committer | Copybara-Service <copybara-worker@google.com> | Thu Dec 08 13:54:04 2022 -0800 |
tree | 442b6c50e850fd2bcd688bf20919131820e80fd4 | |
parent | b6700bad704b0368b082ccb6011d7b3f0383d502 [diff] |
[roll] Roll fuchsia [audio] Add audio_core/v2/UsageVolume UsageVolume wraps the gain controls for a single usage. Each usage has two controls: one from the "primary" volume slider and one "adjustment" which applies muting/ducking rules. This implements the old StreamVolume interface: https://cs.opensource.google/fuchsia/fuchsia/+/main:src/media/audio/audio_core/shared/stream_volume_manager.h;drc=1ec3ad0308e3d4d27e035fc72e38a7ccabd3e8f3;l=37 Implementing StreamVolume will let us reuse StreamVolumeManager verbatim in audio_core/v2, which will (hopefully) reduce the chance of accidential new bugs. A future CL will create one UsageVolume for each pair (device, usage). For example, if output device A supports MEDIA and INTERRUPTION usage, while output device B supports only the MEDIA usage, we'll create three UsageVolume objects. We create separate UsageVolumes per device because each device may use a unique VolumeCurve. These UsageVolume objects will be added to StreamVolumeManager (via `AddStream`) when the device is plugged in, then removed from StreamVolumeManager (via `RemoveStream`) when the device is unplugged. Original-Bug: 98652 Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/773324 Original-Revision: 4b85c44d1403e34620c75348a142cd2b71bde818 GitOrigin-RevId: 2bc123c3ba57d3d75c9f2d65f330f03318ab3be3 Change-Id: Ib53a7259bc4798f03a4d4b6b7456dda4f660c6a0
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
.