Commit graph

14 commits

Author SHA1 Message Date
Sujin Panicker
55797d3525 kunlun2: configs: Add voip_tx profile to policy conf
Skype+camcorder concurrency usecase makes Skype
to mute since both uses same record_24 profle, due to
which second audio record request de-prioritizes first
setting isTopOrLatestActive(=true)

Add voip_tx profile making skype to use fasttrack rather
than using record_24 profile

Change-Id: I4a6cee00787f8f587b088d4586e8d13d824144c3
2020-12-22 15:47:15 +01:00
Jasmine Cha
241e67c81c kunlun2: audio: Add hotword input for hotword mic concurrency
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: I11513994c7a34364de38e00fc8ff999efe3dbb6c
Signed-off-by: Jasmine Cha <chajasmine@google.com>
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-12-22 15:47:10 +01:00
GiaSen
fb115aa927 kunlun2: Kang audio policy configuration from DRG 2020-12-03 22:49:30 +01:00
SamarV-121
b1433f3b0d kunlun2: Kang audio policy configuration from Realme sdm710
*BT configs from Lenovo
2020-11-15 15:04:29 +01:00
Lucchetto
920fec6e5d kunlun2: add wired headset to audio policy
* Workaround for missing audio trough headphone jack
    * Source: https://github.com/phhusson/treble_experimentations/issues/855

Signed-off-by: Lucchetto <lucchetto.tie@live.com>
2020-11-13 00:01:22 +01:00
GiaSen
6f69e21cbf kunlun2: Import and bind mount stock audio policy configuration 2020-11-13 00:01:13 +01:00
SamarV-121
432e2365f1 kunlun2: Remove some custom configs
* vendor one's are fine

Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-04-11 19:34:46 +05:30
SamarV-121
c8b4b91fe2 sdm710-common: Update configs from stock Q
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-03-12 20:06:43 +05:30
Sujin Panicker
5f70c7615c sdm710-common: audio: Remove unnecessary profiles from USB input device
CTS test USB Audio Peripheral Attributes fails due to
extra profiles getting added

remove the extra profiles added for USB input device

Change-Id: I19311a65612bb8ecad40d9a3714a5cfe32dce110
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-02-14 09:12:01 +05:30
LuK1337
c9251d69e8 sdm710-common: Don't advertise vorbis offloading support
* Doesn't work at all.

Change-Id: I8cd6341b240c3820dbbdef497e23e785b6ed99dc
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-02-14 09:12:01 +05:30
Dhananjay Kumar
ae72da5389 sdm710-common: configs: Remove surround recording support from audio policy config xml
Remove surround sound recording support from audio policy config xml
as its resulting in CTS failure due to mismatch in channel index support
for record usecase.

Change-Id: Idf50b3f2e71c4209720e79c0248ce74bc1a0edf2
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-02-14 09:11:57 +05:30
jumoog
74b05ddf78 sdm710-common: removing AUDIO_OUTPUT_FLAG_RAW
removing AUDIO_OUTPUT_FLAG_RAW to disable ull playback which could cause creaking sound

Change-Id: Ifdde121b1eb289399a556ef9e086b300c0a0be45
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2019-12-21 10:06:56 +00:00
luk1337
b4eff72fe7 sdm710-common: Load A2DP configuration from a2dp_audio_policy_configuration.xml
* CAF configuration doesn't really work for us.
2019-09-26 01:14:59 +00:00
bgcngm
44ad53081b sdm710-common: Import and bind mount stock custom audio policy config
* The purpose is to apply the same BT A2DP fix that used to be
   applied in the individual device trees.
2019-09-26 01:14:55 +00:00