note: Add initial value for kctrls to avoid unexpected events during hal restart
Test: Test by pts/audio and result is pass
Bug: 222601717
Change-Id: I35a086bbc7c31082e0c44d9cdd5b75ac4a2bf0cc
note: remove unused kctls from mixer_paths_bolero_snd.xml and sound_trigger_mixer_paths.xml to avoid error messages showed during initialization
Bug: 184149926
Test: push xml files and reboot to see if the sound card bring up successfully or not(10 times)
Change-Id: I6bd52456a6d7ecda27025a527ff6a687ec990824
note: remove unused kctls from audio_platform_info.xml and fix error that platform_get_snd_device_index will be out of range to avoid error messages showed during initialization
Bug: 184822984
Test: reboot to see if the sound card bring up successfully or not(10 times)
Change-Id: Ic80e9fed1e8fe6f0be867bb81be9028f301c0f71
Add id attribute into the control ADCx Capture Volume.
Bug: 185443843
Test: Audio function simple tests.
Change-Id: If64a7fe36bfd0c23d3aa22b5750d32adcca3fdd6
Updated audio policy manager configuration files to comply
with the changes in the XML schema. This was done automatically
by running the following commands:
hardware/interfaces/audio/7.0/config/update_audio_policy_config.sh \
device/google/redfin/audio/audio_policy_configuration.xml 6.0
hardware/interfaces/audio/7.0/config/update_audio_policy_config.sh \
device/google/redfin/audio/audio_policy_configuration_a2dp_offload_disabled.xml 6.0
hardware/interfaces/audio/7.0/config/update_audio_policy_config.sh \
device/google/redfin/audio/audio_policy_configuration_bluetooth_legacy_hal.xml 6.0
Note: since bluetooth_hearing_aid_audio_policy_configuration.xml is
shared across all redbull-based devices, this file had to be
temporarily copied to device/google/redfin/audio before upgrading.
Bug: 142480271
Test: atest VtsHalAudioV7_0TargetTest
Test: atest VtsHalAudioEffectV7_0TargetTest
Change-Id: I1bd864019c417e6118a90dc1f45d97ae4e6c5d6e
Mixer Path:
Move the speaker-mic path to behind the speaker-dmic-endfire path.
Bug: 176338594
Test: Enable the live transcribe. Check the path switches to speaker-mic in logcat. The function live transcribe works.
Change-Id: Iffeed13a7557d6d0011a80583fd063ceee03c894
Add flag AUDIO_OUTPUT_FLAG_GAPLESS_OFFLOAD to explicitely indicate support
for gapless transitions for offload output profiles in audio policy
configuration file.
Bug: 158191844
Test: atest AudioTrackOffloadTest
Change-Id: I711f5677075e8a0f33c951656c8a019255e2f41c
barge-in path will turns off unexpectedly by other
record usecase. Use different dapm control to prevent it.
Bug: 170364233
Signed-off-by: yixuanjiang <yixuanjiang@google.com>
Change-Id: I87dcc0173de4c2d43408fddd91db7c9015b9e493
barge-in path will turns off unexpectedly by other
record usecase. Use different dapm control to prevent it.
Bug: 170364233
Signed-off-by: yixuanjiang <yixuanjiang@google.com>
Change-Id: I87dcc0173de4c2d43408fddd91db7c9015b9e493
Changelist:
1. HANB/WB Fine tune for carrier requirement
FM: FDEQ @max-2 vol
2. HAWB Fine tune
FM: FDEQ @ nom vol
VOL: nom vol.
3. Update AGC tuning parameters in use case ID 61~66
Bug: 165875970
Test: Verified by H/W
Signed-off-by: Jason Hsu <jasonchhsu@google.com>
Change-Id: Ifaf96ce2b87a21e3f5b64a37dec952c0d548732d
Change list is as below:
- Update the SURREC / MicGain / IIR / AGC / MBDRC in CAMCORDER use case ID 61~66
Bug: 162490183
Test: Verified by H/W
Signed-off-by: Jason Hsu <jasonchhsu@google.com>
Change-Id: I3f75d3edb5ee5d1e1bb8b558348e902670c17ae7
Change list is as below:
1. acdb id [55/56] NB/WB/SWB TX parameters
Bug: 161513832
Test: Verified by H/W
Signed-off-by: Jason Hsu <jasonchhsu@google.com>
Change-Id: I0fcfe5bca3e5f546fd216ea4833d0a3bd021b772
Change list is as below:
1. HAFB SFR fine tune
2. De-vibration tuning on concurrency (playback + call volume)
3. Verizon Handset adjustment
HANB RFR (CDMA only)
HHNB SFR (CDMA only)
4. Camcorder parameters updates
- Update the SURREC parameters in camcorder use case 61~63
- Update the IIR parameters in camcorder use case 61~63
- Update the MBDRC parameters in camcorder use case 61~66
Bug: 161427466
Test: Verified by H/W
Signed-off-by: Jason Hsu <jasonchhsu@google.com>
Change-Id: I9b762491cf7aa9efee3df6a4ba3cea316003ded3
- Disable WNR module in GENERAL_RECORDING APPTYPE for ACDB ID 61~66
Bug: 160764892
Test: Verified by H/W
Signed-off-by: Jason Hsu <jasonchhsu@google.com>
Change-Id: I11d1c655b097de1042561fbcabcb370e758337eb
AudioTrack/AudioRecord timestamps are off by 30ms
when tested with the Clarity app
Bug: 158430162
Test: Manual test with Clarity apk
Signed-off-by: millerliang <millerliang@google.com>
Change-Id: I5ce5027badcf4de9f5047936a3575baef421d26c
Changes are
- PICL enabled.
- Correct values entered so that this will operate as a default calibration file for service centers
Bug: 153562615
Test: manual audio tests
Signed-off-by: juyuchen <juyuchen@google.com>
Change-Id: I299a311ef22dde2909b83442d708cc29a62f235a
This reverts commit 845e4be94dd6617f9061bd98ee062ce7de17fefe.
Reason for revert: The tuning for vibration control is done.
Bug: 155831461
Test: Verify by H/W
Change-Id: I8adc2df69bc46f0a90bcd0c8687124454f126db7
Change list is as below:
1. Handsfree SWB
- RX modify DRC
- BVE on
2. BTNB / BTNB-NREC / BTWB / BTWB-NREC Uplink
- WB IIR: modify for SFR
3. Handset Smoothing tuning Downlink
- HANB: max-1 / max-2
- HAWB: max / max-1 / max-2
- HASWB: max-1 / max-2
4. Camcorder
- Upgrade the WNR version from 1.0.2 to 1.0.6
- Update the WNR parameters in camcorder use case ID 61~66
- Update the SURREC parameters in camcorder use case ID 61~66
- Update the IIR parameters in camcorder use case ID 61~66
- Update the Mic Gain parameters in camcorder use case ID 61~63
Bug: 159768812
Bug: 156513851
Test: Verified by H/W
Signed-off-by: Jason Hsu <jasonchhsu@google.com>
Change-Id: I663d41fe87e528aa2ec478744142806aee2086ba
audio_platform_info.xml:
Modify Record acdb id path
<device name="SND_DEVICE_IN_USB_HEADSET_MIC" acdb_id="44"/> => From 4 to 44
<device name="SND_DEVICE_IN_VOICE_RECOG_USB_HEADSET_MIC" acdb_id="143"/> => New add
ACDB:
1. HAC FB fine tune from Annie
2. HE Recording (acdb id :44) modify
- Change Recording topology to AUDIO_TX_MONO_COPP_MBDRC_V4
- Apply parameter, 18dB gain in Audio Mic gain , and pre-gain set to 0x1 in IIR
Bug: 158717246
Test: Verified by H/W
Signed-off-by: Jason Hsu <jasonchhsu@google.com>
Change-Id: I2fd20bdccd344807b4b98ec389088318345ff5b9
1. For mixer_paths_noextcodec_snd.xml,
a. Change gain setup from 0dB(value 23) to 22dB(value 52) of path name "voice-rec-mic".
b. Add strings for gain visibility of path name "handset-stereo-dmic-ef".
c. Change gain setup from 13dB(value 40) to 22dB(value 52) and add strings for gain visibility of path name "voice-rec-dmic-ef".
d. Change gain setup from 0dB(value 23) to 22dB(value 52) of path name "three-mic".
e. Change gain setup from 0dB(value 23) to 5dB(value 30) and add strings for gain visibility of path name "unprocessed-mic".
f. Change gain setup from 13dB(value 40) to 5dB(value 30) and add strings for gain visibility of path name "unprocessed-stereo-mic".
g. Change gain setup from 0dB(value 23) to 5dB(value 30) and add strings for gain visibility of path name "unprocessed-three-mic".
2. For audio_platform_info_noextcodec_snd.xml,
a. Apply acdb id_144 for SND_DEVICE_IN_VOICE_REC_DMIC_STEREO.
b. Update "microphone_characteristics" and "input_snd_device_mic_mapping" to fit R3 configurations.
Bug: 145244105
Test: Verified by H/W
Signed-off-by: Jason Hsu <jasonchhsu@google.com>
Change-Id: I5cc6c87c0a4cf100e993fce1906a253966bc564c
The change list is as below:
1. Enable BVE at HANB/WB/SWB
2. Adjust HASWB Nom FDEQ for RFR
3. Adjust HAC FB
4. Recording (HA_Tri_Mic id46)
- disable all effect
5.Camcorder
- Import the WNR module into ACDB.
- Add the WNR module in the camcorder use case ID 61~66.
6. optimize PTL MPPS in id 513
Bug: 158043299
Test: Verified by H/W
Signed-off-by: Jason Hsu <jasonchhsu@google.com>
Change-Id: Ia3bb5766e216419090b15549b140c3372a7178ed
Changelist:
- update the IIR parameters for ACDB ID 61~66
- update Mic gain for ACDB 61~63
- update the MBDRC parameters for ACDB ID 61~66
Bug: 157112078
Test: Verified by H/W
Signed-off-by: Jason Hsu <jasonchhsu@google.com>
Change-Id: Ib38e5eeb06460df326df88d771e00bd5b59dd34b
Change list:
1. WAV PTL topology added in id 513
2. No mic HE volume table update
3. HANDSET_TRI_MIC (ID46)
- change TOPO into AUDIO_TX_MONO_COPP on GENERAL_RECORDING app types
- Set the mic gain and IIR & MBDRC parameters for three mic recording
4. For HANDSET_MIC_STEREO (ID34)
- keep preGain_settings[0] & preGain_settings[1] in IIR module as "1" and set others as "0"
5. HA WB/SWB/FB Robustness
6. HAFB (voip) NS optimization
Bug: 156719506
Test: Verified by H/W
Signed-off-by: Jason Hsu <jasonchhsu@google.com>
Change-Id: I18e217de12336dddcb3c9d61ec7a9dfc933544f9