Commit graph

110 commits

Author SHA1 Message Date
vincenttew
38f0d70aa2 audio: update recording tuning table
Change list ver 4.0 for EVT 1.1 :
1. Spatial audio calibration for EVT 1.1
2. MIC path IIR
3. PGC update parameters based on rms-baed calculation
4. update template.xml with SNS(off) on MIC

Bug: 324162417
Bug: 324162415
Bug: 324160489
Change-Id: Ic3ce060a0a478183ac8440f8da0a7b88170f1065
Signed-off-by: vincenttew <vincenttew@google.com>
2024-02-07 18:19:18 +08:00
Carter Hsu
6c1380bafc Merge "audio: 2024/02/02 Fortemedia table" into main 2024-02-06 01:58:51 +00:00
David Li
c0e1a53e61 audio: refactor spatializer offload playback
Bug: 307842941
Test: manual test
Change-Id: I7487b3c0359098171e6da6759c28b9ed5f8fbff1
2024-02-05 13:59:09 +00:00
Carter Hsu
05c94614af audio: 2024/02/02 Fortemedia table
<changelist- FM table>
"TK4
- Handset (Ricky)
1. HA all BWs Disable AMS
2. HA WB Rx FNS level from 0x0006 to 0x000F for CCA BWE
- Handsfree (Ricky)
1. HH all BWs Disable AMS
2. HH WB Rx FNS level from 0x0006 to 0x000F for CCA BWE
3. HH all BWs Adaptive NS thd (index397) set to 0x0190
4. HH all BWs Disable LPF
- Headset (Gene)
1. HE WB Rx FNS level from 0x0006 to 0x000F for CCA BWE
KM4
- Handset (Ricky)
1. HA all BWs Disable AMS
2. HA WB Rx FNS level from 0x0006 to 0x000F for CCA BWE
- Handsfree (Ricky)
1. HH all BWs Disable AMS
2. HH WB Rx FNS level from 0x0006 to 0x000F for CCA BWE
3. HH all BWs Adaptive NS thd (index397) set to 0x0190
4. HH all BWs Disable LPF
- Headset (Gene)
1. HE WB Rx FNS level from 0x0006 to 0x000F for CCA BWE

CM4
- Handset (Duncan)
1. HA all BWs Disable AMS
2. HA WB Rx FNS level from 0x0006 to 0x000F for CCA BWE
- Handsfree (Duncan)
1. HH all BWs Disable AMS
2. HH WB Rx FNS level from 0x0006 to 0x000F for CCA BWE
- Headset (Gene)
1. HE WB Rx FNS level from 0x0006 to 0x000F for CCA BWE"

<change list - audio platform>
Enable stereo for BT VoIP

Bug: 323464302
Test: Verified by Acoustic team
Change-Id: I486d589eca68108a82dc071bb68a57fc39222eef
Signed-off-by: Carter Hsu <carterhsu@google.com>
2024-02-05 06:32:13 +00:00
Carter Hsu
31b17727a0 Merge "audio: enable SoundDose on AIDL HAL" into main 2024-02-05 06:12:39 +00:00
Treehugger Robot
04225f6c9c Merge "audio: update waves tuning and volume curve" into main 2024-02-05 02:26:32 +00:00
Carter Hsu
75fc34c8ca Merge "audio: enable BWE" into main 2024-02-05 02:22:30 +00:00
Carter Hsu
fb4a7dbc0f audio: enable SoundDose on AIDL HAL
Bug: 315915954
Test: atest CtsMediaAudioTestCases:android.media.audio.cts.SoundDoseHelperTest
Change-Id: I4ca8a8f975fbf0ce17f4b4234bfb47868a06d26d
Signed-off-by: Carter Hsu <carterhsu@google.com>
2024-02-05 01:25:39 +00:00
Jasmine Cha
761eba7c20 audio: update waves tuning and volume curve
Bug: 323256159
Bug: 323259548
Bug: 323259548
Test: manual test

Change-Id: Ic3e27dd911b1036dbd893d98ecb089d16e7835be
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2024-02-02 06:35:36 +00:00
Carter Hsu
2ed8c88e4d Merge "audio: 2024/01/29 Fortemedia table" into main 2024-02-01 01:55:54 +00:00
Treehugger Robot
9ac8092dc6 Merge "audio: fix record tuning" into main 2024-01-30 10:12:51 +00:00
Jasmine Cha
4db0307c1d 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/voice record with bluenote

Change-Id: I5057762e172ca35367a1929c67f3d364feece00c
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2024-01-30 16:58:11 +08:00
Carter Hsu
a394f5bff6 audio: 2024/01/29 Fortemedia table
<Change list>
KM4
- Handset (Owen)
1. Rx: Modify NB/WB/SWB DRC Limiter THR to -3dB(5A90)
2. Copy 1 from Generic to RX co-used cases ( T-mobile / Reserve2).

- Handsfree (Owen)
1. Rx: Modify NB/WB/SWB DRC Limiter THR to -4dB(5000)
2. Copy 1 from Generic to Rx co-uaed cases (RX: HH Reserve2_SWB / TTY-HCO wo/wi Reserve2_SWB).
3. Modify NB/WB/SWB/RESERVE2 Rx DRC LIMITER_THRD from -1dB(7214) to -2.5dB(6000)

- Headset (Gene)
1. Modify HE WB/SWB NS parameter

TK4
- Handset (Ricky)
1. HA WB/SWB RX volume curve fine tuned.
2. HA SWB NS updated
3. Sync Genric parameter to other
- Handsfree (Ricky)
1. HH WB/SWB RX volume curve fine tuned
2. HH WB/SWB TdDRC limiter thrd fine tuned (0x5A9D) to prevent FIR abnormal output
3. HH WB/SWB NS updated
4. Sync Generic paramter to other

- Headset (Gene)
1. Modify HE WB/SWB NS parameter

CM4
- Headset (Gene)
1. Modify HE WB/SWB NS parameter

Bug: 322721373
Test: Verified by Acoustic team
Change-Id: If1be8b2d04f6e50ff29ebce6638a749d2a5c73ad
Signed-off-by: Carter Hsu <carterhsu@google.com>
2024-01-30 08:25:05 +08:00
Jasmine Cha
c94fe9ae9d audio: enable CCA BWE
Bug: 320802286
Test: manual test

Change-Id: Ia4b3954a40e57458a71f1d935a2bd261a621933a
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2024-01-29 11:05:50 +08:00
Carter Hsu
68a4288225 audio: enable BWE
Bug: 320802286
Test: build pass
Change-Id: Ib458dd8a63628e3138b016fd71dfb27365b5f531
Signed-off-by: Carter Hsu <carterhsu@google.com>
2024-01-29 01:48:18 +00:00
yixuanjiang
f5868bbbd0 audio: recording tuning table for EVT1.0 device
Update recording.gatf for SNS params since remove linear gain value
Update template.xml for CHRE part
[Details]
1. update SNS tuning parameters for EVT 1.0 device because of gain removal in front.
2. remove one line in template.xml for CHRE part
   <param id="297" name="chre_gain" type="uint32"/>

Bug: 322446230
Bug: 322446226
Bug: 322445774
Test: verify by darrenyen@
Change-Id: I8554d65538200be288ad74a37d488fe9fbc19bbe
Signed-off-by: yixuanjiang <yixuanjiang@google.com>
2024-01-26 10:00:15 +00:00
Rios Kao
75b632cdb6 caimito: remove useless command in smartfeature.
note: - The old tuning file has deprecated commands which removed
       from firmware already. That would casue gtest failure.
Bug: 322291792
Test: run aoc_sound_trigger_adapter_test and verify the value from
      aoc interface.
Change-Id: I5a332f271cdfa5ec5dcf6c6c45b077ba447da18d
2024-01-25 09:14:27 +00:00
Treehugger Robot
684a7ee7ca Merge "audio: align mixer paths and add missing paths" into main 2024-01-23 08:27:50 +00:00
Carter Hsu
6fdac3d3f6 Merge "audio: 2024/01/22 Fortemedia table check in" into main 2024-01-23 03:03:21 +00:00
David Li
a43128dd4d 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: I669e69774fc90577ba1a056ec4ca36a25196fcf7
2024-01-23 10:47:27 +08:00
Treehugger Robot
2bd297d015 Merge "audio: Update recording.gatf & template.xml for AZ2.1/PGC format" into main 2024-01-22 12:28:51 +00:00
Carter Hsu
c25bb4524c audio: 2024/01/22 Fortemedia table check in
<Change list:>
"TK4
- Headset  (Gene)
   Modify TX/RX DRC gain on CONDOR_CERTIFICATION1-VOICE_GENERIC-WB / SWB for the CCAv3 BWE feature.

CM4
- Headset  (Gene)
   Modify TX/RX DRC gain on CONDOR_CERTIFICATION1-VOICE_GENERIC-WB / SWB for the CCAv3 BWE feature.

KM4
- Headset  (Gene)
   Modify TX/RX DRC gain on CONDOR_CERTIFICATION1-VOICE_GENERIC-WB / SWB for the CCAv3 BWE feature.

- Handset (Owen)
1. Rx: Modify WB(Vol-0)/SWB(Vol-0 to Vol-5) Vol Step SpkVol gain, SWB DRC gain(10.8dB)&EQ, and NB DRC gain(8dB Vol-0 to Vol-5).
2. Copy 1 from Generic to RX co-used cases ( T-mobile / Reserve2).

- Handsfree (Owen)
1. Rx: Modify WB(Vol-0 to Vol-5)/SWB(Vol-5) Vol Step SpkVol gain, modify SWB DRC gain(14dB), and correct SWB THRD(Slant_0=0000 Vol-0).
2. Copy 1 from Generic to Rx co-uaed cases (RX: HH Reserve2_SWB / TTY-HCO wo/wi Reserve2_SWB).
3. Modify NB/WB/SWB/RESERVE2 Rx DRC LIMITER_THRD from -1dB(7214) to -2.5dB(6000)"

Bug: 321595934
Test: Verified by Acoustic team
Change-Id: Iacfc247fffad921ade7ab50f141d29dca3b595d4
Signed-off-by: Carter Hsu <carterhsu@google.com>
2024-01-22 14:58:10 +08:00
David Li
1e3c013eca audio: add path for voice call over BT heaing AID
Bug: 319182435
Test: manual test
Change-Id: Ib38477c7e45e34e66f369751b533260fa4cd4b8f
2024-01-21 15:10:53 +08:00
David Li
f87be8d9af Merge "audio: add offloaded spatializer use case" into main 2024-01-21 04:31:26 +00:00
yixuanjiang
d0ef2cb6be audio: Update recording.gatf & template.xml for AZ2.1/PGC format
[Details]
1. update SUR tuning parameters for EVT 1.0 device and using AZ2.1 format.
2. manual fill-in Mic COMP EQ in IIR1 module before Mic COMP ON
3. update PGC template and syne with the latest parameters

Bug: 321164880
Bug: 321164128
Bug: 321164775
verify: HW wjacky
Change-Id: I1375b75570d7aa837d000324059339b282f2bf41
Signed-off-by: yixuanjiang <yixuanjiang@google.com>
2024-01-19 10:08:05 +00:00
David Li
9790519457 audio: add offloaded spatializer use case
Bug: 307842941
Test: n/a
Change-Id: I072f7642baea2c7b32bca7eba31cdbe4a82cd3b4
2024-01-19 17:48:36 +08:00
Treehugger Robot
ce61883be2 Merge "audio: enable using wb tuning for nb voice" into main 2024-01-17 09:23:32 +00:00
Carter Hsu
c53cc93d0b Merge "audio: FM tuning 20240111" into main 2024-01-16 07:06:58 +00:00
Jasmine Cha
7f8c50ba5c audio: enable using wb tuning for nb voice
Bug: 314707600
Test: manual test - making phone call and check log

Change-Id: I4d11bf1ed8db3604843ff79cb5775a292a0da1aa
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2024-01-16 14:20:18 +08:00
Carter Hsu
eb3fdfc901 Merge "audio: apply WB tuning for voice NB" into main 2024-01-16 05:50:37 +00:00
Yung Ti Su
ed182b9342 Merge "add immersive output for ble devices" into main 2024-01-15 09:32:35 +00:00
Carter Hsu
bf793ac56a audio: apply WB tuning for voice NB
Bug: 314707600
Test: Verified by test build
Change-Id: I3be83364d538094fb414259ebd2b333f969ddd28
Signed-off-by: Carter Hsu <carterhsu@google.com>
2024-01-15 01:30:41 +00:00
Carter Hsu
7f826653b8 audio: FM tuning 20240111
<Change list:>
KM4 (Owen)
 - Handset mode
    1. Tx NB/WB/SWB DRC/EQ and Rx NB_EQDRC/WBSWB_DRC in Voice_Generic for SLR/SFR
    2. Tx NS NB/WB/SWB tuning settings 1228v2/v2/v1 in Voice_Generic for 3QUEST
    3. Rx NB EQ/DRC and WB/SWB DRC in Voice_Generic for TIA-5050 and RLR
 - Handsfree mode
    1. Tx SWB EQ & NB/WB/SWB AEC in Voice_Generic for SLR/SFR & ECDT
    2. Tx NS NB/WB/SWB tuning settings 1227v2 in Voice_Generic for 3QUEST
    3. Rx NB/WB Vol and SWB EQ/DRC/Vol Voice_Generic for Distortion/RFR/RLR

KM4/CM4/TK4 Headset  (Gene)
    - Align TX PGA gain setting for all mode for AMS
    - Align Condor WB RX and Condor Headphone WB RX

KM4/CM4/TK4 Bluetooth (Gene)
    - Align TX PGA gain setting for all mode for AMS

Bug: 319579984
Test: Verified by Acoustic team
Change-Id: If104d273fb91e5eedf167a4c22522155b124a77b
Signed-off-by: Carter Hsu <carterhsu@google.com>
2024-01-15 09:19:53 +08:00
Treehugger Robot
64953ac8ca Merge "audio: add the gapless flag" into main 2024-01-11 00:24:26 +00:00
Juyu Chen
7b42fc8cc8 audio: add the gapless flag
Bug: 300202082
Test: manual audio test
Change-Id: Iad0bc5ba7d3ea41bb8671ced07fd373399bbe6e8
Signed-off-by: Juyu Chen <juyuchen@google.com>
2024-01-10 07:31:00 +00:00
Yung Ti Su
c279dafbe9 add immersive output for ble devices
Test: manual

Change-Id: Ibdb6aebece66937091466a348ec31cbe3626d46a
Signed-off-by: Yung Ti Su <andysu@google.com>
2024-01-10 05:50:43 +00:00
Treehugger Robot
ea95293455 Merge "[HDMI Audio] Add mixer paths for HDMI path." into main 2024-01-05 04:03:23 +00:00
Poomarin Phloyphisut
50346315f2 [HDMI Audio] Add mixer paths for HDMI path.
Test: Local test.
Bug: 309696512
Change-Id: If6a3b46a28c661dd0cc0737b1b44ad9aa562fe65
2024-01-05 03:07:47 +00:00
Carter Hsu
24dc262886 audio: add default value for hac amp control
Bug: 311336668
Test: build pass
Change-Id: Iab549b289486f45c7606de96917f5d6ee46b68be
Signed-off-by: Carter Hsu <carterhsu@google.com>
2024-01-04 10:00:53 +08:00
Jasmine Cha
895d1dfce7 audio: enable speaker power data and spk compensation
Bug: 300604249
Test: manual test - playback/ make voice call in spk mode.

Change-Id: I72799afd0a63a336b76cd70eb12ecd5a03a54bb5
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2024-01-03 17:13:14 +08:00
Treehugger Robot
50711c7965 Merge "audio: update telephony tuning" into main 2023-12-29 09:01:54 +00:00
Jasmine Cha
ed7a1dc89b audio: update telephony tuning
TK4:
- HH NB/WB/SWB EC/ECDT performance imporve updated
- HA NB BVE fine tuning
- HA NB/WB/SWB (including SWB) Batch copy from generic to co-use
  user cases (TX: T-mobile / HAC / T-mobile-HAC, RX: T-mobile)
- HH NB/WB/SWB (including SWB) Batch copy from generic to co-use
  user cases (TX: TTY-VCO/BT-HAC/Headphone, RX: TTY-HCO)
- HA NB RX (max)(max-1) FdEQ modify for HAC TIA-5050

CM4:
  - Handset mode: Voice_Generic MaxVol EQ optimization for TIA-5050
  - Handsfree: EVT Fine-tuning for downlink

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

Change-Id: I699ffe32e3bd79ab6d65ecefcf3b96d8a3792cf9
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-12-29 08:27:04 +00:00
Rios Kao
3948dd2dce Merge "caimito: add smartfeature table." into main 2023-12-29 06:10:50 +00:00
Rios Kao
8ee4d26d1c caimito: add smartfeature table.
Test: Build Pass
Bug: 317851039
Change-Id: I6ba25ab51aca9e9159a1c4b85cd03dd4f15036e4
2023-12-28 09:25:38 +00:00
Rios Kao
b6d3a41654 Merge "caimito: fix aidl microphone mixer table" into main 2023-12-28 08:39:58 +00:00
Rios Kao
27c6791727 caimito: fix aidl microphone mixer table
Test: build pass
Bug: 317683880

Change-Id: I7995787643c21e2e29a39ffa45acc873298c21e4
2023-12-28 07:56:11 +00:00
Treehugger Robot
be237dd43c Merge "audio: use USE_AUDIO_HAL_AIDL instead flag variable" into main 2023-12-28 01:48:33 +00:00
Carter Hsu
38bf78a601 Merge "audio: support incall capture dl/ul concurrent recording" into main 2023-12-26 09:56:18 +00:00
Jasmine Cha
175b8e774e audio: use USE_AUDIO_HAL_AIDL instead flag variable
The value of USE_AUDIO_HAL_AIDL is defined in project settings which decide when to use aidl or hidl hal. So, correct audio tables can be included properly.

Bug: 317444263
Test: boot to home, check basic audio functions

Change-Id: If14c782bdd548f07b42b5e710236de9f20a6ac4d
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-12-26 03:01:00 +00:00
Carter Hsu
09c53b18c1 audio: support incall capture dl/ul concurrent recording
Bug: 317726514
Test: Verified by test build
Change-Id: I872fa7a8dd4f6877efd2b5aa09203c34ccf43f5e
Signed-off-by: Carter Hsu <carterhsu@google.com>
2023-12-26 00:58:47 +00:00