Commit graph

169 commits

Author SHA1 Message Date
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
5c6e991c0d audio: update O6/R4 Aaram volume curve am: e5484251ec am: df94b156aa am: fc517ba9b0
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/16005300

Change-Id: I170ce24c3ca694f954e3713d64b522b1f4548477
2021-10-08 08:33:17 +00:00
Eric Laurent
f5663a145f audio config: fix minimum alarm volume am: d9f59c1496 am: 652fb4f952 am: f648a35753
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15958180

Change-Id: Ib53681eb8e2f8a90aacf98f0377d67fa651f7c3e
2021-10-08 08:33:16 +00:00
Carter Hsu
44df45931e audio: update O6/R4 Aaram volume curve am: e5484251ec am: df94b156aa
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/16005300

Change-Id: I7a2fc4371aa12bca5575d34a10e51a94e67fb1ba
2021-10-08 08:18:34 +00:00
Eric Laurent
7808c8d398 audio config: fix minimum alarm volume am: d9f59c1496 am: 652fb4f952
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15958180

Change-Id: Id49d04cc974a9a7eff0cd0659c20277eefe3ca4f
2021-10-08 08:18:34 +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
David Li
ae80981fbb audio: Update tunings for SA-lite optimization and enhance audio zoom performance am: 664101a562 am: d4365c91b5 am: 17d4f83a45
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15903132

Change-Id: I22b483487bae6e92acf048aadf4407b55235ba17
2021-09-27 10:26:28 +00:00
David Li
72121f36e7 audio: Update tunings for SA-lite optimization and enhance audio zoom performance am: 664101a562 am: d4365c91b5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15903132

Change-Id: Ifb360d00ab0ef63d6e2b9504bbfa1520c603c1b3
2021-09-27 10:16:47 +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
0b02260f22 audio: changet the period size of VoIP Record am: 47a8acc5f1 am: 87179e112b am: 24dc47bdc3 am: a292e519a1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15824293

Change-Id: Icaaf7beb2f7c9a9f4061573cc3dba7b37658f53b
2021-09-24 08:01:21 +00:00
millerliang
f503184b6d audio: changet the period size of VoIP Record am: 47a8acc5f1 am: 87179e112b am: 24dc47bdc3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15824293

Change-Id: Ia3b42d2dba65e27ea9c3842a2ac537e44f5ac4e3
2021-09-24 07:48:17 +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
823c84320c audio: changet the period size of VoIP Record am: 47a8acc5f1 am: 87179e112b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15824293

Change-Id: Ic17bc449305c97ad73b14975365c81e27b069e94
2021-09-24 07:35:43 +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
d11462ae1f audio: deep buffer to floating point pcm data [DO NOT MERGE] am: ee3bc4db89 am: cb8dbcaaf2
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15799241

Change-Id: Ic41c4806edc3524f6c3d96d9144f7e062d8daa1f
2021-09-21 22:25:18 +00: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
a7c875330f audio_usb: Enable ASRC in USB voice call path am: 18b3ec8f86 am: 32670f1046 am: 4859b70b8f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15782861

Change-Id: I732dbc5a8e87285f46bed94faecc11f7ef3a63f1
2021-09-09 06:04:43 +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
c5211fa13a audio: update music playback volume curve am: b116b57820 am: a80efcbf3b am: a007fdf93f am: 06c9bb4994
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15743308

Change-Id: I0943e0150b96f37f41a1bbc3f4e1897343d3a66b
2021-09-03 07:34:13 +00: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
Sasha Smundak
a5fd2bfbd0 Replace foreach loops with the calls to copy-files
Bug: 190051051
Test: treehugger
Change-Id: I7e48ce741f6c9d0997f024e567daeec926fecb11
2021-09-02 07:24:01 +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
Carter Hsu
3c11dab0d8 audio: update camcorder tuning 20210716
Update IIR2, MBDRC, spatial audio parameters

Bug: 193873738
Bug: 193872138
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: Id3be3729b19f66d88634d4ca6a0dd1dd8bb991e8
2021-07-20 04:10:40 +00:00
Joey Poomarin Phloyphisut
96b58c1c6f audio_usb: Updating mixer_paths.xml to use V2 command to send config to AoC to support USB behind HUB.
This V2 command is from this patch:
https://partner-android-review.googlesource.com/c/kernel/private/google-modules/aoc/+/1962494

Bug: 181296179
Test: Local build
Change-Id: Ia95886ed22519f4da70e2a4880f7fb0eb9900660
2021-07-19 11:33:51 +00:00
Joey Poomarin Phloyphisut
895e3d3808 audio_usb: Add unsupported pcm format for USB accessory on Raviole.
This patch need ag/15270810 to work.

Test: N/A
Bug: 193477495
Change-Id: Ied9317fed60f1fae5a0de76ed12aec723c20a0c2
2021-07-19 07:33:28 +00:00
millerliang
eff4e0db3d audio: adjust the latency for USB Headphone
Adjust the latency for OUT_USB_HEADSET_BE_CFG

Bug: 174992590
Test: Test av sync for video playback
Change-Id: Idc1dedbbc21290106d417905832810b1ebd1c576
2021-07-14 21:27:00 +08:00
Jasmine Cha
1c4b6056e4 audio: waves: update O6/R4 MPS (20210713)
O6:
  1. significantly reduces distortion artefacts at high volumes
  2. introduces bass management to balance low frequency response
     across the volume curve
  3. improved tonal balance at nominal volumes
  4. improved landscape stereo image across the volume curve

R4:
  1. This tuning improves the stereo balance between left and right
     in landscape orientation, and removes the pop artefact when
     rotating between portrait and landscape.

Bug: 179089856
Bug: 179089765
Test: playback, mute on/off, bypass on/off, lr swap/mixed

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I732742524ddbdd787ae86520141fb464ab01ca5a
2021-07-13 14:42:12 +08:00
Carter Hsu
f8a04fb6d9 audio: add BT path back to the haptic output
Bug: 192910606
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: Iccfb65d568a640c01177d81f8c96d2103b9fda49
2021-07-13 04:11:46 +00:00
millerliang
d2db8a5541 audio: apply RAW path for raw playback
Apply the entry point of raw path which writes data through
pcm mmap from user space to DRAM ring buffer.

Bug: 190775545
Test: OboeTester
Change-Id: I3f61126f323fcebc0a2b53c06d564b9e9e64f823
2021-07-12 13:22:54 +00:00