Commit Graph

16 Commits

Author SHA1 Message Date
f3491ee3c1 miatoll: audio: Enable AOSP bluetooth audio HAL v2
Change-Id: I4d12752ae5fb2829d6612647c8740c84967f5434
2023-01-06 08:48:57 +00:00
1edd945981 miatoll: Switch to prebuilt audio HAL
Change-Id: I985a9b2c3bdb39c17bc0f861913536c121e7eeae
2022-11-20 07:35:14 +00:00
c4c0223f97 sm6250-common: audio: Add support for BT LC3 codec
Add format support for LC3 codec of BT device.

Change-Id: I3e14fcf226ef3c24b657ece41ed5ed8e004e34e8
2022-08-30 18:16:56 +00:00
8cd79a3757 sm6250-common: audio: Don't advertise vorbis offloading support
* Doesn't work at all.

Change-Id: I8cd6341b240c3820dbbdef497e23e785b6ed99dc
2022-08-30 18:16:55 +00:00
0810854407 sm6250-common: audio: Disable ULL mode
* Ultra low latency playback is currently broken. Crackling audio
   can be well noticed while playing WhatsApp audio messages or even
   during some games.

 * This patch routes all audio that normally used audio-ull-playback
   paths to low-latency-playback paths instead, thus meaning we're
   switching from ULL to LL mode.

Change-Id: I7d672f1ff10b984c8096c9c4ca83475e730fd16f
2022-08-30 18:16:55 +00:00
da1c649bbd sm6250-common: audio: Reset to LA.UM.9.1.r1-12200-SMxxx0.QSSI13.0
This doesn't preserve any change made to audio configs.

Change-Id: I2b39a68fe30e68973e8b480eec80d98030347789
2022-08-30 18:16:29 +00:00
6291e7aa67 Revert "sm6250-common: audio: do not use direct flag for voip rx output"
* Causes crackling sound for notifications.

This reverts commit 198163984b.

Change-Id: Ic0440713f1bd938cd97f127248227ec677c7dbe6
2021-10-07 21:29:58 +02:00
198163984b sm6250-common: audio: do not use direct flag for voip rx output
Dedicated output profile for VoIP should not be a direct output as
it prevents from playing two audio tracks simultaneously which breaks
call signalling played on top of Rx call audio.

Bug: 64392515
Test: Fi call, Duo Calls
Change-Id: I4e62ba3be3da079ff32be9b92d5d5fa28e0f5e2b
[dereference23: Apply the change to audio_io_policy.conf as well]
Signed-off-by: Alexander Winkowski <dereference23@outlook.com>
2021-09-23 18:42:55 +02:00
e600ae99f8 sm6250-common: audio: Remove QTI BT A2DP routes
* They conflict with AOSP ones

Change-Id: If8e2bc1b0f44aad66ac0d86b983d90d9d85a01b8
2021-09-09 18:46:16 +02:00
ff0b9f08be sm6250-common: Enable AOSP bluetooth audio HAL v2
Change-Id: I4d12752ae5fb2829d6612647c8740c84967f5434
2021-09-09 18:46:16 +02:00
218c05d2c0 sm6250-common: audio: Fix mic issues in apps like WhatsApp
* Also clean up FM Tuner from original commit as it breaks wired headphones

Change-Id: I311b484e07e41bf69ab43b78e4a9abe883730435
2021-09-09 18:46:15 +02:00
21171a2f2d sm6250-common: 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>
2021-09-09 18:46:14 +02:00
53b4166dd7 sm6250-common: audio: Correct routing order for voip output
Routing primary output before voip_rx output will cause unexpected
RX/TX path suddenly and unmuted voice stream during when system
plays touch sound and switches path between handset and handsfree.

Bug: 152292858
Test: manual test in VoIP
Test: Regression test for VoIP(b/153276370) - pass

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: Ia60802ec887f0dfeaa0f93d151ba2f2c50e0d41d
2021-09-09 18:46:14 +02:00
ca7fafff4c sm6250-common: audio: Don't advertise vorbis offloading support
* Doesn't work at all.

Change-Id: I8cd6341b240c3820dbbdef497e23e785b6ed99dc
2021-09-09 18:46:13 +02:00
838ee943b3 sm6250-common: Import cleaned-up stock audio configs changes
Signed-off-by: Jyotiraditya Panda <jyotiraditya@aospa.co>
Signed-off-by: Alexander Winkowski <dereference23@outlook.com>
Change-Id: I9946e215c4aba9e090c013b75e0a33af39423edc
2021-09-09 18:46:13 +02:00
1e92dc621b sm6250-common: Import audio configs from LA.UM.9.1.r1-09600-SMxxx0.0
Signed-off-by: Jyotiraditya Panda <jyotiraditya@aospa.co>
Change-Id: Icf78da31480320a6a101d44d841ca128c0aa1a47
2021-09-09 18:46:12 +02:00