Commit graph

55 commits

Author SHA1 Message Date
Rios Kao
52d6e400ed caimito: Enable FmAPMg3 hybrid mode.
Test: end-to-end validation
Bug: 343339070
Flag: EXEMPT apply existed feature.
Change-Id: I553d44e0f920c9d7f59fcbbe020b43435a84ae67
2024-08-13 02:27:07 +00:00
Rios Kao
fc28091f41 caimito: add incall stream 3 for gsenet uplink
note: add new use-case for gsenet voip

Test: build pass
Bug: 343339070
Flag: NONE EXEMPT add path for existed feature.

Change-Id: I8f8710161fd8a2af338fb043cb3264def6fc9090
2024-07-23 01:55:44 +00:00
Treehugger Robot
0030e311bb Merge "add support for bluetooth-low-energy-broadcast" into main 2024-06-20 05:39:00 +00:00
Yung Ti Su
acadaad86e add support for bluetooth-low-energy-broadcast
Bug: 321168976
Test: manual
Flag: EXEMPT bugfix

Change-Id: I99cc7e84f0014f92dee8347f5bb97ec422266c6f
Signed-off-by: Yung Ti Su <andysu@google.com>
2024-06-20 05:38:16 +00:00
Rios Kao
3f097bd11d caimito: correct microphone devices for voip
note:
     In VOICE_COMMUNICATION case, microphones need
     extras string to be identified as voice device.

Bug: 346302191
Test: adb shell tinymix | grep "MIC HW Gain"
Change-Id: Ieb58ede838e457b7fcb4c17fb39515264f96514d
2024-06-11 08:56:45 +00:00
Jasmine Cha
d901bca9cc waves: update MPS and volume curve
- dynamics volume pumping, tone update
- speaker-safe tuning for less compression, higher quality

Bug: 339739370
Test: manual test / PTS

Change-Id: Ifa833bca9c40ae2c353ff0aadfc5122e634ab68d
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2024-05-15 06:05:14 +00:00
Treehugger Robot
0497b93b05 Merge "audio: add sound dose offset curve" into 24D1-dev 2024-05-13 20:15:03 +00:00
vincenttew
6f2cbd480c audio: add sound dose offset curve
Bug: 340149054
Change-Id: I2642896d4ae6f134122486cb7953f4c8fee6ea20
Signed-off-by: vincenttew <vincenttew@google.com>
2024-05-13 06:48:15 +00:00
Carter Hsu
e11a334b3b audio: update Waves tuning
KM4:
- Improve sound profile overall (bass, tone, level, distortion, etc) from DF tuning
- Retune volume curve (compliant with battery and heat budgets)
- Update speaker-safe tuning (ringtone, alarm, notification)
- No need for thermal throttle (very low power)
- No need for BAACL tuning (no audible issues at 1.8A peak)
- Full acoustic testing complete
- Full power testing complete at speaker load (pending Monsoon battery test)
- Pending CTS compliance test
b8ad231b35a00ef24f349eb9c2a48ae95be63c92  /vendor/etc/waves_preset.mps
b8ad231b35a00ef24f349eb9c2a48ae95be63c92 *KM4_MangoXSS_REVERT2_LLv20Nv5_rebuild1.mps

CM4:
- Addresses many of the PTE bugs and is an improved tuning from previous versions.
- Reduces Power Usage compared to the previous release.
- SHA1Sum for MPS: 52927bbe91ba14c2412c1839cbc471c9ec6072bf
- SHA1Sum for XML: 449deead0bdc8642e43cdcc32578701699878c45

TK4:
- Addresses many of the PTE bugs and is an improved tuning from previous versions.
- Reduces Power Usage compared to the previous release.
- SHA1Sum for MPS: 52927bbe91ba14c2412c1839cbc471c9ec6072bf
- SHA1Sum for XML: 449deead0bdc8642e43cdcc32578701699878c45

Bug: 338159946
Bug: 338159502
Bug: 338141700
Test: verified by audio tuning team
Change-Id: I6108dee7335189a1fb98212a7e19d9cd9852ca47
Signed-off-by: Carter Hsu <carterhsu@google.com>
2024-05-02 05:55:03 +00:00
David Li
f04d29f270 Merge "audio: change in-call-capture paths and remove unused ctls" into 24D1-dev 2024-04-23 19:21:48 +00:00
David Li
789c561c9f audio: change in-call-capture paths and remove unused ctls
Bug: 333840723
Test: python3 dialer-cmd.py callaudio record /data/data/com.google.android.dialer/cache/record-$datetime.pcm
Test: Live caption in dialer
Change-Id: I5d57a5983ead5664a33d6da0c4b5ecc101059ebd
2024-04-20 04:25:47 +08:00
Robert Lee
9e046788ed audio: update mixer paths
- Remove unused controls to prevent output error log

Bug: 333470780
Test: manual test
Change-Id: I8ef2ca649dc03e1969596fc3d91d9a187e978283
Signed-off-by: Robert Lee <lerobert@google.com>
2024-04-09 02:32:10 +00:00
Jasmine Cha
4df844fff4 audio: update waves tuning table
Bug: 332435827
Bug: 332436798
Bug: 332418398
Test: manual test

Change-Id: I946650df0b7519e5f6fa8a323832dfaeccb1dfe8
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2024-04-03 03:32:43 +00:00
Ethan Bordeaux
a981a38b0d Merge "Enable offload spatialization on caimito." into 24D1-dev 2024-04-01 21:01:16 +00:00
David Li
859c48630b audio: add spatializer-offload-playback to sco device
Bug: 330318667
Test: manually test
Change-Id: If9a58843e6c7f96e6a3847f94afe27f12e6b2e3b
2024-03-28 17:49:19 +08:00
Treehugger Robot
f46b1c3c25 Merge "Check in recording tuning table for EVT1.1 device" into 24D1-dev 2024-03-25 04:25:43 +00:00
Sam Ou
62b78fd840 Merge "audio: enable battery mitigation" into 24D1-dev 2024-03-21 11:41:43 +00:00
Jasmine Cha
f756048986 audio: enable battery mitigation
Bug: 330302105
Test: manual test
Change-Id: Ib6a8ac54fe7494c128d90a8600bbfa8ba041abc8
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2024-03-19 12:01:11 +00:00
Yixuan Jiang
bb724641c7 Check in recording tuning table for EVT1.1 device
Change list ver 5.0 for EVT 1.1 :
1. Tuning table for enabling AZ2.2 post mixing on b/314894838 AoC CL gpar/836677
2. Enable SA-Lite on VR path
3. Update PGC highAOP gain table for improving volume

Bug: 330096787
Change-Id: I1033781ccd9dd0eedc531e268c60b3dcee5f2054
Signed-off-by: Yixuan Jiang <yixuanjiang@google.com>
2024-03-19 08:07:29 +00:00
Rios Kao
816bc81f42 caimito: remove useless argument of speaker.
note:
     Rotation is uses for tablet project only.

Test: build pass.
Bug: 330083943
Change-Id: I9ecc8d73b282c1aab15b90813c35376e54a4bdf0
2024-03-18 04:25:33 +00:00
Treehugger Robot
f7aea63386 Merge "[USB Audio AIDL] Add mixer path for "usb-device-microphones"" into 24D1-dev 2024-03-13 16:17:07 +00:00
Treehugger Robot
d21652bd5a Merge "audio: adjust the latency value for av sync" into 24D1-dev 2024-03-13 16:16:24 +00:00
Poomarin Phloyphisut
439a40fa37 [USB Audio AIDL] Add mixer path for "usb-device-microphones"
Bug: 329147872
Test: Local test
Change-Id: I96bc9736ba37837b22d184777046f5e0084b4570
2024-03-13 02:13:47 +00:00
millerliang
45a646dcc4 audio: adjust the latency value for av sync
Bug: 328473598
Test: Camera recording, Video playback
Change-Id: Iefc4498b4e7977d054266cbc32ccff7078858f2d
Signed-off-by: millerliang <millerliang@google.com>
2024-03-12 07:27:21 +00:00
Rios Kao
2b65d041cb Merge "caimito: add sound-trigger-microphones" into 24D1-dev 2024-03-12 01:50:24 +00:00
William Huang
0411b2e091 Enable offload spatialization on caimito.
Note that this depends on the AoC changes at http://gpar/q/topic:%225_1ch_asp_caf%22.

Bug: 307842941
Test: manual test
Signed-off-by: William Huang <yushh@google.com>
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:9c8ce1bd4590625fc1d1c4b7633413f9abce15e0)
Merged-In: I2e3d633929f2fc76e19ed0810351226ed52314e6
Change-Id: I2e3d633929f2fc76e19ed0810351226ed52314e6
2024-03-07 22:35:07 +00:00
Rios Kao
64becd453f caimito: add sound-trigger-microphones
Test: end-to-end and host test.
Bug: 328340282
Change-Id: Ib4adac74b0ffd1dd05a6368e447f21978d1f6d99
2024-03-06 05:52:00 +00:00
Yixuan Jiang
9fc9a1b499 audio: update recording table
[Subject]
Check in recording tuning table for device
  Update recording.gatf & audio_platform_configuration.xml

[Details]

Change list ver 5.0 for EVT 1.1 :
1. Tuning table for enabling Mic COMP module

Bug: 327138345
Bug: 327137905
Bug: 327138336

Change-Id: I25ed3032d249a8c657e23b9f7e6b4e42774bf7f3
Merged-In: I25ed3032d249a8c657e23b9f7e6b4e42774bf7f3
Signed-off-by: Yixuan Jiang <yixuanjiang@google.com>
2024-03-06 02:32:54 +00:00
Rios Kao
06c566503c audio: fix vts for microphone information.
note:
     Depending the realized in framework side, the microhone
     information only report the corresponding devices info
     surfaced via SDK. That means reporting bottom / back mic
     are necessary.

Test: atest VtsHalAudioCoreTargetTest
Bug: 300735639
Change-Id: Ib514d1f87f607d1bfab0818dbff16bd3623b313e
2024-02-21 03:56:10 +00:00
Carter Hsu
6c1380bafc Merge "audio: 2024/02/02 Fortemedia table" into main 2024-02-06 01:58:51 +00:00
David Li
c0e1a53e61 audio: refactor spatializer offload playback
Bug: 307842941
Test: manual test
Change-Id: I7487b3c0359098171e6da6759c28b9ed5f8fbff1
2024-02-05 13:59:09 +00:00
Carter Hsu
05c94614af audio: 2024/02/02 Fortemedia table
<changelist- FM table>
"TK4
- Handset (Ricky)
1. HA all BWs Disable AMS
2. HA WB Rx FNS level from 0x0006 to 0x000F for CCA BWE
- Handsfree (Ricky)
1. HH all BWs Disable AMS
2. HH WB Rx FNS level from 0x0006 to 0x000F for CCA BWE
3. HH all BWs Adaptive NS thd (index397) set to 0x0190
4. HH all BWs Disable LPF
- Headset (Gene)
1. HE WB Rx FNS level from 0x0006 to 0x000F for CCA BWE
KM4
- Handset (Ricky)
1. HA all BWs Disable AMS
2. HA WB Rx FNS level from 0x0006 to 0x000F for CCA BWE
- Handsfree (Ricky)
1. HH all BWs Disable AMS
2. HH WB Rx FNS level from 0x0006 to 0x000F for CCA BWE
3. HH all BWs Adaptive NS thd (index397) set to 0x0190
4. HH all BWs Disable LPF
- Headset (Gene)
1. HE WB Rx FNS level from 0x0006 to 0x000F for CCA BWE

CM4
- Handset (Duncan)
1. HA all BWs Disable AMS
2. HA WB Rx FNS level from 0x0006 to 0x000F for CCA BWE
- Handsfree (Duncan)
1. HH all BWs Disable AMS
2. HH WB Rx FNS level from 0x0006 to 0x000F for CCA BWE
- Headset (Gene)
1. HE WB Rx FNS level from 0x0006 to 0x000F for CCA BWE"

<change list - audio platform>
Enable stereo for BT VoIP

Bug: 323464302
Test: Verified by Acoustic team
Change-Id: I486d589eca68108a82dc071bb68a57fc39222eef
Signed-off-by: Carter Hsu <carterhsu@google.com>
2024-02-05 06:32:13 +00:00
Carter Hsu
31b17727a0 Merge "audio: enable SoundDose on AIDL HAL" into main 2024-02-05 06:12:39 +00:00
Carter Hsu
fb4a7dbc0f audio: enable SoundDose on AIDL HAL
Bug: 315915954
Test: atest CtsMediaAudioTestCases:android.media.audio.cts.SoundDoseHelperTest
Change-Id: I4ca8a8f975fbf0ce17f4b4234bfb47868a06d26d
Signed-off-by: Carter Hsu <carterhsu@google.com>
2024-02-05 01:25:39 +00:00
Jasmine Cha
761eba7c20 audio: update waves tuning and volume curve
Bug: 323256159
Bug: 323259548
Bug: 323259548
Test: manual test

Change-Id: Ic3e27dd911b1036dbd893d98ecb089d16e7835be
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2024-02-02 06:35:36 +00:00
Treehugger Robot
9ac8092dc6 Merge "audio: fix record tuning" into main 2024-01-30 10:12:51 +00:00
Jasmine Cha
4db0307c1d audio: fix record tuning
- remove VOICE_RECOGNITION source for spatial capture
- move Mic Spatial Module Enable to audio hal control

Bug: 322926141
Test: manual test - camcorder/voice record with bluenote

Change-Id: I5057762e172ca35367a1929c67f3d364feece00c
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2024-01-30 16:58:11 +08:00
Jasmine Cha
c94fe9ae9d audio: enable CCA BWE
Bug: 320802286
Test: manual test

Change-Id: Ia4b3954a40e57458a71f1d935a2bd261a621933a
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2024-01-29 11:05:50 +08:00
David Li
a43128dd4d audio: align mixer paths and add missing paths
- add controls
     "HAC AMP EN",
     "EP5 TX Mixer INTERNAL_MIC_US_TX"
     "BUILDIN US MIC ID CAPTURE LIST"
 - add paths
     "builtin-mic-id-capture-list"
     "microphones (UNPROCESSED)"
     "back-microphones (UNPROCESSED)"
     "ultrasound-microphones"
 - move the mic id list to a path and other microphones devices use the
   path.

Bug: 301535551
Test: manually test
Change-Id: I669e69774fc90577ba1a056ec4ca36a25196fcf7
2024-01-23 10:47:27 +08:00
David Li
1e3c013eca audio: add path for voice call over BT heaing AID
Bug: 319182435
Test: manual test
Change-Id: Ib38477c7e45e34e66f369751b533260fa4cd4b8f
2024-01-21 15:10:53 +08:00
David Li
f87be8d9af Merge "audio: add offloaded spatializer use case" into main 2024-01-21 04:31:26 +00:00
David Li
9790519457 audio: add offloaded spatializer use case
Bug: 307842941
Test: n/a
Change-Id: I072f7642baea2c7b32bca7eba31cdbe4a82cd3b4
2024-01-19 17:48:36 +08:00
Treehugger Robot
ce61883be2 Merge "audio: enable using wb tuning for nb voice" into main 2024-01-17 09:23:32 +00:00
Jasmine Cha
7f8c50ba5c audio: enable using wb tuning for nb voice
Bug: 314707600
Test: manual test - making phone call and check log

Change-Id: I4d11bf1ed8db3604843ff79cb5775a292a0da1aa
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2024-01-16 14:20:18 +08:00
Yung Ti Su
c279dafbe9 add immersive output for ble devices
Test: manual

Change-Id: Ibdb6aebece66937091466a348ec31cbe3626d46a
Signed-off-by: Yung Ti Su <andysu@google.com>
2024-01-10 05:50:43 +00:00
Treehugger Robot
ea95293455 Merge "[HDMI Audio] Add mixer paths for HDMI path." into main 2024-01-05 04:03:23 +00:00
Poomarin Phloyphisut
50346315f2 [HDMI Audio] Add mixer paths for HDMI path.
Test: Local test.
Bug: 309696512
Change-Id: If6a3b46a28c661dd0cc0737b1b44ad9aa562fe65
2024-01-05 03:07:47 +00:00
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
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
Rios Kao
27893c088c Merge "caimito: add microphone info in platform configuration" into main 2023-12-22 09:29:05 +00:00