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

Skip to content
Commit cff312a2 authored by kunleiz's avatar kunleiz Committed by Gerrit - the friendly Code Review server
Browse files

hal: set backend sample rate with default rate

During device switch from headphone-44.1 to headphone, afe
output sample rate for headphone still is set to 44.1Khz
due to stream output sample rate is 44.1Khz. This causes
afe sample rate mismatch with configured device.

Fix it by setting AFE at default sample rate when stream
rate mismatch with configured device, and resetting codec
config when device backend is different.

CRs-Fixed: 2206207
Change-Id: I3af8051595e721604bd7086632b6c34997c8ea65
parent 4e89beb3
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