Commit graph

39 commits

Author SHA1 Message Date
Michael Bestas
1a92846db4
felix: Remove userdebug/eng configuration
Change-Id: I3739e6e099681c667c80723f0f6e3197923ff762
2025-06-26 10:19:52 +03:00
David Li
f5f21622cb audio: Merge telephony tuning tables
Handset:
Align all the Handset parameters from previous version of FM lib.

Handsfree:
Improve muffle speech quality in Handsfree-SWB call
Optimize double talk performance in SWB calls
Fix the kid's voice issue

Headset:
Leverage the Handsfree modification to Headphones uplink and TTY VCO
Align all the Headset parameters from previous version of FM lib.

Bluetooth
Leverage the Handsfree modification to BT HAC uplink
Align all the Headset parameters from previous version of FM lib.

Files from the latest attachment on b/296168451

Bug: 278477187
Bug: 290649264
Bug: 284070021
Bug: 296168451
Test: verified by huangsean@
Change-Id: I265857ab3b814fe615d61467c68f38f5da61360d
2023-09-06 15:04:51 +08: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
Rios Kao
537ad768a0 audio: add smartfeature table for chre tuning
note: add smartfeature.gstf that only used for Hotword
      pipeline in AoC which is sharing to chre usage too.

      On WHI_PRO
        CHRE PDM Gain(gain=158)
        CHRE AEC Gain(gain=-42)
        CHRE SRC AEC Timeout(timeout=0)
      This table also contains hotword gain control as
      Non Eraser gain (gain=220)
      Eraser Post Gain (gain=220)

Test: end-to-end verify by CHRE
      using aoc_audio_cfg to query gain as below

      adb shell aoc_audio_cfg hotword_get_non_eraser_gain
      adb shell aoc_audio_cfg hotword_get_eraser_post_gain
Bug: 271078701

Change-Id: I2689c5d0949677e9c29a9defb4d9333711e811b4
2023-04-27 03:57:21 +00:00
David Li
d3bb6acd48 audio: Merge telephony tuning tables
Handset:
[VZW] Mitigate the hissing speech on earpiece - P1

Handsfree:
[TMO] Optimize the distortion performance which is requested by T-Mobile reviewer - P1

Files from the latest attachment on b/277680627

Bug: 271600161
Bug: 257908564
Test: verified by huangsean@
Change-Id: Idf0a99bdcdbcde991de01e8bf146639245038ce8
2023-04-19 07:14:02 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
Jasmine Cha
15b844bd9b audio: initial waves tuning
<Change List>
1.  Initial tuning for F10 EVT Stage

Bug: 255458384
Test: LR mix/swap, 255458384#comment1

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: Ia87c9cbb7c1cef83306dc0ba61cb2eddda9901e5
2022-10-25 11:14:04 +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
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
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
e51183b246 audio: update FM tables
BLUETOOTH - The same
HEADSET - Modify TTY-HCO with P7 Downlink parameters
HANDSET - Modify all downlink settings with P7 parameters
HANDSFREE - Modify all downlink settings with P7 parameters

Bug: 235952749
Test: verified by @huangsean@google.com
Change-Id: I5ceed0fee9d07252090a63599f5b363930ab4f1f
2022-06-20 09:16:25 +00:00
Carter Hsu
6ab2705aa1 audio: update Fortemedia VoIP condition to reserve2
Bug: 226869868
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I3917a43c265dfd8ecfcbc3535ca79fffac1ceb5a
2022-05-09 03:25:13 +00: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