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

Skip to content
Commit 6ba62d1b authored by kunleiz's avatar kunleiz
Browse files

hal: Set default backend sample rate for headset device

When music playback at 22.05Khz with headset, the afe
backend sample rate is set to 22.05khz as well. When
there is touch tone, it requires afe backend sample
rate to 48Khz. The rate change will cause music playback
disable and reroute to cause interruption during playback.

Fix it by setting backend sample rate to 48Khz if sample
rate less than 44.1Khz.

CRs-Fixed: 2258133
Change-Id: I711407537c0c41dbac99fea059710912ba6d1af3
parent 2ab55f3c
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