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

Skip to content
Commit 36077c9b authored by Pawel Smolarek's avatar Pawel Smolarek Committed by Paweł Sołtysiak
Browse files

Fix audio glitch when starting/stopping HFP call

When audio is playing and HFP call is started
there can be observed multiple create/release
AudioPatch requests. When HFP call is started
and patch is created for non HFP audio source
it can be heard for few ms until patch
is released again.

In this approach connection will be invalidated
and connectAudioSource will be called only when
client primaryMix exists and its different
from strategy primaryMix or when client
lost its primary mix.

Bug: 351880230
Test: connect and disconnect HFP call
      when radio is playing.
Merged-In: I6fd89f7a9be6bc461df9db171df8f1afd75aa2f8
Change-Id: I6fd89f7a9be6bc461df9db171df8f1afd75aa2f8
(cherry picked from commit ffd364b0a20d6bd47e44499b34b628357d95f3b7)
parent 43147f43
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