Commit graph

31 commits

Author SHA1 Message Date
Jasmine Cha
b5914301da audio: improve mute duration
- preview of notification will be cut off slightly becuase of mute
  duration is too long.
- sync mute duration of primary output from to 40 ms

Test: preview notification

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: Ib97017db1066fb6687b6634956e086a3102fe939
2022-08-24 10:53:47 +08:00
Jasmine Cha
ca6b0c61f4 audio: update fm table
Source (iS895):
K6: HEADSET-DOCK_SPEAKER-VOICE_GENERIC-FB (K6_HEADSET_Apr_26_and_epdoffset_15ms.dat)
T6: HANDSFREE-HANDFREE-VOICE_GENERIC-FB   (HANDSFREE_Aug09_v35565_Nest_for_Webex_NREC_off_issue.dat)

Change steps:
1. Convert iS895 source file "K6_HEADSET_Apr_26_and_epdoffset_15ms.dat" and "HANDSFREE_Aug09_v35565_Nest_for_Webex_NREC_off_issue.dat" to iS900
choose source parameter "HEADSET-DOCK_SPEAKER-VOICE_GENERIC-FB" and "HANDSFREE-HANDFREE-VOICE_GENERIC-FB" from Nest Handsfree/Headset iS895 parameter
2. apply T6 iS900 evaluation parameter, including enabling iS900 SSA2.0(T6/K6), EC/NS(slight change in T6)
3. 48k-32k mapping, (Tx/Rx EQ, EPD_offset)
//EPD_offset from 0x2D0(15ms at 48k) to 0x1E0 (15ms at 32k)

Bug: 242920998
Test: manaul test

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I731f75c92e31be98986da8091d5c744064ccfeec
2022-08-22 13:10:07 +08:00
TreeHugger Robot
c05c1a14d4 Merge "audio: update VOIP usecase config" into tm-qpr-dev 2022-08-02 09:14:47 +00:00
shihchienc
86dda98911 Add LE Audio policy file
Bringup le audio on tablet and we found it missed le audio policy file.
So add this file into make file and change the order of make file to
ensure file added in audio-tables.mk can override the common one.

Bug: 239384147
Test: Connect with LE audio device and play music
Change-Id: I0f09744fa6bbe1e1e7377b3986c4a99cdf950095
2022-08-01 06:07:58 +00:00
vincenttew
353ba4f7f7 audio: update VOIP usecase config
sync fortemedia audio table

Test: VOIP usb headset, BT, speaker, handset mode
Bug: 237649996
Signed-off-by: vincenttew <vincenttew@google.com>
Change-Id: I9f2c02f02e80ae32596b024d4bce91c63d2a1d49
2022-07-22 18:19:23 +08:00
TreeHugger Robot
179eba89b6 Merge "audio: sync audio tables" into tm-qpr-dev 2022-07-14 12:55:24 +00:00
Jasmine Cha
cf0a71a285 audio: enable BAACL
Bug: 237469885
Test: manual test
      adb shell "echo 70 > /dev/thermal/tz-by-name/soc/emul_temp"

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I6fc8bbb1fb74ab1cd4697ca780ec8d87332bfd2e
2022-07-14 16:01:20 +08:00
Jasmine Cha
df3093b637 audio: correct table of feature SoundTriggerDockTuning
Test: manual test

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I716a5d203b8d4ec8ea37f3b4706af165ea75c08a
2022-07-14 16:01:20 +08:00
Jasmine Cha
5b39e8475a audio: sync audio tables
Test: manual test

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: Ibc7c58bfd97d4170d00157883e0197204326a54a
2022-07-14 15:56:58 +08:00
TreeHugger Robot
b91600572a Merge "audio: update speaker diagnostic bin files" into tm-qpr-dev 2022-07-13 10:36:28 +00:00
Robert Lee
88c37176f8 audio: update speaker diagnostic bin files
Fix speaker calibration fail with parameter '-d'.

Bug: 224763761
Test: speaker calibration pass
adb shell vendor/bin/crus_sp_cal -d -s -a --device 5 --ambient 21 --num-speakers 4 --verbosity-level 7

Change-Id: I1ac1491a4aa96110624fab743aa351f7a03b616a
Signed-off-by: Robert Lee <lerobert@google.com>
2022-07-13 09:56:00 +08:00
TreeHugger Robot
c6ba71fd24 Merge "audio: update speaker protection bin files" into tm-qpr-dev 2022-07-08 12:10:45 +00:00
yixuanjiang
2599d763d2 aoc: add USB setting
Bug: 238159403
Bug: 238160606
Test: local
Signed-off-by: yixuanjiang <yixuanjiang@google.com>
Change-Id: Ida9f80bf743e6cec035e92560d09902f8918d862
2022-07-08 02:07:03 +00:00
Robert Lee
ae8524f5c5 audio: update speaker protection bin files
Enable PICL and set threshold to 3.4v

Bug: 226011435
Test: Builds
Change-Id: If19d31b72a58699cf19128da4f1edc95354790fd
Signed-off-by: Robert Lee <lerobert@google.com>
2022-07-06 17:32:48 +08:00
yixuanjiang
445a31fc79 aoc: correct capture setting
1. add ultra-sonic capture
2. corret mic2 setting

Test: local
Bug: 237471423
Signed-off-by: yixuanjiang <yixuanjiang@google.com>
Change-Id: If05895eb2574bfdf26d73d371ee634c9f0072bb7
2022-07-04 13:40:35 +08:00
Robert Lee
4da6b64647 audio: update slot position when using ultrasound playback for factory
Bug: 237472692
Test: Builds
Change-Id: I562c6634544f32f458f3f57922614d4f16394989
Signed-off-by: Robert Lee <lerobert@google.com>
2022-06-29 09:58:11 +00:00
Robert Lee
32b2e41252 audio: set speaker safe path the same as speaker
Bug: 235220234
Test: Builds
Change-Id: Ifcc8652dfd2279a3d4b6823e786a43c8ab031cb7
Signed-off-by: Robert Lee <lerobert@google.com>
2022-06-22 14:53:18 +08:00
Jasmine Cha
1903df30a8 audio: waves: correct channel for reversed landscape
Bug:229827180
Test: manual test

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: Ie540ace61a7dfb1f246215ca8f9df41b03fff995
2022-06-07 10:47:02 +08:00
Anoush Khazeni
91e42c0db9 Merge "Revert "[T6] Updating the hotword pipeline gain settings."" into tm-qpr-dev 2022-05-17 00:52:55 +00:00
Carter Hsu
8c02da274d audio: use legacy voip condition
Bug: 226869868
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I69a453f4c80851e2fa3fb19d1551a0ed0bee23dd
2022-05-12 06:40:19 +00:00
Anoush Khazeni
bd253ea12b Revert "[T6] Updating the hotword pipeline gain settings."
This reverts commit de07b38b16.

Reverting this change until we find the optimal gain setting for the
hotword pipeline.

Bug: 215251713
Test: build
Change-Id: Ica6c59ec4c413c7ad3aed301509f3ef914606bea
2022-05-11 18:55:08 +00:00
Carter Hsu
8240e9ebf1 Merge "audio: allow mmap-record to set dsp volume" into tm-qpr-dev 2022-05-11 03:01:01 +00:00
Carter Hsu
af6a083edd audio: allow mmap-record to set dsp volume
Bug: 231630423
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: Ifba3fff2fa21a983d7c106239e3a9662199f6f1c
2022-05-06 09:26:27 +00:00
Rios Kao
9b1d96ed55 sthal: add dynamic tuning feature
note: the detail references ag/17951284

Test: end-to-end test with *gstf
Bug: 227254257
Change-Id: Iad52a402824ff3173d587903fb35ba5df37f0875
2022-05-06 04:45:42 +00:00
Rios Kao
4d84179926 Merge changes Ia5bc3001,I3fe39bdb into tm-dev
* changes:
  audio: add immersive playback support
  audio: sync mixer table for Eraser capture
2022-04-07 02:43:04 +00:00
Anoush Khazeni
de07b38b16 [T6] Updating the hotword pipeline gain settings.
Updating the gain settings for 'eraser_pre_gain' and
'non_eraser_gain' to 35.6 dB through the 'smartfeature.gstf'
file generated by the bluenote tool.

Bug: 215251713
Test: Verified the new gain settings on T6.
Change-Id: Iee4037541a2aa69188c7c598ab2aff4d9b70c104
2022-04-05 10:38:43 -07:00
Rios Kao
0904a1f421 audio: add immersive playback support
Bug: 227697054
Test: build pass
Change-Id: Ia5bc30019f535887b4163285c66cf7f2f35f9ad5
2022-04-01 07:45:38 +00:00
Rios Kao
b3810b08c7 audio: sync mixer table for Eraser capture
Bug: 227697054
Test: build pass.
Change-Id: I3fe39bdb70178c242f486af60671cc4f54c8a12f
2022-04-01 05:25:33 +00:00
Jasmine Cha
25f7367e43 audio: add audio_proxy_policy_configuration.xml
Test: build pass

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I6c5f4c3064912e35e7c6bd908f545995b20d75c2
2022-03-23 10:27:10 +08:00
Jasmine Cha
90b9e3fd5d audio: sync last tuning settings
Test: build pass

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: Id3a9a6d16cbf662fdb0725e9accd535f3089d861
2022-03-18 15:06:28 +08:00
Roger Liao
dd5f546264 Add device tangorpro
based on two sources:
1. 52e030ecef8a2debcd0a7cebb0b2cddc50e8e4e6
(ChangeId: Ieba6a75fe45595592c61dc5ad4e0c723adccaf35)
2. 3164f3d31b1197f305d968027f2e6f18663f1382
(ChangeId: Ic517f1cd5462f3653de3742834ec251362e7849d)

No-Typo-Check: based on above commit

Bug: 220073297
Change-Id: I244f73dc8485045e1bc4605a2701a1e4d32139b0
2022-03-09 19:30:09 +08:00