Commit graph

136 commits

Author SHA1 Message Date
Presubmit Automerger Backend
87f9ba4c7d [automerge] DO NOT MERGE Audio configuration for spatial audio 2p: 809f946ced
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/17123143

Bug: 189423448
Change-Id: I84cfa57d4a3f693b53d658e71d0de1ce9c6e8155
2022-03-09 09:55:48 +00:00
Eric Laurent
809f946ced DO NOT MERGE Audio configuration for spatial audio
Update audio policy and effect configuration files to
support spatial audio feature

Bug: 189423448
Test: make
Change-Id: I2274fb4784eef5e28cadd9f33c38fdbbe60f6b40
2022-03-09 09:55:38 +00:00
justinweng
4cdaad5998 DO NOT MERGE audio: add immersive output
Bug: 189423448
Test: build passed.

Signed-off-by: justinweng <justinweng@google.com>
Change-Id: I0a14bd264fb79f56698ab626bd71af7f72e9fff8
2022-03-09 09:54:35 +00:00
Sasha Smundak
4be1724c3a Replace foreach loops with the calls to copy-files am: 011b969d81 am: 7232458e31 am: 1aaba21a59
Original change: https://android-review.googlesource.com/c/device/google/raviole/+/1883313

Change-Id: I13e4e458951fdeef0ed8858be35b3fee86329e6d
2022-01-21 22:44:57 +00:00
Sasha Smundak
1aaba21a59 Replace foreach loops with the calls to copy-files am: 011b969d81 am: 7232458e31
Original change: https://android-review.googlesource.com/c/device/google/raviole/+/1883313

Change-Id: I029ee3db3a9ef1407ad99ed9a1587082017d3816
2022-01-21 22:26:06 +00:00
Jasmine Cha
9ea55c6a31 audio: update FM table (20220105)
The change is on Headset Blackbird (USB-C earbuds) only.
The changed items are the same on R4 & O6 and the tuning
are also aligned with B3.

1. HE_BB, NB/WB/SWB/FB
  - Apply the same TDDRC gain for each RX volume step
  - Enable RX FFP
  - Fine-tune volume curve
2. Reduce the clipping risk on RX path (SWB and FB RX)
  - Fine tune EQ and TDDRC gain
3. HE_BB, WB_DT improvement
  - TX_EAD_THR: 0x4500 --> 0x36B0

Bug: 213426722
Test: manual test (b/174635995#comment77)

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: Iecf9bd5d6150371556680bd493ae3412a1ad5c2e
2022-01-19 07:49:39 +00:00
vincenttew
d0104cfd0d audio: syncing the USB config for mfg
currently mfg audio tool using audio-recordC usb-headset-mic
in mixer_paths.xml, add a new path for mfg usb recording to
switching the usb mic source

modify the usb alsa control to v2 since the latest alsa control
already changed

Bug: 213027646
Test: verify pass with mfg tool usb-record
Signed-off-by: vincenttew <vincenttew@google.com>
Change-Id: If3af632ed2bddcdd1329f17fc89ea82162d810ae
2022-01-10 05:50:46 +00:00
Vincent Tew
51e7f7fb3b Revert "Revert "Update: audio tuning table"" [DO NOT MERGE]
This reverts commit fa1f5094d1.

Reason for revert: MBDRC solution merged, revert the tuning back

Bug: 205934425
Change-Id: I431a1a9117d6c10416c0f94b33643480815e583b
2021-11-17 16:52:16 +00:00
vincenttew
fa1f5094d1 Revert "Update: audio tuning table"
This reverts commit 4bfaa9f2f3.

revert reason: the AoC prebuilt MBDRC seems not working after pick
prebuilt ag/16234618, the bug tracking on b/205934425, will apply
this tuning back once the MBDRC can work correctly on sc-v2-dev

Bug: 205934425
Change-Id: I24e2805675360d59d70cd2b5a9095aaf1c8a5875
Signed-off-by: vincenttew <vincenttew@google.com>
2021-11-11 18:20:25 +08:00
vincenttew
93a1176824 Update: audio tuning table am: 4bfaa9f2f3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/16191708

Change-Id: Ief9126fed491ec9893761ad3a61563b4f368fadf
2021-11-10 03:13:57 +00:00
Rios Kao
7b87bd2241 audio: add support for aec recording path
Add Audio Capture Eraser Enable to switch
    Eraser for recording path.
    For gain of this path, we shouldn't apply
    software gain, because the input source is
    from hotword pipeline.

Test: build pass
Bug: 172266161
Change-Id: Iabe372e7fe91e557ba9125af14bfb61606c09ea0
2021-11-09 13:05:24 +00:00
Sasha Smundak
011b969d81 Replace foreach loops with the calls to copy-files
Bug: 190051051
Test: treehugger
Merged-In: I7e48ce741f6c9d0997f024e567daeec926fecb11
Change-Id: I7e48ce741f6c9d0997f024e567daeec926fecb11
2021-11-07 16:36:44 -08:00
vincenttew
4bfaa9f2f3 Update: audio tuning table
Change list:
Update recording.gatf, templete file for modifying parameters to fit
the change of dynamic range compressor(DRC)(b/200794903), the DRC has
been changed from 1 band to 3 band.

Bug: 204745396
Test: build pass
Signed-off-by: vincenttew <vincenttew@google.com>
Change-Id: Ic0962536e50b310a159af15e7e191f130d41e969
2021-11-05 16:41:47 +08:00
Jasmine Cha
e303cad342 audio: waves: add test file for unit test
Bug: 204272480
Test: atest audio_waves_halcontroller_tests

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I7aa5205c7443692c95b96ac6537d404e0e15d165
2021-11-02 06:18:13 +00:00
Carter Hsu
07322dbd68 audio: change format of deep-buffer to float
Bug: 201593243
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I20ccdca02a134093846437fdc2f770935485853c
2021-10-26 03:35:38 +00:00
Rios Kao
2c35c05408 audio: add support for aec recording path [DO NOT MERGE]
Add Audio Capture Eraser Enable to switch
    Eraser for recording path.
    For gain of this path, we shouldn't apply
    software gain, because the input source is
    from hotword pipeline.

Test: build pass
Bug: 172266161
Change-Id: I2546e25c8ba428681fd778491cd66dca66051305
2021-10-14 19:17:10 +00:00
Jasmine Cha
0bc1dc0ae1 audio: waves: support custom action identification
Bug: 203029117
Test: build pass, LR mixed

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: Ib1e95efb8ea94bd187be7b681b6a94d53e0c5ce1
2021-10-14 06:56:03 +00:00
David Li
398917cf16 audio: Update tuning table for removing the risk of blocking rear microphone in 3rd party recorder use case am: 42ed6f18e0
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/16013672

Change-Id: I36a88e8bd01889196a1733236b0ca858adbe7f85
2021-10-09 01:02:50 +00:00
David Li
65bb51f95f audio: Update tuning table for removing the risk of blocking rear microphone in 3rd party recorder use case
Reason:
-Change the microphone assignment from rear mic to top mic since there is a risk that the rear mic will be blocked when users put devices on the desk.

Change list:
Update recording.gatf file for changing microphone assignment in handset_mono_mic usecase

Validation:
3rd party camcorder/recorder and GCA function are good and validation was used SD1A.210817.026 (7772856)

Bug: 202467646
Test: forrest build
Change-Id: I3b0f8a7ba590925fc70f28bdd3bbb4b29938fd68
2021-10-09 00:46:29 +00:00
Carter Hsu
4d42f48baf audio: update O6/R4 Aaram volume curve am: e5484251ec
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/16005300

Change-Id: I1ef019c1be30e2fd4b65a70edce264b679d117ab
2021-10-08 08:07:01 +00:00
Eric Laurent
442155a8c8 audio config: fix minimum alarm volume am: d9f59c1496
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15958180

Change-Id: I09ca426b6aea65559fcc5e69ab354af6664b7449
2021-10-08 08:07:00 +00:00
Carter Hsu
8852d7bcee audio: update O6/R4 Aaram volume curve
O6
Change:
<volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_SPEAKER">
        <point>0,-4800</point>
R4
Change:
<volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_SPEAKER">
        <point>0,-5200</point>

Bug: 201069348
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: Ia5f82e06bc272d93172892692c7987993786b754
2021-10-08 12:02:04 +08:00
Eric Laurent
0800e891ec audio config: fix minimum alarm volume
The ALARM volume curve on SPEAKER device must have a lowest
point with abscisse 0 instead of 1 to prevent the stream from
being muted when lowest UI index is selected.

Bug: 201069348
Test: set alarm volume to min and play alarm
Change-Id: I29dda66002562e9ce889bd4f8b0154c2837f7be5
2021-10-08 12:01:03 +08:00
Robert Lee
0116a23229 audio: update speaker protection bin am: 753a76d114
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15998330

Change-Id: I5bad70f67ebc00c944d714b041a201c3d46818a6
2021-10-07 03:47:13 +00:00
Robert Lee
b571f4881a audio: update speaker protection bin
O6 Top Speaker "DOE2" Bin file changes:
- XMAX reduced by 0.05mm w/ Waves processing in circuit.
- TMAX reduced by 10degC w/ Waves processing in circuit.

sha1sum file:
315408679aa97caba462b4ba1290b2be514558ab  cs35l41-dsp1-spk-prot.bin

Bug: 202297689
Test: Build pass
Change-Id: I78252b9c0a02941601a0b13d9d2cb14661f3e102
Signed-off-by: Robert Lee <lerobert@google.com>
2021-10-07 01:54:27 +00:00
David Li
1af45f8233 audio: Update tunings for SA-lite optimization and enhance audio zoom performance am: 664101a562
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15903132

Change-Id: Ic72f61f5fc21ceafddecfdf77f94e82924e1a554
2021-09-27 10:03:24 +00:00
David Li
ec055fe259 audio: Update tunings for SA-lite optimization and enhance audio zoom performance
Reason:
- Optimize audio zoom quality in camcorder
- Add tuning parameters to fit single band DRC modification in AOC (b/198128358)

Change list:
Update recording.gatf file for modifing audio zoom tuning parameters
Update template.xml file to select single band DRC reference channel

Validation:
3rd party camcorder/recorder and GCA function are good and validation was used SD1A.210817.019.A7 (7719665)

Bug: 201031972
Test: forrest build
Change-Id: I45cf7dcb0edbd38d0041e3112d88ce29cefacb2f
2021-09-27 07:37:20 +00:00
millerliang
4c87c94832 audio: changet the period size of VoIP Record am: 47a8acc5f1 am: f3e85379a4
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15824293

Change-Id: I341ba5e4b200ef4b9d242a4a7fa66bd53dd47df3
2021-09-24 07:36:05 +00:00
millerliang
5fb9498c64 audio: changet the period size of VoIP Record am: 47a8acc5f1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15824293

Change-Id: I9051aef768a94eb34b32770dafe38ed25046007d
2021-09-24 07:14:38 +00:00
millerliang
a8c236c35c audio: changet the period size of VoIP Record
Change the period size of VoIP Record to 20ms.
Otherwise it will apply fast capture.
Fast capture timestamps are not supported yet.

Bug: 196912510
Test: Build pass
Change-Id: I6434a7596880712efa7cbfa03b3480efb5e2c2aa
2021-09-24 10:41:15 +08:00
Xinhui Zhou
923b3af81f audio: deep buffer to floating point pcm data [DO NOT MERGE] am: ee3bc4db89
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15799241

Change-Id: I4ca8af2b8270665bd447859b010ad33ddbcd692e
2021-09-21 22:10:44 +00:00
Xinhui Zhou
411cd28a78 audio: deep buffer to floating point pcm data [DO NOT MERGE]
Bug: 199157246
Test: build pass
Signed-off-by: Xinhui Zhou <zxinhui@google.com>
Change-Id: I331d55403daadda3bb6699b3dfff0e759f782b95
2021-09-21 21:58:32 +00:00
Roger Fang
be2bde46ba audio_usb: Enable ASRC in USB voice call path
Telephony downlink ASRC should be enabled for USB. See b/173577733.
Otherwise the downlink ring buffer will underflow or overflow

Bug: 199230403
Test: Local build + Telephony test for five minutes: No glitch observed.
Signed-off-by: Roger Fang <rogerfang@google.com>
Change-Id: Ifbcd9252c97a7f794e0b142e69faf1b0f3041098
2021-09-08 15:06:00 +08:00
Jasmine Cha
7ebc080458 audio: update music playback volume curve
- changes volume 1,2,3,4,5 (due to a sound quality noise floor issue)

Bug: 198224217
Test: manual power test (b/198224217#comment21)

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: Ied7e88ad941e8a13e2080da6e2897b9541966dd0
2021-09-03 05:32:23 +00:00
David Li
b82bc02526 audio: update Media Record Tuning Files
R4O6
Update camcorder tunings files for FRC

Reason:
- The SA-lite pipeline is used for 3rd party camcorder/recorder and
    need to be updated tuning for audio quality (b/185293492)
- There is e-Noise issue could be noticed when using 3rd party
    camcorder/recorder

Change list:
Update audio_platform_configuration.xml file so that parameters in
    SA-lite pipeline can be loaded correctly
Update template.xml file to enable feature swapping microphone
    assessment in SA-lite pipeline
Update recording.gatf file for modifing tuning parameters

Validation:
3rd party camcorder/recorder function are good and validation was
    used SD1A.210817.007 (7665414)

Bug: 197492283
Test: forrest build passed
Change-Id: Ifc66519c92935dc4bd14d68a85a491f96429272a
2021-08-27 01:57:46 +00:00
Jasmine Cha
254cdef7be audio: update FM tables (20210729_v540)
///R4
1. HHNB/WB/SWB double talk fine tune with v5.3.11 lib fix
2. Headset TTY VCO: sync the latest of HH TX
3. Headset Headphone : sync the latest of HH TX
4. BT HAC : sync the latest of HH TX
5. Headset FB tuning for NS

///O6
1. HHNB/WB/SWB double talk fine tune with v5.3.11 lib fix
2. Headset TTY VCO: sync the latest of HH TX
3. Headset Headphone : sync the latest of HH TX
4. BT HAC : sync the latest of HH TX
5. Headset FB tuning for NS

Bug: 197716271
Test: manual test

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I6376ce7da579dcda09c6077182cd82c6fb2c2efb
2021-08-26 08:31:05 +00:00
Jasmine Cha
f21fa1b132 audio: update tuning tables (20210826)
Release Notes (R4):
- Retune top volumes for more balanced sound, less harsh
- Heavy emphasis on vocals, both depth and clarity
- DTMF volume curve reduced to better align w/ O6, F2, C2, B9
- SYSTEM volume curve reduced to better align touch sounds
- SYSTEM volume curve copied into AUDIBLE volume curve

Release notes (O6):
- Camera shutter (system sound) decreased volume curve to better align w/ R4/B9 and F2/C2
- Slight adjustment at min vol point for DTMF
- SYSTEM volume curve reduced to mitigate loud camera shutter
- SYSTEM volume curve copied into AUDIBLE volume curve

Bug:190960105
Test: High level tuning validation (b/190960105#comment15)

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: Icf0c9e921017b5e06ec950452a78a9d89acf86f2
2021-08-26 01:15:23 +00:00
Robert Lee
09c3fd343f audio: update audio_policy_volumes.xml
Update below stream's volume curves to refine system sound output
from speaker too loud in the lowest volume.

  <volume stream="AUDIO_STREAM_SYSTEM" deviceCategory="DEVICE_CATEGORY_SPEAKER">
  <volume stream="AUDIO_STREAM_RING" deviceCategory="DEVICE_CATEGORY_SPEAKER">
  <volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_SPEAKER">
  <volume stream="AUDIO_STREAM_NOTIFICATION" deviceCategory="DEVICE_CATEGORY_SPEAKER">
  <volume stream="AUDIO_STREAM_DTMF" deviceCategory="DEVICE_CATEGORY_SPEAKER">

Refine audio-tables.mk location to make sure the xml is updated.

Bug: 195387287
Test: QMC verified
Test: Local built and verified vendor/etc/audio_policy_volumes.xml is correct one

Signed-off-by: Robert Lee <lerobert@google.com>
Change-Id: I13188d7470092448a2660f89d43cf13a56c22edc
2021-08-16 11:27:19 +00:00
Carter Hsu
7ca7fc2c5c audio: dynamic/runtime audio capture switch
Bug: 193042612
Test: build pass and audio capture
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: Ief7d8137a6c636d0c71c7c7ab732dc38d4601a45
2021-08-06 20:54:48 +00:00
Roger Fang
cfaa3174c3 audio: Add command to set PCM steam wait time for voice and audio.
This control is from this patch: https://partner-android-review.googlesource.com/c/kernel/private/google-modules/aoc/+/1962616/

Bug: 194454077
Test: Playing a music then removing the USB headset
Change-Id: Ie9dbf9df13ffaee80c61e2d5da529878fde0b740
Signed-off-by: Roger Fang <rogerfang@google.com>
2021-08-06 17:14:07 +00:00
David Li
3b05ee5233 audio: update Media Record Tuning Files
R4
Change list:
Update IIR2, spatial audio parameters

O6
Change list:
Update IIR2, spatial audio parameters

Bug: 195707259
Test: make -j128
Change-Id: I13e8b81faf18247266525728563adfd614a866a1
2021-08-06 10:16:30 +00:00
millerliang
f4cd1362d0 audio: adjust the latency for bluetooth output
HAL can get the device latency from bluetooth headset.
We just to set the latency of the device side.

Bug: 195166550
Test: av sync
Change-Id: Id64b7ea796ddc4de996817d0553f1855b4d9485a
2021-08-06 06:30:03 +00:00
Jasmine Cha
454ac5e61e audio: update FM table (20210805_v540)
///R4
1. HHSWB BVE fine tuning ( by new FM lib fixed - b/194775936)

///O6
1. HHSWB BVE fine tuning ( by new FM lib fixed - b/194775936)

Bug: 194775936
Test: manual test

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I25a740c49ed85c0ac07dce6475af95453c126bad
2021-08-06 04:38:01 +00:00
Robert Lee
755a0887fa audio: add Built-In Back Mic device
Bug: 194169487
Test: Test Diagnostic Tools microphone test

Signed-off-by: Robert Lee <lerobert@google.com>
Change-Id: Ice468e91591f5e552e733d187ade86e76896c5b5
2021-07-30 05:26:47 +00:00
Robert Lee
073ec26f19 audio: update speaker protection bins
Release notes below:

===

O6 Top:
File: "o6Top_protect_20210727_120hpf_pb6.47.0_17.5dB_120Tmax_300mRTrace_regionIII160C_ALPHA.bin"
    Phone file: /vendor/firmware/cs35l41-dsp1-spk-prot.bin
    Sha1sum: EFCB81AF9E84439BA181EB88687B922107FEAB08
    Changes: Decreased TMAX for 10C margin at peak, increased “thermal region III”
    Tests - Protection: Passed XMAX/TMAX testing
    Tests - Acoustic: Passed acoustic impact testing (no much change from POR tuning in FR, reduced distortion)
    Tests - Listening: Coupled w/ bottom speaker - In progress, non-blocker

===

O6 Bottom:
File: "o6Bottom_protect_20210726_120hpf_pb6.47.0_17.5dB_110Tmax_300mRTrace_regionIII150C_ALPHA.bin"
    Phone file: /vendor/firmware/R-cs35l41-dsp1-spk-prot.bin
    Sha1sum: FDF4F9F5DEB065DD4C34B14418B6207CE609F80C
    Changes: Decreased TMAX for 10C margin at peak, increased “thermal region III”
    Tests - Protection: Passed XMAX/TMAX testing
    Tests - Acoustic: Passed acoustic impact testing (no much change from POR tuning in FR, reduced distortion)
    Tests - Listening: Coupled w/ bottom speaker - In progress, non-blocker

===

R4 Top:
File: "R4Top_protect_20210727_120hpf_pb6.47.0_17.5dB_120Tmax_300mRTrace_regionIII160C_ALPHA.bin"
    Phone file: /vendor/firmware/cs35l41-dsp1-spk-prot.bin
    Sha1sum: 32F10EB7128C80C9E64FD34EAFB7FC247057FFDD
    Changes: Decreased TMAX for 10C margin at peak, increased “thermal region III”
    Tests - Protection: Passed XMAX/TMAX testing
    Tests - Acoustic: Passed acoustic impact testing (no much change from POR tuning in FR, reduced distortion)
    Tests - Listening: Coupled w/ bottom speaker - In progress, non-blocker

===

R4 Bottom:
File: "R4Bottom_protect_20210727_100hpf_pb6.47.0_17.5dB_100Tmax_300mRTrace_regionIII140C_ALPHA.bin"
    Phone file: /vendor/firmware/R-cs35l41-dsp1-spk-prot.bin
    Sha1sum: CF3B5900B1AC095A5546499C6EFFAF0C074A79A4
    Changes: Decreased TMAX for 10C margin at peak, increased “thermal region III”
    Tests - Protection: Passed XMAX/TMAX testing
    Tests - Acoustic: Passed acoustic impact testing (no much change from POR tuning in FR, reduced distortion)
    Tests - Listening: Coupled w/ bottom speaker - In progress, non-blocker

===
sha1sum
efcb81af9e84439ba181eb88687b922107feab08  oriole/cs35l41/fw/cs35l41-dsp1-spk-prot.bin
fdf4f9f5deb065dd4c34b14418b6207ce609f80c  oriole/cs35l41/fw/R-cs35l41-dsp1-spk-prot.bin
32f10eb7128c80c9e64fd34eafb7fc247057ffdd  raven/cs35l41/fw/cs35l41-dsp1-spk-prot.bin
cf3b5900b1ac095a5546499c6effaf0c074a79a4  raven/cs35l41/fw/R-cs35l41-dsp1-spk-prot.bin

Bug: 193902089
Test: Hardware verified

Signed-off-by: Robert Lee <lerobert@google.com>
Change-Id: I39e5988914927820b90a4c1cf2dcf709c1aac653
2021-07-30 01:21:59 +00:00
millerliang
225b713e1e audio: refine the period size for raw playback
For raw playback, the buffer size needs to equal to the
ring buffer size. AoC changes the buffer size to 16384 bytes,
but it cannot be divisible by 48(1ms frames with 48000 sample rate).
Use the period size(frame couts) from configuration file.

Bug: 194398677
Test: OboeTester->TEST OUTPUT
Change-Id: I07f0cb7d5904e4e3ef78b9a15d31590fdd5a9087
2021-07-29 16:10:07 +00:00
Jasmine Cha
80f37d804a audio: update FM table (20210729_v540)
///R4
1. Headset fine tuning for QoE issue (b/194852269)
2. HHSWB fine tune for echo

///O6
1. Headset fine tuning for QoE issue (b/194852269)
2. HHSWB fine tune for echo

Bug: 194852269
Test: manual test

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I59ae8ea5ef7b4d6d25c9b684c422ee5dd28fcb30
2021-07-29 13:15:31 +00:00
Jasmine Cha
9609aa66fb audio: update fm tables (20210722_v540)
//R4
1. HH WB mic blocked enable
2. HH SWB BVE disable
3. HA WB mic blocked enable
4. HE TTY VCO: sync the latest of HH TX
5. HE TTY HCO: sync the latest of HH RX
6. HE Headphone : sync the latest of HH TX
7. BT HAC : sync the latest of HH TX
8. HA BVE turn on in Generic settings: NB/WB/SWB
9. HA BVE turn on in TMUS settings: NB/WB/SWB
10 HE by Gene
For both R4 and O6
 BB
  - General
     -  EnableBBLowLatencyMode
  - NB
      - TX EQ, NS improve
      - RX volume, DRC
 - WB
      - TX EQ, NS improve
      - RX EQ
      - RX volume, DRC
 - SWB
      - RX EQ, NS improve
      - RX TDDRC change from 5 to 7.01dB
      - RX volume, DRC
- FB
     - TX EQ for NS
     - RX volume, DRC

Google Condor
 - Enable LowLatencyMode
 - NB TX EQ depress low freq, increase high freq
 - WB TX EQ depress low freq

Condor reservation
 - same to Google Condor

Condor for sertification
 - Enable LowLatencyMode

//O6
1. HH WB EVT1.1/DVT fine tuning
=> FdEQ for more headroom
2. HH WB mic blocked enable
3. HH SWB BVE disable
4. HA WB mic blocked enable
5. HE TTY VCO: sync the latest of HH TX
6. HE TTY HCO: sync the latest of HH RX
7. HE Headphone : sync the latest of HH TX
8. BT HAC : sync the latest of HH TX
9. HA NB/WB/SWB/FB Generic tuning based on acoustic structure change
10. HA NB/WB/SWB/FB TMUS tuning based on acoustic structure change
11. HA BVE turn on in TMUS settings: NB/WB/SWB
12 HE by Gene
For both R4 and O6
 BB
  - General
     -  EnableBBLowLatencyMode
  - NB
      - TX EQ, NS improve
      - RX volume, DRC
 - WB
      - TX EQ, NS improve
      - RX EQ
      - RX volume, DRC
 - SWB
      - RX EQ, NS improve
      - RX TDDRC change from 5 to 7.01dB
      - RX volume, DRC
- FB
     - TX EQ for NS
     - RX volume, DRC

Google Condor
 - Enable LowLatencyMode
 - NB TX EQ depress low freq, increase high freq
 - WB TX EQ depress low freq

Condor reservation
 - same to Google Condor

Condor for sertification
 - Enable LowLatencyMode

Bug: 194273785
Test: manual test (b/194273785/comment#7)

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: Ifb00378b6b5a9df95af82b7a1ff6256e91bd0ca3
2021-07-23 10:32:02 +00:00
Robert Lee
912f6acaec audio: update speaker protection bin
Change log:
===

O6 Top Speaker Protection:
File: "o6Top_protect_20210720_120hpf_pb6.47.0_17.5dB_withRtrace_125C_fastRL.bin"
Phone file: /vendor/firmware/cs35l41-dsp1-spk-prot.bin
Sha1sum: 033d5ad6d6be86849d74fe641c575e50425cd8c0  o6Top_protect_20210720_120hpf_pb6.47.0_17.5dB_withRtrace_125C_fastRL.bin
Changes: Decreased TMAX for 5degC margin at peak, increased thermal rate limiter attack to 0ms (fastest possible)
Tests - Protection: Passed XMAX/TMAX testing
Tests - Acoustic: Passed acoustic impact testing (no much change from POR tuning in FR, reduced distortion)
Tests - Listening: Coupled w/ bottom speaker - Can hear slight change in color on compressed chorus (negative), but brings out warmth slightly (positive), and slight impact to loudness because of sharpness delta (negative)

===

O6 Bottom Speaker Protection:
File: "o6Bottom_protect_20210712_120hpf_pb6.47.0_17.5dB_withRtrace_110C.bin"
Phone file: /vendor/firmware/R-cs35l41-dsp1-spk-prot.bin
Sha1sum:  d8695fc43e1049ac2e258b37103396730016f4e6  o6Bottom_protect_20210712_120hpf_pb6.47.0_17.5dB_withRtrace_110C.bin
Changes: Decreased TMAX for 10degC margin at peak, increased thermal rate limiter attack to 0ms (fastest possible)
Tests - Protection: Passed XMAX/TMAX testing
Tests - Acoustic: Passed acoustic impact testing (no much change from POR tuning in FR, reduced distortion)
Tests - Listening: Same as top speaker comment

===

R4 Top Speaker Protection:
File: "r4Top_Protect_21.7.0_pb6.47.0_17.5dB_100hpf_withRTrace_120Tmax.bin"
Phone file: /vendor/firmware/cs35l41-dsp1-spk-prot.bin
Sha1sum:   172683183693d6df1d482f1e4f018607bc534a41  r4Top_Protect_21.7.0_pb6.47.0_17.5dB_100hpf_withRTrace_120Tmax.bin
Changes: Decreased TMAX for 10degC margin at peak, increased thermal rate limiter attack to 0ms (fastest possible)
Tests - Protection: Passed XMAX/TMAX testing
Tests - Acoustic: Passed acoustic impact testing (no much change from POR tuning in FR, reduced distortion)
Tests - Listening: No change audible, low risk

===

sha1sum
033d5ad6d6be86849d74fe641c575e50425cd8c0  oriole/cs35l41/fw/cs35l41-dsp1-spk-prot.bin
d8695fc43e1049ac2e258b37103396730016f4e6  oriole/cs35l41/fw/R-cs35l41-dsp1-spk-prot.bin
172683183693d6df1d482f1e4f018607bc534a41  raven/cs35l41/fw/cs35l41-dsp1-spk-prot.bin

Bug: 193902089
Test: Hardware verified
Change-Id: I354f99c96526f23b43b7e50f69ee550e3a5a52de
Signed-off-by: Robert Lee <lerobert@google.com>
2021-07-23 04:11:50 +00:00
Jasmine Cha
338b7bc063 audio: update Waves O6 tuning (20210723)
It fixes the following bugs:
 - Volume pumping on vocals with musical content(b/193867952)
 - Stereo balance skewed to the left (b/193867898)

Bug: 194443833
Test: LR mixed/swap, Mute/Unmute, bypass, playback

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: Ic0c8a27178509aebe8ca7d295a0ed4ee4daaec00
2021-07-23 09:51:04 +08:00