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

Skip to content
Commit 20b15f97 authored by Jasmine Cha's avatar Jasmine Cha Committed by George Gao
Browse files

audio: send device/use case info to sthal for mic concurrency.



- Send ST device while capture device is active/inactive
  - Sound trigger hal needs to know active capture device for
    implementation of concurrent capture.
- Send usecase to sthal for voice/VoIP case
  - if input source is voice communication, send VoIP use case to
    sthal.
- Including input snd device of matching backend
  - Send correct ST device to sthal by comparing backend

Bug: 126595113
Bug: 129733664
Bug: 133123985
Bug: 130316160

Test: (ST: sound trigger, VO: VoIP, PH: phone call,
       NR: media recording, PL: playback music)
 ST->VO (MO/MT),  ST->PH (MO/MT)
 ST->NR->PH (MO/MT), ST->NR->VO (MO/MT)
 ST->PL->PH (MO/MT), ST->PL->VO (MO/MT)
 ST->NR->PL->PH (MO/MT),  ST->NR->PL->VO (MO/MT)

Change-Id: I16ffaf669450e26582eadac9ba429961d1e38665
Signed-off-by: default avatarJasmine Cha <chajasmine@google.com>
(cherry picked from commit b310c0762b92d070babe58da8923afc0e5a94eef)
Signed-off-by: default avatarAniket Kumar Lata <alata@codeaurora.org>
parent 8a6aaf36
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