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

Skip to content
Commit 199f1894 authored by Carter Hsu's avatar Carter Hsu Committed by Andy Hung
Browse files

AudioPolicyManager: improve selectOutput functional flag matching



Prefer outputs with fewer unmatched functional flags.
Avoids assigning the audio stream to the VoIP output when
 - Primary output: 24, 32 or float
 - VoIP output: 16 bit

Bug: 200293124
Test: build pass
Signed-off-by: default avatarCarter Hsu <carterhsu@google.com>
Change-Id: I79d7429e9ef9c6fa02a7e7ba5f8e221ed81af423
parent 5973463b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment