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

Skip to content
Commit 5b30b062 authored by andysu's avatar andysu Committed by Eric Laurent
Browse files

hal: prevent device switch when speaker swap channel



Issue happens while music playback with touch sound enabled.
music playback started in the first place and touch sound created
low-latency playback with device switch when device orientation
changed.
This fix disabled the device switch when acdb tuning is the same
for SPEAKER & SPEAKER_REVERSE. Since walleye uses ADSP mixer control
for swap channel, the acdb setting is the same for SPEAKER &
SPEAKER_REVERSE.
Test: self-tested for over 50 times.
Bug: 77499491

Change-Id: Ie602cf1b1ee533a46714c569fa0da9b40da9e25b
Signed-off-by: default avatarandysu <andysu@android.com>
parent 9c021b94
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