Commit graph

19 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
David Li
277d3a9d25 audio: fix PDM mask in mixer_paths.xml
Bug: 227565832
Test: n/a
Change-Id: I49a9bd4607de9ff2a89547b1cbfe2f675f700598
2022-03-31 18:56:54 +08:00
Cyan_Hsieh
687519c606 update felix device
based on pipit   93e38fbd070b55875d9c23e214dff6d26ac0cdf9
based on cheetah cdc1dc5379faf6bb60cf4f8b4b967ae87992b2ed

Bug: 206057564
Change-Id: I68ca7715cf7fd96066d8d517bc4daf236512f501
2022-03-08 10:59:22 +08:00
Cyan_Hsieh
e7cfbb7e37 Initialize device felix
based on pipit 68a0b4b411e8d23dfd966d24a5c35ea4ffb9d5f1
and cheetah 9acaa7507c23ffc7ca5f82a9579dd3a7c56af809

Bug: 206057564
Change-Id: Id59ed48d2a39c9a5a811c41157732914f3568d51
2021-12-08 16:10:12 +08:00