Commit graph

53 commits

Author SHA1 Message Date
Michael Bestas
12ce0e3166
felix: Remove all boards except felix
Change-Id: Ib34dd38d55f39e9a61c0f61d9c659e07494177a1
2025-06-26 10:19:52 +03:00
millerliang
11690d6960 audio: fix cts AAudioTests failed on GSI image
Set all the audio policy configuration files to the correct
format for mmap-playback.

Flag: EXEMPT bugfix
Bug: 372047634
Test: Manual Test
Change-Id: I091b7360fabb60990b60210bd7417179f5c319eb
Signed-off-by: millerliang <millerliang@google.com>
2024-11-08 09:30:18 +00:00
Grzegorz Kołodziejczyk
c45009ef12 audio: enable software encoded Bluetooth broadcast
Bug: 345372436
Test: manual
Flag: EXEMPT, trivial change
Change-Id: I8e84fca69260a3be6d797ccb0d25b3032dac2bee
2024-09-20 08:29:34 +00:00
Carter Hsu
081b412c77 audio: support incall capture dl/ul concurrent recording
Bug: 317726514
Test: Verified by test build
Change-Id: I35ad2c38eacbe0b7b7fe468bd80534a44342bc3c
Signed-off-by: Carter Hsu <carterhsu@google.com>
2023-12-26 11:00:36 +00:00
Carter Hsu
6145937870 Merge "audio: Stereo DL for BT use case during VoIP" into udc-qpr-dev 2023-06-12 03:23:55 +00:00
Carter Hsu
dde1ee1306 audio: Stereo DL for BT use case during VoIP
Bug: 281626151
Test: verified by acoustic team
Change-Id: Ic3c059d3c42d5f3ac6041a3f54c19de27720506f
Signed-off-by: Carter Hsu <carterhsu@google.com>
2023-06-06 07:31:45 +00:00
Tai Kuo
03730f2542 Revert "haptics: update hapitcs sink and slot setting"
This reverts commit f0d036fa96.

Bug: 278018625
Test: Check audio coupled haptics at the sound preview app.
Change-Id: I79cf104b249e752a68005a8a226fe4b61b5d4044
2023-05-16 17:56:02 +08:00
Poomarin Phloyphisut
3511b0eaf6 [USB Audio] Enable 192k support sample rate to hifi usb
related cl: ag/22549253

Test: Local Test.
Bug: 198122814
Change-Id: I9844a7bf34bfbcf4259190530adcf201068d759f
2023-04-18 13:08:22 +00:00
Jasmine Cha
0248c103fb audio: update spatial audio tuning am: a65b291e37 am: de271d2402
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix/+/22248644

Change-Id: I32abe8f5504351ae64f777f5d97667319466fd33
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-24 16:54:30 +00:00
Jasmine Cha
a65b291e37 audio: update spatial audio tuning
1. Update spatial tuning profile to match transaural filter for QPR3 feature drop.
2. Update volume curve for DTMF & system sound for smooth loudness changes.

Bug: 275015500
Test: manual test from b/275015500#comment2

Change-Id: I197dc992b03b16b101f19a81b112e43568166526
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-03-24 16:45:04 +08:00
Yung Ti Su
4cb5760fab add support for BLE offload case in audio policy
Bug: 255722598
Test: manual

Change-Id: I4fae3f5575dc035171708feae25644c497aa4804
Signed-off-by: Yung Ti Su <andysu@google.com>
2023-03-15 09:03:54 +00:00
TreeHugger Robot
75c6203d4c Merge "audio: update playback tuning" into tm-qpr-dev am: 466cc0eda0 am: 1132a472f0
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix/+/21894983

Change-Id: I3473e36be53657e769b0585e9dffc2ea4d0c7185
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-08 11:14:12 +00:00
Jasmine Cha
afefe55e05 audio: update playback tuning
<Change List>
1. Optimize playback tuning to reduce overall power and meet thermal requirement.
2. Volume cuve tuning for media playback, notification, alarm and ringtone

<Validation Results>
Basic function Regression
Pass TMO thermal test

Bug: 269818309
Test: manual test from b/269818309#comment20

Change-Id: I06e6f351dab40d81053bb1bfc4af5f097ad6d1f4
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-03-08 16:22:10 +08:00
TreeHugger Robot
4492cef69b Merge "haptics: update hapitcs sink and slot setting" into udc-dev 2023-02-28 14:31:45 +00:00
millerliang
e4fcc3d194 audio:enable mmap and raw on BT
AoC can support mmap on BT both playback and recording
after gpar/322484.

Bug: 232205959
Test: OboeTester

Signed-off-by: millerliang <millerliang@google.com>
Change-Id: I95f6d500c259a14e5da23397c799b339d8128b36
2023-02-24 15:42:44 +08:00
Tai Kuo
f0d036fa96 haptics: update hapitcs sink and slot setting
Bug: 270023634
Test: trigger audio coupled haptics via sound picker app
Change-Id: Ibaab0f2bdb3628bfe7dd45adefd102d882473fef
2023-02-22 21:51:33 +08:00
Jasmine Cha
d3873b19c1 Merge "audio: update playback tuing and volume curve" into tm-qpr-dev 2023-02-15 01:08:54 +00:00
Yung Ti Su
db8e9c6665 audio: RC ver. tuning table release for Felix
Bluenote
MIC path :
MBDRC Threadhold_dB 44/44/44 (Band1/Band2/Band3)
MBDRC gain_dB 27
Limiter gain -2

Camcorder path :
MBDRC
MBDRC Threadhold_dB[1] 44/38/38  (Band1/Band2/Band3)
MBDRC gain_dB 27
Limiter_gain_dB -2
Surround Record
Add parameters for AZ2.1 version

Mixer_paths.xml
Change value from 1 to 0 in path "voice-rec-mic"
<ctl name="Mic Spatial Module Enable" value="1"/>

Files from the latest attachment on b/268005297

Bug: 268005297
Test: verified by cartercheng@
Change-Id: Id12c10022c9f36e983eea65dca7de35181d66d91
2023-02-14 16:17:23 +08:00
Jasmine Cha
52d20564fa audio: update playback tuing and volume curve
1. Media Playback tuning for F10 DVT Stage
2. Volume cuve tuning for media playback, notification,
   alarm and ringtone

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

Change-Id: I0fa90aad3edce7022fe5be05d1835e8d4ec835a9
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-02-13 08:57:09 +00:00
Carter Hsu
70d72b1759 Update speaker-mic-post setting for increasing gain
Change gain from 0 to 22
    <path name="speaker-mic-post">
    <ctl name="MIC Record Soft Gain (dB)" value="22"/>

Bug: 267236408
Test: Hardware team verified, b/267236408#comment5
Change-Id: Ie90bcf3fb0cdabfa6848f686a542d32126dc33ff
Signed-off-by: Carter Hsu <carterhsu@google.com>
2023-02-01 07:15:40 +00:00
David Li
43de26e29a audio: Prepare the DVT cirrus tuning tables
1.Update fallback values for both top and bot speakers
2.Update the actisonic and FIR parameters
3.Update the fastswitch for swtiching the different scenarios(playback, voice call, low power)

Files from the latest attachment on b/264948011

Bug: 260653033
Bug: 264948011
Test: verified by jackwjchen@
Change-Id: I6cfcde781c2abb23ba440afeb976e83e48765951
2023-01-12 09:35:27 +08:00
millerliang
900683d3b0 audio: change the EP for spatial audio
Bug: 260779305
Test: manual test
Signed-off-by: millerliang <millerliang@google.com>
Change-Id: Ib56d5727788ed56b3a7e4d0d184a615813456f17
2023-01-04 16:08:47 +08:00
Jasmine Cha
713f005e5e audio: enable spatial speaker
Bug: 260779305
Test: manual test

Change-Id: If153e8a14419f845088800fc5ced6052eb4ff787
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2022-12-28 15:05:39 +08:00
Jasmine Cha
20fc19f50a audio: enable playback thermal throttle
Bug: 247793430
Test: manual test

Change-Id: Ic120438d1fb4d0d5b8ae307faf5bba9578670aba
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2022-12-27 16:29:38 +08:00
Jasmine Cha
f1800f68c5 audio: remove speaker-safe
Bug: 260062610
Test: manual test (b/260062610#comment11)

Change-Id: I0335f84d5164b9a7f80ba124ee0416575033cf0e
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2022-12-15 00:27:44 +00:00
millerliang
56e005a559 audio: add missed camcorder be_cfg in dsp latency
Some 3rd party app may use one or three microhpne(s)
to do the camera recording.
Add these two configurations to UC_AUDIO_RECORD to sync
the audio and video of the recoreded video.

Bug: 260824124
Test: Reporter verified
Change-Id: I11e6064cfd1070dd9dc5c0065a3840eaec73104a
2022-12-06 15:34:44 +08:00
David Li
cfdd661f85 add DPE and GAPLESS_OFFLOAD and fix mmap-playback
Bug: 259008615
Test: boot up to home and test offload playback
Test: oboe output
Change-Id: Ia8a47510c54bc812a3fcc25e3c94f3fce01c3199
2022-11-23 07:07:16 +00:00
David Li
d5d92f2ef7 audio: Merge telephony tuning tables
Change List :
Fortemedia
Handsfree
Fine tune downlink for improving speech quality
Headset
Leverage the modification to HCO-RX (speakerphone downlink)
Mixer_paths
Modify the register of D gain in "voice-speaker"

Files from the latest attachment on b/259337130

Bug: 259337130
Test: verified by huangsean@
Change-Id: Ieaf426dba4cf1f032d796a0d739e36db457bca52
2022-11-16 13:34:22 +08:00
David Li
48732726e0 audio: Mege media record tuning tables
Change List :

Bluenote
Initial first version for camcorder
Initial first version for voice recorder
Initial first version for voice recongnition

Mixer_paths
Add  <ctl name="Mic Spatial Module Enable" value="1"/> in path "voice-rec-mic"
Modify gain settings in path "voice-speaker"

Audio_platform
Add <cfg id="IN_VOICE_RECOGN_MIC_BE_CFG" tuning_id="77"/> in <cfg_attr>

Files from the latest attachment on b/258361196

Bug: 258361196
Test: verified by cartercheng@
Change-Id: I033ae20ea1354d8dc0a97ebef077a5d3ff9a557c
2022-11-11 02:53:51 +00:00
TreeHugger Robot
12642555e3 Merge "add CCA tuning block ID and change deep buffer and mmap format" into tm-qpr-dev 2022-11-08 11:12:38 +00:00
David Li
d032821eb7 add CCA tuning block ID and change deep buffer and mmap format
Bug: 257003729
Test: voice call for CCA
Test: youtube, oboe for deep buffer and mmap
Change-Id: I350cdf8e1eab200a1f2f607f3bd993a0df70fd42
2022-11-08 18:08:07 +08:00
Chase Wu
5f1601be55 vibrator: Separate the audio coupled haptics setting
Bug: 181615889
Test: trigger a2h via pixel ringtone and alarm apk
Signed-off-by: Chase Wu <chasewu@google.com>
Change-Id: Icd74aa8c46f939fdec68f0250cf18940f5bead33
2022-10-28 23:31:03 +08:00
Jasmine Cha
c6c0e46128 audio: enable telephony thermal throttle
Bug: 248461803
Test: Voip with speaker

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I3fb2ace143ad80e7fb3399885bfc22b53a555ea1
2022-10-25 14:25:36 +08:00
David Li
458ead019f audio: Merge telephony tuning tables
Change List :
Fortemedia_table
Handset
Fine-tune Handset performance based on EVT device.
Handsfree
Fine-tune Handsfree performance based on EVT device.

Mixer_paths
Handsfree
Add fast_switch command.

Audio_platform
Add the CCA control
Modify VoIP downlink channel for SS

Files from the latest attachment on b/253202312

Bug: 253202312
Test: verified by huangsean@
Change-id: I5db1b31315a8d5235014b8c59f7add5f9cd62e04
2022-10-18 17:31:01 +08:00
Yung Ti Su
95a10f74ae Enable the spatial audio function
Bug: 248470366
Test: manual

Signed-off-by: Yung Ti Su <andysu@google.com>
Change-Id: Ie1282d6550052c4bffacaa0b88388bbabe73a208
Merged-In: Ie1282d6550052c4bffacaa0b88388bbabe73a208
2022-10-13 20:06:26 +08:00
Jasmine Cha
70859eb837 audio: enable hinge angle control and BAACL
Bug: 247793430
Test: manual test / LR mixed / LR swap

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: Ib3af6e2aeba1f90000e88fd6aceddd6aef85518d
2022-10-13 13:48:06 +08:00
Carter Hsu
06b1015c13 Merge "audio: allow Fortemedia to notify setting to CCA" into tm-qpr-dev 2022-09-23 02:53:10 +00:00
David Li
d857332aea Merge "audio: Phase in related telephony tuning tables" into tm-qpr-dev 2022-09-21 10:19:08 +00:00
Carter Hsu
51299b7044 audio: allow Fortemedia to notify setting to CCA
Bug: 237720492
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: Ia6724be4c013e90d6da098bdf2f693f25c6c8e4c
2022-09-21 09:20:21 +00:00
David Li
06f092a355 audio: Phase in related telephony tuning tables
Change List :

Fortemedia:
Headset :
Leverage the HEADSET tables from P10C10-QPR.
Bluetooth :
Leverage the BLUETOOTH tables from P10C10-QPR.
Handset :
Fine tune Handset performance based on Proto device.
Handsfree :
Fine tune Handsfree performance based on Proto device.

Mixer paths:
Handset :
Modify Amp gain for Handset mode.
<ctl name="E AMP PCM Gain" value="9"/>
Handsfree :
Add fast switch CMDs, but it is currently disabled because the CIRRUS bin is not ready yet.

Files from the latest attachment on b/246467939

Bug: 246467939
Test: verified by hardware engineers
Change-id: Ifb738a71c97c96ddd3e34c6fbbd46e7f7d1bd628
2022-09-21 03:26:02 +00:00
vincenttew
dce562178a audio: extand the period number of hifi usecase
extend this to prevent alsa trigger stop playback
and causing pop

Bug: 238056484
Signed-off-by: vincenttew <vincenttew@google.com>
Change-Id: If4d63a1b994bb8f6e508a3d666bb251a20e7dec6
2022-09-20 07:29:41 +00:00
Carter Hsu
ed53eed43d audio: enable USB clock boost on SWB voice-call
Bug: 245421488
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: If36b80fa8201d6cbaffc097ee1f592f11408661d
2022-09-07 01:12:04 +00:00
David Li
dd7d9b0a47 audio: Modify mixer_paths_factory.xml amp3 VMON enable
Modify mixer_paths_factory.xml amp3 VMON enable

Files from the latest attachment on b/241753810

Bug: 241753810
Test: verified by hardware engineers
Change-id: I48efaa9fe1ff1721c07da0d052ca146259e14fd7
2022-08-08 11:33:00 +00:00
David Li
5671430ba6 audio: change VOIP playback channel count to stereo
Bug: 240674257
Test: Google Meet
Change-Id: Id34825e13d8e993c8fd831486cd57636f3f77ca5
2022-08-05 15:07:29 +08:00
David Li
41955b5aab audio: update mixer_paths_factory.xml to fix USB loopback issue
Bug: 238280857
Test: verified by audio tool commands
Change-Id: I2fe137f8fc922d71de1711ebecab3f294dc552d8
2022-07-11 06:59:22 +00:00
David Li
666d40597c audio: modify fortemedia and cirrus amp arguments
Bug: 235952749
Test: verified by hardware engineers
Change-Id: I1341b02c0a38131c225af28223d3f760c6b3590b
2022-06-27 07:08:19 +00:00
YB_Chiu
f55e335f12 add mic software gain initial value
sync the solution from C10/P10

Bug: 234337030
Test: verify it with a updated mixr table, and it works
Change-Id: I74272c762961731156e11c4aa4b003e5eaf536a5
Signed-off-by: YB_Chiu <yubinc@google.com>
2022-05-31 17:33:27 +08:00
David Li
c564cf7b82 update Cirrus tuning tables and sampling rate settings
Bug: 232053965
Bug: 232056375
Test: n/a
Change-Id: Id8ca49fa8bb7a54caff61706e71b3083d205df6d
2022-05-12 15:36:21 +08:00
Carter Hsu
661f4cc1b8 audio: allow mmap-record to set dsp volume
Bug: 231630423
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: Ia85b57a58d732bc0c18108dfab610145b0455c7e
2022-05-06 09:20:09 +00:00
David Li
e6ed25576d change usb headset gain control to sw gain control
Bug: 230037541
Test: n/a
Change-Id: I50be8184f1fc0050aa16d4f772ef2a69f326e10b
2022-05-03 06:57:17 +00:00