Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit fa1db6f1 authored by Xiaojun Sang's avatar Xiaojun Sang
Browse files

hal: support right speaker as mono for speaker protection

For mono speaker case, VI feed channel number differs with default
value of two from mixer control. Update the value by number of WSA
found from tz.
When speaker protection is enabled, device name suffix is not
appended for QRD. Inncorrect audio route is applied. Add the suffix
for speaker-protected device.
In case of SPv3 enabled, dynamic config is writren to WCD, WSA and
ADSP. In mono case, left channel is set as primary by convention.
Add compatiblity to support right speaker as mono device.

Change-Id: Ic2af261d06285d3e91aba4715d869cdfda6ff861
parent 4aee4bd2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment