-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CRAS: alsa_io - tidy up output volume settings on nodes
Previously we have codes handling volume related parameters on an output node, such as volume curve/steps/range, and SW or HW volume. This results in scattered and less transparent code, making it difficult to manage dependencies. This commit consolidates these related logics, bringing them together into a unitfied structure during the "complete init" stage. The goal is to enhance readability and explicitly communicate that volume settings are independent of the other fields on node. BUG=None TEST=unittest. Manual test USB headset with and without UCM specifying DisableSoftwareVolume flag. Verify volume works good. Change-Id: I1b305e58cfb5b84bf139e5b38fd0e53d1cd18d66 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/adhd/+/5052461 Tested-by: chromeos-cop-builder@chromeos-cop.iam.gserviceaccount.com <chromeos-cop-builder@chromeos-cop.iam.gserviceaccount.com> Reviewed-by: Ching Yun Chang <whalechang@google.com> Commit-Queue: Ching Yun Chang <whalechang@google.com>
- Loading branch information
Hsin-yu Chao
authored and
Chromeos LUCI
committed
Dec 19, 2023
1 parent
9445c0e
commit 6d24ed7
Showing
4 changed files
with
197 additions
and
191 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.