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

Skip to content
Commit f030fe8a authored by Eric Laurent's avatar Eric Laurent
Browse files

audio hal: fix audio leak when disconnecting A2DP sink

When A2DP sink is disconnected, the A2DP offload path may be
disabled before the audio framework pauses the output stream, in
which case the HAL forces the audio route to speaker.
When this happens, the front end must be muted to avoid audio
leaking over speaker path potentially at full volume if
A2DP absolute volume is enabled.

Bug: 156044862
Test: repro steps in the bug.
Change-Id: I90de8729ac862ca794dbdcf85fc1fa9dfabbf23b
parent 680f5607
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