Commit graph

24 commits

Author SHA1 Message Date
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
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