9 Commits

Author SHA1 Message Date
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
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
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
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
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
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