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

Skip to content
Commit 3523ab3e authored by Francois Gaffie's avatar Francois Gaffie
Browse files

[BUG] AudioPolicyManager: fix volume on output using Hw Gain



2 clients following different volume group are connected to
a SwOutput. This output is routed to a device using Hw Gain.
The volume applied on the port if the one of the higher priority
strategy (order matters in the engine configuration file).

When the client with highest priority ends, the volume is not
reconsidered and is kept at the value of stopped output.

This CL forces to reapply the volume if SwOutput has still an
active client with different volume group and if routed device
is controling volume through Hw Gain.

Bug: 187173302

Test: build & boot & basic audio.

Signed-off-by: default avatarFrancois Gaffie <francois.gaffie@renault.com>
Change-Id: I6f9795e1c70f1347e5d85b651da6ec272fda4083
parent 09b9e25e
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