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

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

audiopolicy: apm: connectAudioSource: use Sw brigding according to hal support



Even if the implementation is not ready, this patch updates the conditions
of audio patch creation delegation to audio hal not only if HAL
is at least supporting 3.0 routing API but also has declared within
policy configuration file that a route between Device port is supported.

If the route is not declared in configuration file, Audio HAL is not able
to do the connexion, let AudioFlinger do the the Sw Bridging.

Test: Audio smoke tests.
Test: CTS tests for AudioRecord, AudioTrack and AudioEffect

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