Alexander Winkowski
44c8945182
sm6250-common: audio: Use stock audio_policy_volumes.xml
...
* Stock changes are actually needed here.
* This reverts commit aff1d9eb0b07e044584118066e4ded34921f0a02 also reverting commit e74d1037860cf175a52826de9b92f13a965f5cd6.
Change-Id: Ib6a70ac78d3041ebb7a14406a945a6a24dcd8b0b
2021-12-21 15:46:39 +00:00
Alexander Winkowski
aff1d9eb0b
sm6250-common: audio: Use audio_policy_volumes.xml from AOSP
...
Change-Id: I50fdea6316dedce109cd78ca63102073d4011681
2021-10-14 19:22:18 +02:00
Dobsgw
95081e601a
sm6250-common: audio: fixup audio io policy voip_rx flags
...
Flags for VOIP were mixed up as we move to CAF policy configuration. Amend the flags to get things working again.
Co-authored-by: Ramii Ahmed <ramy@ahmedramy.com>
Change-Id: I2a2b202e2a58db9a26f571c091b1fa0b8f2949f6
2021-10-07 21:30:01 +02:00
Alexander Winkowski
6291e7aa67
Revert "sm6250-common: audio: do not use direct flag for voip rx output"
...
* Causes crackling sound for notifications.
This reverts commit 198163984bb6e2f2301d85e35e627f43db95c832.
Change-Id: Ic0440713f1bd938cd97f127248227ec677c7dbe6
2021-10-07 21:29:58 +02:00
Alexander Winkowski
6a60791b24
sm6250-common: audio: Drop Xiaomi ACDB ID changes
...
Change-Id: I3cbd6f345d8800585885a41cd760cae71607f75a
2021-09-23 18:42:57 +02:00
Alexander Winkowski
4cdaecf58a
sm6250-common: audio: Correct maximum microphone count
...
* miatoll devices have 2 microphones only
Change-Id: Ib8a71f4b3a3ada7850d8089df5c87b0869ebb1e1
2021-09-23 18:42:57 +02:00
Eric Laurent
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
Sebastiano Barezzi
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
dianlujitao
ff0b9f08be
sm6250-common: Enable AOSP bluetooth audio HAL v2
...
Change-Id: I4d12752ae5fb2829d6612647c8740c84967f5434
2021-09-09 18:46:16 +02:00
Sebastiano Barezzi
2e09c7a281
sm6250-common: audio: Remove misoundfx
...
Change-Id: I0a93dbfced55d851d3a7e5b57c1ff9a251777094
2021-09-09 18:46:15 +02:00
Akash
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
justinweng
98bc6d7dd7
sm6250-common: audio: Sync audio feature from coral
...
1. enforce 48KHz sampling rate at COPP for audio recording.
2. resize offload buffer to reduce power consumption.
3. enforce 24 bit width for offload playback and apply app_type 69940
Bug: 147027029
Test: build passed
Change-Id: Ie692746f4588b5706cbab7eddf5b6b7b8766a181
Signed-off-by: justinweng <justinweng@google.com>
2021-09-09 18:46:15 +02:00
Jasmine Cha
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
Weiyin Jiang
32a9e4666b
sm6250-common: audio: Add compress recording configurations
...
Add compress recording configurations
CRs-Fixed: 2764160
Change-Id: I8e8b1f89d7f28d997342c5946d0a35111e941ec1
2021-09-09 18:46:14 +02:00
Jasmine Cha
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
justinweng
ecc89ae0ad
sm6250-common: audio: Offload 24 bits playback supports mp3/aac format
...
compress_offload_24 supports mp3/aac format
Bug: 132425237
Test: mp3 playback
Change-Id: I5742db45908f9d600cab0fef62badf447fc5c585
Signed-off-by: justinweng <justinweng@google.com>
2021-09-09 18:46:14 +02:00
justinweng
2c4a51ef79
sm6250-common: audio: Update audio_io_policy for VoIP
...
Add VoIP Tx app type config for pcm and low-latency captures.
Bug: 133297310
Test: make a voip call
Change-Id: I5dd67167b7568fd08a7ae979b50417f2627dc7d9
Signed-off-by: justinweng <justinweng@google.com>
2021-09-09 18:46:13 +02:00
LuK1337
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
Jyotiraditya Panda
e74d103786
sm6250-common: audio: Adjust volume curves
...
Signed-off-by: Jyotiraditya Panda <jyotiraditya@aospa.co>
Change-Id: I9612cc657df01b62f49fc0d29758a288e72b05a8
2021-09-09 18:46:13 +02:00
Jyotiraditya Panda
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
Jyotiraditya Panda
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