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

Skip to content
Commit 4c34434a authored by Francois Gaffie's avatar Francois Gaffie Committed by Eric Laurent
Browse files

audiopolicy: HW Bridge Sink matching rule



In order to use an HW Bridge, audio policy configuration file
must declare that a given sink may be reacheable from a given source
device.
The declaration is made using the "Tag Name", which is a human readable
name given to a device / mix Port.

This CL adds an equality operator based only on this tag name, which
identify uniquely the device port.

This CL manages also dynamic device cases, the tagName shall be assigned
to all dynamically created device.

Test: adb shell ./data/AudioPolicyEmulatorTests/AudioPolicyEmulatorTests --gtest_filter=*VoiceCallBridgingTest*

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