Commit graph

32 commits

Author SHA1 Message Date
vincenttew
2d24dde425 audio: add sound dose offset curve
Bug: 340149054
Change-Id: I0d7181f0b8fa8f27f3fc6cd77152b228a0fd072d
Signed-off-by: vincenttew <vincenttew@google.com>
2024-05-13 18:10:47 +08:00
Juyu Chen
c8fb83ac61 audio: update recording table - 0429
Bug: 337834239
Test: see the bug

Change-Id: I17341a71454b566fae248e382449f624a64b76d9
Signed-off-by: Juyu Chen <juyuchen@google.com>
2024-05-03 01:13:08 +00:00
Jasmine Cha
82d1bce7fb audio: update waves tuning
1. Improved bass amount, mid range and overall loudness
2. Volume cuve tuning for media playback, notification, alarm and
   ringtone.
3. Thermal throttling of the bottom speaker is initiated when the
   virtual skin temperature exceeds 47°C

Bug: 336671261
Test: manual test

Change-Id: I119f8d134f839ba7b3daabe36ad049f5d1db647d
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2024-04-24 04:05:05 +00:00
David Li
b53c94e7e9 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: I205d816d253d8ed0dd9e6eb8f83295762e928a02
2024-04-20 04:28:03 +08:00
Ethan Bordeaux
dfd8608ffe Merge "Enable offload spatialization on comet." into 24D1-dev 2024-04-01 21:01:16 +00:00
David Li
3485ca3f4b Merge "audio: add spatializer-offload-playback to sco device" into 24D1-dev 2024-03-29 15:01:55 +00:00
David Li
7fe00be4bf audio: add spatializer-offload-playback to sco device
Bug: 330318667
Test: manually test
Change-Id: I1e3f025b2ab78ba898b97d7035b19c08afce642e
2024-03-28 21:06:54 +08:00
Jasmine Cha
25d45b8a26 audio: update waves table
Bug: 331151292
Test: manual test (b/331151292#comment4)

Change-Id: I6afd3bc25ce1f6f24c8cffa7fbffd9851ef8b4cd
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2024-03-26 05:30:25 +00:00
Miller Liang
4bed02f61f Merge "audio: adjust the latecy value for av sync" into 24D1-dev 2024-03-26 04:02:30 +00:00
millerliang
c3fd0d2f22 audio: adjust the latecy value for av sync
Bug: 328473598
Test: Camera recording, Video playback
Change-Id: I4e31026f61e5745c4695863a212c750a5d737087
2024-03-22 09:00:25 +00:00
samou
c7cfb7002b audio: enable battery mitigation
Bug: 330302105
Test: manual test
Change-Id: Id042e4c0d7f69d38b41a39d131e77f5b96c23c68
Signed-off-by: samou <samou@google.com>
2024-03-19 12:01:29 +00:00
William Huang
52039c61b1 Enable offload spatialization on comet.
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:6a3624ce2c09aa4a467675a9876f2780f9c08f55)
Merged-In: I28dec1e14eced8cf6d36883c066fb31ca5a1f64a
Change-Id: I28dec1e14eced8cf6d36883c066fb31ca5a1f64a
2024-03-18 02:35:36 +00:00
Poomarin Phloyphisut
6a3ec198cc [USB Audio AIDL] Add mixer path for "usb-device-microphones"
Bug: 329147872
Test: Local test
Change-Id: I94a15753430125568bd4208dcf558b4c96dcf06b
2024-03-13 02:16:31 +00:00
Rios Kao
a0705890f2 comet: add sound-trigger-microphones
Test: end-to-end and host test.
Bug: 328340282
Change-Id: I570cbf32a43bb598921b13cdd2f1709dc834e64d
2024-03-06 05:55:15 +00:00
Treehugger Robot
3a35a3e719 Merge "audio: reduce pull duration for speaker power" into main 2024-02-22 13:12:25 +00:00
Jasmine Cha
7e859d101a audio: reduce pull duration for speaker power
Bug: 326161303
Test: manual test b/326161303#comment7

Change-Id: I0d74c6a53674199257d593392a5969d66314b61d
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2024-02-22 11:03:04 +00:00
Rios Kao
ff2f8cb776 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: I1dcc744d21d909a95dfcad27c7f745b1081dabe2
2024-02-21 03:54:38 +00:00
Treehugger Robot
5038edb2da Merge "aidl: update telephony tuning and config" into main 2024-02-07 02:22:06 +00:00
David Li
596f5af3a7 audio: refactor spatializer offload playback
Bug: 307842941
Test: manual test
Change-Id: Ic02c3e62af1d92947d2726e9a80777d877997ccb
2024-02-05 13:56:41 +00:00
Juyu Chen
51cbede152 aidl: update telephony tuning and config
Bug: 323454634
Test: see the bug

Change-Id: I3fb3cd0d934ebf610829077a7fc8245af316b564
Signed-off-by: Juyu Chen <juyuchen@google.com>
2024-02-05 09:52:07 +00:00
Carter Hsu
41b2ba619f Merge "audio: enable SoundDose on AIDL HAL" into main 2024-02-05 06:12:39 +00:00
Carter Hsu
87425b65b3 audio: enable SoundDose on AIDL HAL
Bug: 320841501
Test: atest CtsMediaAudioTestCases:android.media.audio.cts.SoundDoseHelperTest
Change-Id: I00345e80046135f317b2d37eb79d41f9a25749a1
Signed-off-by: Carter Hsu <carterhsu@google.com>
2024-02-05 01:25:26 +00:00
Jasmine Cha
11ada5a005 audio: correct speaker compensation tuning
Bug: 322728176
Test: manual test

Change-Id: If1d98a10e6d6ade8ae4d24fdb1a6a3f3bf61d127
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2024-02-02 11:33:54 +08:00
Jasmine Cha
e17fbbb74a audio: update wave tuning / volume curve
<Change List>
1. Enable new modules from MAM4 (PMEQ, Speaker Alignment, XTC)

Bug: 322076995
Test: manual test from b/322076995#comment5

Change-Id: Iec78862be1c91721a07c105c02f3c74b21e3136c
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2024-02-01 08:10:20 +00:00
Treehugger Robot
fe4452d4af Merge "audio: fix record tuning" into main 2024-01-30 09:41:34 +00:00
Jasmine Cha
630498aad0 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/voic

Change-Id: I0dc2e26b34f37dbab988bf7216f1900bc402aba4
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2024-01-30 17:04:08 +08:00
Jasmine Cha
657d5ce867 audio: enable CCA BWE
Bug: 320802286
Test: manual test

Change-Id: Ifed1443fc1ed02f5499bbb3d1cb06d64d69370e6
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2024-01-29 11:06:57 +08:00
David Li
1664b2e5d7 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: I7dd019f54b3519130e1fffd272e9c698fd4e4281
2024-01-23 16:13:02 +08:00
Jasmine Cha
4f6132f903 audio: align config for fm and speaker compensation
- APPLY_WB_TUNING_FOR_NB_VOICE=y
- MCPS_TABLE=y
- Add one playback extention StereoSpatializerIndicator to fix failed
  playback tuning.

Bug: 314707600
Test: manual test - making phone call and check log

Change-Id: If27120ed141cd24b2c864ffbd405c79997fdb5eb
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2024-01-17 15:17:11 +08:00
Poomarin Phloyphisut
54bff7ce73 [HDMI Audio] Add mixer paths for HDMI path.
Test: Local test.
Bug: 309696512
Change-Id: Id110e5af5b38da3937d78e8dd52a7a0378a28db3
2024-01-05 03:07:14 +00:00
Jasmine Cha
d828dc31a1 audio: correct polling time for speaker power
Bug: 283051989
Test: manual test

Change-Id: I85b751f4fd0b9d3027750f34bc645e2ecf15916a
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-12-22 04:10:03 +00:00
Jasmine Cha
0b5893f3d8 audio: initial aidl config
Bug: 316056633
Test: manual test

Change-Id: I610dff4963dce89378b583ca78a9d4ac82e35809
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-12-13 03:06:15 +00:00