Commit graph

78 commits

Author SHA1 Message Date
TreeHugger Robot
a0c87c0930 Merge "audio: QPR ver. tuning table release for Felix" into tm-qpr-dev am: 9c2ccbe0aa am: e6d738341d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix/+/22339367

Change-Id: Ia037988580222326e6a62d42772cc70f8c0eeff3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-31 17:36:47 +00:00
TreeHugger Robot
9c2ccbe0aa Merge "audio: QPR ver. tuning table release for Felix" into tm-qpr-dev 2023-03-31 16:13:27 +00:00
TreeHugger Robot
c9b1ceb48a Merge "audio: Merge telephony tuning tables" into tm-qpr-dev am: 6200a8c45d am: 347ad56880
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix/+/22346327

Change-Id: I7f9b653ecc4356903cfe3650cfacceaa6227685b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-30 19:18:14 +00:00
David Li
18717395f7 audio: QPR ver. tuning table release for Felix
- Optimize MBDRC settings fox improving quality in high sould pressure level, context(b/273340713)

Files from the latest attachment on b/276210360

Bug: 276210360
Test: verified by cartercheng@
Change-Id: I76619e82be9efca6a38f00df6e338ead81d069a2
2023-03-30 16:56:42 +08:00
David Li
b939b77f91 audio: Merge telephony tuning tables
Handset:
Optimizing uplink noise suppression performance for SWB
- The performance before the optimization had severe noise leakage in noisy environments(much louder than competitor), sometimes the noise was masked in near-end speech and hard to hear, which caused a bad user experience.
- Work with ForteMedia for the optimization as b/271551346

Files from the latest attachment on b/276063202

Bug: 276063202
Test: verified by huangsean@
Change-Id: Ie347214835e18a43c561166cb24c94f5062057e8
2023-03-30 12:18:13 +08:00
David Li
0d9b6419b7 audio: Merge telephony tuning tables am: b67a58e3e9 am: 5ef9600313
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix/+/22242077

Change-Id: I8bd218e8296da4a64441209c48100df6d8c28976
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-28 17:06:26 +00:00
David Li
b67a58e3e9 audio: Merge telephony tuning tables
Handset:
Optimizing noise suppression for better performance

Handsfree:
Fix the kid's voice issue(the same issue reported from C10 P10) - P0
Reducing current peak of speakerphone to avoid trigger BATOILO frequently - P1
Finetune downlink performance of speakerphone to mitigate hissing speech - P1

Headset:
Leverage uplink setting from handsfree for headphones and TTY-VCO scenario

Files from the latest attachment on b/275032306

Bug: 275032306
Test: verified by huangsean@
Change-Id: I249e8d91d4be87db167d008c1dc8a6bb777f0802
2023-03-28 13:32:43 +08: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
Jasmine Cha
715c91d0ec Merge "audio: support spatial audio for folded mode" into tm-qpr-dev am: 242b5bd885 am: da98c58d54
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix/+/21913161

Change-Id: Ia2f9b2c6dd09aa9c11a7c5162294ab44e7ddbb24
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-16 02:21:43 +00: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
Jasmine Cha
a0db6cef77 audio: support spatial audio for folded mode
Bug:272379558
Test: build pass

Change-Id: Ie1d8dcc2b88a8f1557f2c8f01b250652daf896c8
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-03-09 11:52:45 +08: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
Miller Liang
4cd6c44ca5 Merge "audio:enable mmap and raw on BT" into udc-dev 2023-02-24 11:33:44 +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
David Li
4e454fff1b audio: Merge telephony tuning tables
1.Handset
- Fine tune frequency response for the telephony report of T-Mobile.

Files from the latest attachment on b/270290106

Bug: 270290106
Test: verified by huangsean@
Change-Id: I0cd7c9eb2eadfe93b295f1669103ac36eb477026
2023-02-22 16:41:45 +08:00
Yung Ti Su
d81d9122cd audio: Merge telephony tuning tables
1.Handset
- Fine-tune AMS performance(AMS on only).
- Fine-tune the downlink performance for some failure items in objective test.
2.Handsfree
- Fine-tune AMS performance(AMS on only).
- Implement the tuning workaround for the known issue(Kid's voice).
3.Headset
- Leverage Handsfree uplink setting to TTY-VCO and Headphones.

Files from the latest attachment on b/269447151

Bug: 269447151
Test: verified by huangsean@
Change-Id: Ic65b8dc23c9f49c304b811939c8390c59bbec48b
2023-02-16 13:37:58 +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
10068623e7 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: I9ddfb9551d86dae02145175bf33778a82969734d
2023-01-13 18:13:36 +08:00
TreeHugger Robot
e9ca6d8395 Merge "audio: Prepare the DVT cirrus tuning tables" into tm-qpr-dev 2023-01-13 08:47:22 +00:00
David Li
8a9597f2da audio: Merge telephony tuning tables
1.Handset
- Adjust the AMS parameters to avoid false triggering.
- Fine-tune the downlink performance due to acoustic change in DVT.
2.Handsfree
- Optimize double talk performance.
- Fine-tune the downlink performance based on the new CIRRUS bin setting.
3.Headset
- Leverage Handsfree uplink setting to TTY-VCO and Headphones.
- Leverage Handsfree downlink setting to TTY-HCO.
4. mixer paths
- Modify the initial value of fast switch file
- Modify the D gain of the path "voice-speaker"

Files from the latest attachment on b/264972374

Bug: 264972374
Test: verified by huangsean@
Change-Id: Iba756795ec747a760b193428d6591959b902070f
2023-01-13 09:53:57 +08: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
dfb4a78b3a audio: update waves table with thermal throttle
Change List
1. Add thermal throttling to all the preset (2nd link law)
2. Include spatial audio preset (Reserved Mode)

Validation Results
 Basic function Regression
 a. Stereo playback works.

Bug: 263850065
Test: manual test

Change-Id: Id0c790a73dce1035d516f5ac413bff1dae8cc074
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2022-12-29 08:42:39 +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
Jasmine Cha
aa946e4dcb audio: update Waves tuning
<Change List>
1. Improved Piano distortion

<Validation Results>
 Basic function Regression
    a. Stereo playback works.
    b. Stereo playback works. (speaker-safe)

Bug: 262161151
Test: manual test on b/262161151#1

Change-Id: Icaec6164f47a3ef724ee1d99831f73bb000931e1
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2022-12-12 14:12:15 +08: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
2286593c72 audio: Merge telephony tuning tables
Change List :
Fortemedia - Handset
Fine-tune the downlink EQ of WB and SWB calls to avoid speech clipping
Optimize NS performance to improve voice quality

Files from the latest attachment on b/260303853

Bug: 260303853
Test: verified by huangsean@
Change-Id: I67bac456b7d490ab55d0423a8c352fb01a83b090
2022-11-24 16:19:00 +08:00
TreeHugger Robot
9f06519c78 Merge "audio: waves: support speaker spatial in audio hal" into tm-qpr-dev 2022-11-24 01:26:09 +00: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
Jasmine Cha
9f422bce5f audio: waves: support speaker spatial in audio hal
- Disable control in audio hal first.
- introduce new output mode:
 - OM:1  - Folded
 - OM:9  - Unfolded
 - OM:60 - Clamshell
 - OM:11  - Unfolded reserve
 - OM:12 - Clamshell reserve
- preset: F10_xps1109.mps

Bug: 246747873
Test: build pass

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I8baca667cc4b564984aa0c169db4a0d45412cc3d
2022-11-17 10:41:20 +08: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
TreeHugger Robot
c3d2526429 Merge "audio: Merge telephony tuning tables" into tm-qpr-dev 2022-11-14 04:31:03 +00:00
David Li
a7e7cea3a8 audio: Merge telephony tuning tables
Change List :
Fortemedia_table
Handsfree
Fine tune downlink for SWB scenario
Headset
Leverage the setting to HCO-RX (speakerphone downlink)

Files from the latest attachment on b/258743598

Bug: 258743598
Test: verified by huangsean@
Change-Id: Ia8caab037aa4bc1224ae2c96cdf6df2b058e4140
2022-11-11 12:24:01 +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
Jasmine Cha
be68b7ea3a audio: update waves preset 20221108
1. Add volume curve tuning (1st LinkLaw)

Bug: 258373582
Test: 258373582#comment1
  a. Stereo playback works.
  b. Mono playback works. (speaker-safe)

Change-Id: Ic30aa578588680addf72c06046bbe04483185e4e
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2022-11-09 16:22:44 +08: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
Jasmine Cha
f8626e8653 audio: update Waves tuning
Bug:257241890
Test: b/257241890#comment1

Change-Id: I152d8230c11690077c48f85bec61a9267453ae3a
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2022-11-04 09:42:15 +08:00
Chase Wu
86104145dc Merge changes from topic "Vibrator_manager_project_path" into tm-qpr-dev
* changes:
  [DO NOT MERGE] cs40l26: Enable vibrator manager feature
  cs40l26: Add vibrator manager support
  [DO NOT MERGE] cs40l26: using the project folder mk
  cs40l26: Move the latest vibrator HAL to device
  vibrator: Separate the audio coupled haptics setting
2022-11-03 07:36:38 +00:00
David Li
56f695f0f6 audio: Merge telephony tuning tables
Change List :
Fortemedia_table
Handset
>>Fix the AMS function false alarm
>>Fix the EC/NS on or off in VoIP, b/255491783
Handsfree
>>Optimize downlink tuning for better listening quality
>>Fix the EC/NS on or off in VoIP, b/255491783
Headset
>>Leverage Handsfree uplink to TTY-VCO, Condor-Headphones
>>Leverage Handsfree downlink to TTY-HCO

Files from the latest attachment on b/256978669

Bug: 255491783
Bug: 256978669
Test: verified by huangsean@
Change-Id: Ie0f410b1de26962ba57198e250e63763f3cf22af
2022-11-02 15:11:13 +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