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

Skip to content
Commit 2685aa09 authored by Eric Laurent's avatar Eric Laurent
Browse files

audio policy: fix default stream and source effects

Fixed AudioPolicyEffects::addSourceDefaultEffect() and
AudioPolicyEffects::addStreamDefaultEffect() for the case where
not both effect type and uuid are provided.
Use the type and uuid in the descriptor retrieved from the
effect implementation instead of the ones provided as argument when
creating the effect entry.

Test: atest audioeffect_tests:DefaultEffectTest#ManageSourceDefaultEffects
Test: atest audioeffect_tests:DefaultEffectTest#ManageStreamDefaultEffects

Change-Id: Iaf9311967aa0b91c66dd2ff0f136ff744a6642d8
parent 0fe05c41
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