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

Skip to content
Commit a807ef99 authored by François Gaffie's avatar François Gaffie Committed by Eric Laurent
Browse files

audiopolicy: apm: Fix default bus device issue



When a bus device is used as default, when calling setForceUse,
a given SwOutputDescriptor might be asked to switch to another
bus device (the default), violating the Policy Mix rule.

Test: see below
 -start an automotive device with PolicyMix registered and
  bus device as the default.
 -Consider having a system bus for system sound and media for music.
 -Play touch sound (check played in system bus).
 -launch music player.

Result:
 -Music shall be played on media bus device
 -Touch sound still played on system bus device

Change-Id: I6668cffa525af51af6ed0838745658f72ae00a62
Signed-off-by: default avatarFrançois Gaffie <francois.gaffie@renault.com>
parent 9eb18550
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