Commit graph

33 commits

Author SHA1 Message Date
David Li
d3a89c3893 audio: enable offloaded DPE
Bug: 278812541
Test: Adaptive sound and Juno app
Change-Id: I98890f0aded57fb1724472b52e97a47e9168ffd6
2023-06-06 10:10:09 +00:00
Treehugger Robot
9305489bee Merge "Revert "haptics: update hapitcs sink and slot setting"" into udc-d1-dev 2023-05-30 16:12:09 +00:00
Carter Hsu
0910c02540 audio: Mixer_paths, Fortemedia table check in (2023/05/18) for telephony.
1. Mixer_path: Modify L/R PCM volume for voice-speaker from 801 to 817

2. FM table
- HK3 Handset.dat (Owen)
1. Modify NB/WB/SWB Rx FDEQ of Max/Max-1/Max-2 to optimize Dist./FR for EVT1.1 in Handset | Voice_Generic
2. Modify NB/WB/SWB Tx NS B_POST_FILT_0 to 4000/1000/1000 for Tx MOS and SWB FQEQ for FR
3. Copy item1. and 2. to Handset | Tmobile-US & RESERVE2
4. Copy item2. to Handset | Tmobile-US and Handset_HAC | Voice_Generic & Tmobile-US

- HK3 Headset (Gene)
1. Enable mixer for voice call on RX1 and RX2
2. Disable Mixer for VoIP call on RX1 and RX2
3. Enable SWB RX low delay for Voice and VoIP call  on BB, Condor V21, Condor F821, 3rd party adaptor, Condor V21 Headphone

-HK3 Spekaer (Ricky)
1.RX fine tuning - all bands with RLR 5.5dB
2. TX fine tuning for EVT1.1 - all bands SFR/SLR
3. TX performance unstable problem fixed
4. WB residual echo fixed in EVT1.1
5. SWB Volume curve fine tune

- HK3 Headset/Bluetooth (Ricky)
1. Sync Handsfree TX setting to VCO-TX, Headphone-TX, BT-HAC-TX
2. Sync Handsfree RX setting to HCO-RX

Files from the latest attachment on b/283214557

Bug: 276334268
Bug: 283214557
Test: verified by rickycheng@
Change-Id: I13fdcd2b0f0b2697761522585ffe39e8d851cec2
2023-05-18 12:33:29 +00:00
Jasmine Cha
391464076e Merge "audio: use VIRTUAL-SKIN-SPEAKER for playback throttle" into udc-d1-dev 2023-05-17 05:39:02 +00:00
Tai Kuo
12c436b395 Revert "haptics: update hapitcs sink and slot setting"
This reverts commit be92d60ec5.

Bug: 278018625
Test: Check audio coupled haptics at the sound preview app.
Change-Id: I35d52c31015c13670fc6d4e8ef57a3d0ea641391
2023-05-16 16:00:53 +08:00
Jasmine Cha
cc7f844429 audio: use VIRTUAL-SKIN-SPEAKER for playback throttle
Bug: 282062889
Test: manual test

Change-Id: I30fcb91c4f8dc8d9208389f551034e829166afda
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-05-15 03:42:31 +00:00
Jasmine Cha
e82522ec9d audio: add mute duration for primary output
- beginning of previous notification is cut off.

Bug: 282118346
Test: preview notification

Change-Id: I914bee1db3a88883e52f8196382f64622744e1df
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-05-12 15:53:12 +08:00
Carter Hsu
e6565f034d Merge "audio: enable CCA for VoIP downlink" into udc-d1-dev 2023-05-08 08:49:59 +00:00
Poomarin Phloyphisut
ee227966b2 [USB Audio] Enable 192k support sample rate to hifi usb
related cl: ag/22549253

Test: Local Test.
Bug: 198122814
Change-Id: I3e0648f616a60f2a6e1fe5fadb30faf6c88978f7
2023-04-26 09:19:28 +00:00
Yung Ti Su
ffa841e738 add immersive_output
Bug: 275639025
Test: manual

Change-Id: I207402fcdeeead44f3e057101debde5b88951e79
Signed-off-by: Yung Ti Su <andysu@google.com>
2023-04-19 00:52:28 +00:00
Carter Hsu
a35e60d4f8 audio: enable CCA for VoIP downlink
Bug: 278151806
Test: build pass
Change-Id: Ia5bf8ae2b316c61452c4ba0891fdff61b26cf251
Signed-off-by: Carter Hsu <carterhsu@google.com>
2023-04-14 01:57:55 +00:00
Jasmine Cha
a0a84b916a audio: update waves/volume tuning. am: b1ad440673
Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/22521864

Change-Id: Iee66c720bc98b821b52a250d26b0adf44ce0bc79
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-10 03:57:07 +00:00
Jasmine Cha
b1ad440673 audio: update waves/volume tuning.
1. Updates for loudness, bass, stereo, dynamics, distortion
   improvements.
2. Update entire volume curve for competitive listening experience.
3. Tuned to pass power for Pink 13dB CF noise on speaker loads for
   battery and thermals (simulated 40C - 41C skin temp).
4. Update non-media streams(Ringtone/Notification/Alarm/DTMF/
   System sound/CAM shutter) tuning.
5. Update entire volume curve of non-media streams for competitive
   listening experience.

Bug: 277167806
Test: manual test

Change-Id: I3ed219804d4d40cc3e89ff13858f2cc5d1bf9db8
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-04-10 10:18:10 +08:00
Carter Hsu
38dd857f62 audio: enable the CCA control
Enable CCA for NB, WB and SWB

Bug: 267827552
Test: Verified on the test build
Change-Id: Idbdde78305a4e8dfe8df0e722af5e3bba9c04aed
Signed-off-by: Carter Hsu <carterhsu@google.com>
2023-03-14 09:37:45 +08:00
Carter Hsu
574acbbe49 audio: enable ultrasonic proximity detection
Bug: 271379466
Test: tried with test build
Change-Id: I1d4eda4511ea3eaeb0b71b4f36b20eadb9a08316
Signed-off-by: Carter Hsu <carterhsu@google.com>
2023-03-09 16:15:56 +08:00
TreeHugger Robot
706b609f5a Merge "audio: enable waves BAACL/playback throttle" into udc-dev 2023-03-01 06:47:25 +00:00
Jasmine Cha
a126119dfa audio: enable waves BAACL/playback throttle
- use BAACL/playback thermal throttle action in ini
- use default settings for BAACL and playback thermal throttle.

Bug: 267100178
Test: push and check lr swap/mixed by adb commands

Change-Id: I5f43fe3ee39be8c06d8d5024462df2f696a0a6eb
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-03-01 13:36:01 +08:00
TreeHugger Robot
d2daa8004e Merge "[P23] Enable LE Audio broadcast offload" into udc-dev 2023-03-01 04:04:53 +00:00
TreeHugger Robot
4d1376b0ad Merge "haptics: update hapitcs sink and slot setting" into udc-dev 2023-02-28 16:55:22 +00:00
Patty Huang
f5c46e3aa7 [P23] Enable LE Audio broadcast offload
1. Set the LE Audio broadcast switcher property
2. Enable LE Audio broadcast profile
3. Add support for BLE Broadcast output in audio policy file
4. Add broadcast offload capability

Test: Manual
Tag: #feature
Bug: 268170293
Change-Id: I423d08442a99cf73535f5664f81c722c62b60996
2023-02-24 06:32:43 +00:00
Jasmine Cha
934d7c4e5c audio: update waves, media speaker volume curve
Merge notes:
* Update max volume for loudness, bass, stereo, dynamics,
  distortion improvements.
* Update entire volume curve for competitve listening
  experience.
* Update entire volume curve within 1dBSPL of previous vol curve
  (to be matched within 0.5dB on next iteration).
* Moved all volume curve gains from output trim to XML
* Tuned to pass power for Pink 13dB CF noise on speaker loads
  for battery and thermals (40C - 41C skin temp).

Tuning gaps:
* No thermal throttle merged (2nd LL) yet (next iteration pre
  dogfood), so TMO use case unknown still.
* No BAACL tuning merged yet (next iteration pre dogfood)
* Non-media sounds / vol curve not yet tuned

Testing gaps:
* No monsoon testing (to be setup for next iteration)
* No official thermal testing (to be setup for next iteration).

Bug: 270274623
Test: manual test

Change-Id: I26ece68c56c98593c68cf5d7bda979a2a9af5565
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-02-23 10:30:00 +08:00
Tai Kuo
be92d60ec5 haptics: update hapitcs sink and slot setting
Bug: 270023634
Test: trigger audio coupled haptics via sound picker app
Change-Id: I3ae69d93d0a392d880b056579fc1f4efbdd7bc01
2023-02-20 21:12:47 +08:00
Carter Hsu
9fa6146161 audio: Audio platform, Mixer_paths, Fortemedia table check in (2023/02/17) for telephony.
1. Mixer_path: Adding FIR fast switch in voice-speaker (ON) and speaker (OFF)
2. Audio_platform: Enable MCPS table for lib v622
3. MCPS: Change MCPS for lib v622

Files from the latest attachment on b/269713919

Bug: 269713919
Test: verified by rickycheng@
Change-Id: I94b53c772e12b072dd20e8f08ebedf935809356c
2023-02-20 13:23:03 +08:00
TreeHugger Robot
3c28f2ea06 Merge "audio: enable gapless offload" 2023-02-01 11:25:25 +00:00
Robert Lee
a95c6b5ee3 Merge "audio: update tuning bin file and table for 48K playback" 2023-01-06 10:47:56 +00:00
juyuchen
0bf430b32a audio: enable gapless offload
Bug: 264321094
Test: manual audio tests
Change-Id: Iddaa9a026e9fafea8d65a495e9bcd1ff716a55e9
Signed-off-by: juyuchen <juyuchen@google.com>
2023-01-05 15:21:00 +08:00
Robert Lee
a11f088032 audio: update tuning bin file and table for 48K playback
Bug: 261807510
Bug: 243626704
Bug: 243497194
Test: Builds
Change-Id: Idd50d9b5de0f183e9373e888cca3f93af03c428d
Signed-off-by: Robert Lee <lerobert@google.com>
2022-12-22 20:25:50 +08:00
Yung Ti Su
81f4134629 add support for BLE offload case in audio policy
Bug: 257377746
Test: manual

Change-Id: Id9a2c528fd51898d59c3234b05cd606d7ebd9dc2
Signed-off-by: Yung Ti Su <andysu@google.com>
2022-12-16 16:09:58 +08:00
TreeHugger Robot
eb2d1dec89 Merge "fix usb factory loopback/playback/capture fail" 2022-12-15 10:23:00 +00:00
vincenttew
5f962c00c0 fix usb factory loopback/playback/capture fail
Test: factory command, normal playback/capture
Bug: 245503800
Change-Id: I5f9aa710725f6e9869e7632f0c268e9e67f925c5
Signed-off-by: vincenttew <vincenttew@google.com>
2022-12-15 16:57:44 +08:00
Jasmine Cha
7023b26da0 audio: update volume curve for power budget
Bug: 262473484
Test: manual test

Change-Id: I98ea8ffa08a7d7fee3c48df936dee2640072c2b2
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2022-12-15 01:55:12 +00:00
Yung Ti Su
082d1b6417 Enable the spatial audio function
Bug: 254771189
Test: manual

Change-Id: I8fa9864103879efc10362695254e887629c46e10
Signed-off-by: Yung Ti Su <andysu@google.com>
2022-12-05 05:57:51 +00:00
Robin Peng
fd0859e694 Initialize device folder
from: 858c0f08e332220d80a9eef8ddcd39ef4d5296ee
with updated device path

Bug: 248399843
Change-Id: I215a40a4f4719d5432e87401f4a3214c5189ba20
2022-10-30 16:03:17 +00:00