diff options
author | Yu-Hsuan Hsu <yuhsuan@chromium.org> | 2020-02-12 14:51:13 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-02-15 05:50:13 +0000 |
commit | d1f3853bda137ed2b03faaa208449e385cabbaf5 (patch) | |
tree | 2c7f6de5960aba494e00902644bc392cfce3dc2a /ucm-config/for_all_boards/DELL PROFESSIONAL SOUND BAR AE5 | |
parent | 810ee2f048bbc874c135fb4afabd24888973fb55 (diff) | |
download | adhd-d1f3853bda137ed2b03faaa208449e385cabbaf5.tar.gz |
CRAS: Apply software volume on Dell AE515 USB SoundBar
Dell AE515 USB SoundBar can connect USB and lineout to the DUT at the
same time. To avoid the mixer control on USB affecting lineout. We
should force it to use the software volume.
BUG=b:142106422
TEST=The lineout volume does not change when replugging DELL
Soundbar(AE515).
Change-Id: I734e530b718e480f6e00d9a3b867e319e3d1f356
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/adhd/+/2050152
Reviewed-by: Cheng-Yi Chiang <cychiang@chromium.org>
Tested-by: Yu-Hsuan Hsu <yuhsuan@chromium.org>
Commit-Queue: Yu-Hsuan Hsu <yuhsuan@chromium.org>
Diffstat (limited to 'ucm-config/for_all_boards/DELL PROFESSIONAL SOUND BAR AE5')
-rw-r--r-- | ucm-config/for_all_boards/DELL PROFESSIONAL SOUND BAR AE5/DELL PROFESSIONAL SOUND BAR AE5.conf | 6 | ||||
-rw-r--r-- | ucm-config/for_all_boards/DELL PROFESSIONAL SOUND BAR AE5/HiFi.conf | 27 |
2 files changed, 33 insertions, 0 deletions
diff --git a/ucm-config/for_all_boards/DELL PROFESSIONAL SOUND BAR AE5/DELL PROFESSIONAL SOUND BAR AE5.conf b/ucm-config/for_all_boards/DELL PROFESSIONAL SOUND BAR AE5/DELL PROFESSIONAL SOUND BAR AE5.conf new file mode 100644 index 00000000..e34c8135 --- /dev/null +++ b/ucm-config/for_all_boards/DELL PROFESSIONAL SOUND BAR AE5/DELL PROFESSIONAL SOUND BAR AE5.conf @@ -0,0 +1,6 @@ +Comment "DELL PROFESSIONAL SOUND BAR AE5" + +SectionUseCase."HiFi" { + File "HiFi.conf" + Comment "Default" +} diff --git a/ucm-config/for_all_boards/DELL PROFESSIONAL SOUND BAR AE5/HiFi.conf b/ucm-config/for_all_boards/DELL PROFESSIONAL SOUND BAR AE5/HiFi.conf new file mode 100644 index 00000000..67bd2d52 --- /dev/null +++ b/ucm-config/for_all_boards/DELL PROFESSIONAL SOUND BAR AE5/HiFi.conf @@ -0,0 +1,27 @@ +SectionVerb { + Value { + FullySpecifiedUCM "1" + } + + EnableSequence [ + ] + + DisableSequence [ + ] +} + +SectionDevice."Dell AE515 USB SoundBar Output".0 { + Comment "SoundBar Output" + + Value { + PlaybackPCM "hw:AE5,0" + } +} + +SectionDevice."Dell AE515 USB SoundBar Input".0 { + Comment "SoundBar Input" + + Value { + CapturePCM "hw:AE5,0" + } +} |