Commit graph

221 commits

Author SHA1 Message Date
Jasmine Cha
895d1dfce7 audio: enable speaker power data and spk compensation
Bug: 300604249
Test: manual test - playback/ make voice call in spk mode.

Change-Id: I72799afd0a63a336b76cd70eb12ecd5a03a54bb5
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2024-01-03 17:13:14 +08:00
Treehugger Robot
50711c7965 Merge "audio: update telephony tuning" into main 2023-12-29 09:01:54 +00:00
Jasmine Cha
ed7a1dc89b audio: update telephony tuning
TK4:
- HH NB/WB/SWB EC/ECDT performance imporve updated
- HA NB BVE fine tuning
- HA NB/WB/SWB (including SWB) Batch copy from generic to co-use
  user cases (TX: T-mobile / HAC / T-mobile-HAC, RX: T-mobile)
- HH NB/WB/SWB (including SWB) Batch copy from generic to co-use
  user cases (TX: TTY-VCO/BT-HAC/Headphone, RX: TTY-HCO)
- HA NB RX (max)(max-1) FdEQ modify for HAC TIA-5050

CM4:
  - Handset mode: Voice_Generic MaxVol EQ optimization for TIA-5050
  - Handsfree: EVT Fine-tuning for downlink

Bug: 318026627
Test: manual test (b/318026627#comment5)

Change-Id: I699ffe32e3bd79ab6d65ecefcf3b96d8a3792cf9
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-12-29 08:27:04 +00:00
Rios Kao
3948dd2dce Merge "caimito: add smartfeature table." into main 2023-12-29 06:10:50 +00:00
Rios Kao
8ee4d26d1c caimito: add smartfeature table.
Test: Build Pass
Bug: 317851039
Change-Id: I6ba25ab51aca9e9159a1c4b85cd03dd4f15036e4
2023-12-28 09:25:38 +00:00
Rios Kao
b6d3a41654 Merge "caimito: fix aidl microphone mixer table" into main 2023-12-28 08:39:58 +00:00
Rios Kao
27c6791727 caimito: fix aidl microphone mixer table
Test: build pass
Bug: 317683880

Change-Id: I7995787643c21e2e29a39ffa45acc873298c21e4
2023-12-28 07:56:11 +00:00
Treehugger Robot
be237dd43c Merge "audio: use USE_AUDIO_HAL_AIDL instead flag variable" into main 2023-12-28 01:48:33 +00:00
Carter Hsu
38bf78a601 Merge "audio: support incall capture dl/ul concurrent recording" into main 2023-12-26 09:56:18 +00:00
Jasmine Cha
175b8e774e audio: use USE_AUDIO_HAL_AIDL instead flag variable
The value of USE_AUDIO_HAL_AIDL is defined in project settings which decide when to use aidl or hidl hal. So, correct audio tables can be included properly.

Bug: 317444263
Test: boot to home, check basic audio functions

Change-Id: If14c782bdd548f07b42b5e710236de9f20a6ac4d
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-12-26 03:01:00 +00:00
Carter Hsu
09c53b18c1 audio: support incall capture dl/ul concurrent recording
Bug: 317726514
Test: Verified by test build
Change-Id: I872fa7a8dd4f6877efd2b5aa09203c34ccf43f5e
Signed-off-by: Carter Hsu <carterhsu@google.com>
2023-12-26 00:58:47 +00:00
Treehugger Robot
09193329d5 Merge "audio: recording tuning table" into main 2023-12-25 09:48:37 +00:00
Carter Hsu
251b4076d0 Merge "Audio: Update Fortemedia tuning" into main 2023-12-25 09:30:58 +00:00
Rios Kao
27893c088c Merge "caimito: add microphone info in platform configuration" into main 2023-12-22 09:29:05 +00:00
Rios Kao
3518b95db8 caimito: add microphone info in platform configuration
Test: end-to-end test
Bug: 316843555

Change-Id: Ifcdad3dc1e2238739970fe76696edd0c2b6b45d8
2023-12-22 08:25:30 +00:00
Treehugger Robot
445de22e79 Merge "audio: enable DP audio" into main 2023-12-22 02:23:22 +00:00
Carter Hsu
f6ebf0fb3d Audio: Update Fortemedia tuning
<Change list>

1. HA/HH: tuning setting update based on EVT1.0 tuning
2. HE:
   - Increase Headset Blackbird TX loudness and fix distortion issue
   - Merge HH Tx settings to Headphone/TTY_VCO, and merge Voice HH Rx settings to TTY_HCO
4. BT: Merge HH Tx settings to BT_HAC

Bug: 317330887
Test: Verified by acoustic team
Change-Id: Id40e165914fd91ed7c9264a6e51b02ad80dedf50
Signed-off-by: Carter Hsu <carterhsu@google.com>
2023-12-22 00:31:19 +00:00
Jasmine Cha
04dc932fda audio: add fm mcps table property
Bug: 317001892
Test: manual tests

Change-Id: Id0bcea645a452fe0b1e6564b09d8c20783c1839e
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-12-19 16:48:54 +08:00
Robert Lee
cb133eda9c audio: enable DP audio
Bug: 316278350
Test: builds
Change-Id: I801612ee9aa205f52a326e21294972303e55e38b
Signed-off-by: Robert Lee <lerobert@google.com>
2023-12-15 14:03:14 +08:00
yixuanjiang
14a0793e9d audio: recording tuning table
update SUR tuning parameters for Proto 1.1 device
because of AZ2.1 format.

Bug: 315418793
Change-Id: I2c33c9f2390d14b3c807271c26acc198d0c2dada
Signed-off-by: yixuanjiang <yixuanjiang@google.com>
2023-12-15 03:42:17 +00:00
Robert Lee
d3b00615ed audio: add HDMI support
Bug: 316278350
Test: local test
Change-Id: I2ac5fbc80a679cfc9f573ed3ee3ba0a222f4bbed
Signed-off-by: Robert Lee <lerobert@google.com>
2023-12-14 17:20:42 +08:00
Yung Ti Su
215d0c7a90 add the missing immersive_output
Bug: 309909149
Test: manual

Change-Id: I8fa8c6d5c8ab232eb96d6e7c7a529cde170cb435
Signed-off-by: Yung Ti Su <andysu@google.com>
2023-12-13 09:16:17 +00:00
Treehugger Robot
76fedc1c30 Merge "audio: correct playback parameters" into main 2023-12-13 03:38:48 +00:00
vincenttew
d85a504a88 audio: add HIDL SoundDose libraries
Test: build pass, playback pass
Bug: 315915954
Change-Id: Ib0ab3ccc16a34308de3ed4e90dbc8d0d5d0271b8
Signed-off-by: vincenttew <vincenttew@google.com>
2023-12-12 16:43:52 +08:00
Jasmine Cha
f6d9fc2240 audio: correct playback parameters
Bug: 315748612
Test: manual test

Change-Id: Ie48e9ebc254ceda2d51db74df1bec4aad27ff910
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-12-12 14:10:11 +08:00
Treehugger Robot
03c6ff4232 Merge "audio: correct thermistor type" into main 2023-12-11 09:39:43 +00:00
Jasmine Cha
6614e7ad5d audio: correct thermistor type
Bug: 315748612
Test: manual test.

Change-Id: I8656d090e5689deae841ffa0d30ee96d158c64d0
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-12-11 09:09:13 +00:00
Carter Hsu
d346efb3b0 audio: update Telephony tuning
<Overall table path>
1. mixer_path.xml and audio_platform_configuration.xml => /vendor/etc
2. mcps.dat => /vendor/etc/aoc

<Change list>
1. Modify Cirrus AMP PCM Gain for HAC mode in mixer_path <path name="voice-hac">:
KM4: 11 => 10(10.5dB) / CM4: 11 => 10(10.5dB) / TK4: 11 => 9(9.5dB)
2. mcps.dat - updated value for iS910 short term solution
3. audio_platform_configuration- enable mcps table

Bug: 315275289
Test: build pass
Change-Id: I915fd62006ff14c36930aecd8836aca8b3c87f4b
Signed-off-by: Carter Hsu <carterhsu@google.com>
2023-12-08 17:43:12 +08:00
Rios Kao
f062a2193a Merge "aidl: enable AIDL Hal for caimito by RELEASE_PIXEL_AIDL_AUDIO_HAL" into main 2023-12-05 11:31:10 +00:00
Rios Kao
5e986b12ac aidl: enable AIDL Hal for caimito by RELEASE_PIXEL_AIDL_AUDIO_HAL
Bug: 301180586
Test: build with flag enable
Change-Id: I8d526257980d77ef583c9a5d98d83b3fca726315
2023-11-30 07:31:42 +00:00
Treehugger Robot
4aa1ed9148 Merge "audio: Update EVT 1.0 model" into main 2023-11-28 09:07:27 +00:00
Treehugger Robot
a13770c449 Merge "audio: Update EVT 1.0 model" into main 2023-11-28 09:06:48 +00:00
Treehugger Robot
f329e92074 Merge "audio: Update EVT 1.0 model" into main 2023-11-28 09:06:48 +00:00
Yung Ti Su
7fe59a2d7c correct the bluetooth_with_le_audio_policy_configuration_7_0 path
Bug: 309909149
Test: manual

Change-Id: I49501849a581019cfeab579f1917a43bc487b6e4
Signed-off-by: Yung Ti Su <andysu@google.com>
2023-11-27 12:37:16 +00:00
Robert Lee
030945e421 audio: Update EVT 1.0 model
* Contain proto tuning model
* PICL 2.8V/3A
* Disable stereo flag

*Checksum
39dc82238d05ce3135bafdff592ce9d50c10f099  cs35l41-dsp1-spk-prot.bin
610ee4309d72f367b8c33f23d792cd599bbf592c  R-cs35l41-dsp1-spk-prot.bin

Files from the latest attachment on b/313338461

Bug: 313338461
Test: verified by jackwjchen@
Change-Id: I15c8f1c267b6446a29f76d2dc2224790ef715db9
2023-11-27 11:02:06 +08:00
Robert Lee
7571644219 audio: Update EVT 1.0 model
* Contain proto tuning model
* PICL 2.8V/3A
* Disable stereo flag

*Checksum
2194da2e19ccd1c349e38ba90958a4472e8af3b9  cs35l41-dsp1-spk-prot.bin
2d86f6ad78d995fb4a0a17b3c21b44a81111a072  R-cs35l41-dsp1-spk-prot.bin

Files from the latest attachment on b/313338119

Bug: 313338119
Test: verified by jackwjchen@
Change-Id: Ie1e8ed0d3c2552d8e52dc560b3d3048ac7a67189
2023-11-27 11:00:54 +08:00
Robert Lee
e02df0958b audio: Update EVT 1.0 model
* Contain proto tuning model
* PICL 2.8V/3A
* Disable stereo flag

*Checksum
867de59126c443e1afea4458e3ed554b6083f0fe  cs35l41-dsp1-spk-prot.bin
b3890048fa47d9fb9873d9035cc5abf11bab1bb1  R-cs35l41-dsp1-spk-prot.bin

Files from the latest attachment on b/313337479

Bug: 313337479
Test: verified by jackwjchen@
Change-Id: I44a446fb4b64ae8b93c7d940e2d0e28cfaaa96d7
2023-11-27 10:55:53 +08:00
Treehugger Robot
4a62c0c447 Merge "audio: initial waves tuning /BAACL/ thermal playback" into main 2023-11-20 02:31:41 +00:00
Treehugger Robot
46a2c817c4 Merge "audio: initial waves tuning" into main 2023-11-20 02:23:40 +00:00
Treehugger Robot
614bff0d2e Merge "audio: initial waves tuning" into main 2023-11-20 02:23:02 +00:00
Jasmine Cha
5204ac09be audio: initial waves tuning
Bug: 310728394
Test: manual test (b/310728394#comment5)

Change-Id: I171bae6982c11e98221627d4afaf31386579ea88
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-11-20 01:49:19 +00:00
Jasmine Cha
56a9a9687e audio: initial waves tuning
Bug: 310725139
Test: manual test (b/310725139#comment5)

Change-Id: I7c6856fb7c771373e8f4eb0501aeec1e71ea66a3
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-11-20 01:48:32 +00:00
Jasmine Cha
782b125ec2 audio: initial waves tuning /BAACL/ thermal playback
Bug: 309831079
Test: manual test (b/309831079#comment3)

Change-Id: I1197b8daf8344f7d9f08a70c1ef31171edc2ac3c
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-11-20 01:47:25 +00:00
Carter Hsu
d57c57d8d5 audio: update telephony tuning
Bug: 311336668
Test: verified by acoustic team
Change-Id: Id9542b277801bd450a5c373b510596aba368559e
Signed-off-by: Carter Hsu <carterhsu@google.com>
2023-11-17 08:55:30 +08:00
Carter Hsu
574ae5881f Merge "audio: enable CCA HAL module" into main 2023-11-13 07:34:05 +00:00
Treehugger Robot
2e8a691946 Merge "audio: initial waves tuning" into main 2023-11-13 06:15:42 +00:00
Jasmine Cha
d979ccbad7 audio: initial waves tuning
This is a max volume (Vol 25 only) tuning.
Known issues with some distortion in low frequency and
piano, working on resolving for next tuning.

Bug: 309007373
Test: manual test b/309007373#comment6

Change-Id: I960b3faee583669ec3fc5355dc44e8b63aeb7a35
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-11-13 05:41:11 +00:00
Carter Hsu
26c76abc8a audio: enable CCA HAL module
Bug: 310485392
Test: build pass
Change-Id: Idcb2e33704f1f59211fca8fddc1dc41c3c3c45cb
Signed-off-by: Carter Hsu <carterhsu@google.com>
2023-11-13 00:41:17 +00:00
Jasmine Cha
059c0997e0 audio: inital speaker comensation tuning
- use prebuilt_etc instead of PRODUCT_COPY_FILES for tuning files.

Bug: 301377792
Test: manual test

Change-Id: I095ac2af8dcc4c1531df3d9921cefdab781ff7cb
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-11-09 11:11:25 +08:00
Robert Lee
c59cc179bd audio: correct haptic RX slot to 2/3 after rollback to 48k playback
Rollback the setting from ag/24033118

Bug: 304870352
Test: builds
Change-Id: I7b985af8e29b3f2f72f0362e91cee313d615ea70
Signed-off-by: Robert Lee <lerobert@google.com>
2023-11-02 06:52:26 +00:00