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

Skip to content
Commit 3251d232 authored by kunleiz's avatar kunleiz
Browse files

hal: Fix no audio during voice call with voip in background

- First, ringtone uses audio combo device "speaker-and-headphones".
  Then IN_CALL mode is set, voice call useacase starts and selects
  device based on primary output. But at this moment APM hasn't
  routed output to headset. Voice call usecase starts and
  audio device still uses "speaker-and-headphones" combo device.
  This would causes no audio issue due to no backends enabled.
  And in APM, voice call usecase is not allowed to route to combo
  device.

- Add combo device check before voice set up. It forces voice stop
  when voice start with combo device.

CRs-Fixed: 2113931
Change-Id: I3f0b6286a2ab473c83e0caa59917de81d56b7df5
parent 6f374235
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