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: Jasmine Cha <chajasmine@google.com>
(cherry picked from commit b310c0762b92d070babe58da8923afc0e5a94eef)
Signed-off-by: Aniket Kumar Lata <alata@codeaurora.org>
2 files changed