Reason:
- Optimize audio zoom quality in camcorder
- Add tuning parameters to fit single band DRC modification in AOC (b/198128358)
Change list:
Update recording.gatf file for modifing audio zoom tuning parameters
Update template.xml file to select single band DRC reference channel
Validation:
3rd party camcorder/recorder and GCA function are good and validation was used SD1A.210817.019.A7 (7719665)
Bug: 201031972
Test: forrest build
Change-Id: I45cf7dcb0edbd38d0041e3112d88ce29cefacb2f
Change the period size of VoIP Record to 20ms.
Otherwise it will apply fast capture.
Fast capture timestamps are not supported yet.
Bug: 196912510
Test: Build pass
Change-Id: I6434a7596880712efa7cbfa03b3480efb5e2c2aa
Telephony downlink ASRC should be enabled for USB. See b/173577733.
Otherwise the downlink ring buffer will underflow or overflow
Bug: 199230403
Test: Local build + Telephony test for five minutes: No glitch observed.
Signed-off-by: Roger Fang <rogerfang@google.com>
Change-Id: Ifbcd9252c97a7f794e0b142e69faf1b0f3041098
- changes volume 1,2,3,4,5 (due to a sound quality noise floor issue)
Bug: 198224217
Test: manual power test (b/198224217#comment21)
Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: Ied7e88ad941e8a13e2080da6e2897b9541966dd0
R4O6
Update camcorder tunings files for FRC
Reason:
- The SA-lite pipeline is used for 3rd party camcorder/recorder and
need to be updated tuning for audio quality (b/185293492)
- There is e-Noise issue could be noticed when using 3rd party
camcorder/recorder
Change list:
Update audio_platform_configuration.xml file so that parameters in
SA-lite pipeline can be loaded correctly
Update template.xml file to enable feature swapping microphone
assessment in SA-lite pipeline
Update recording.gatf file for modifing tuning parameters
Validation:
3rd party camcorder/recorder function are good and validation was
used SD1A.210817.007 (7665414)
Bug: 197492283
Test: forrest build passed
Change-Id: Ifc66519c92935dc4bd14d68a85a491f96429272a
///R4
1. HHNB/WB/SWB double talk fine tune with v5.3.11 lib fix
2. Headset TTY VCO: sync the latest of HH TX
3. Headset Headphone : sync the latest of HH TX
4. BT HAC : sync the latest of HH TX
5. Headset FB tuning for NS
///O6
1. HHNB/WB/SWB double talk fine tune with v5.3.11 lib fix
2. Headset TTY VCO: sync the latest of HH TX
3. Headset Headphone : sync the latest of HH TX
4. BT HAC : sync the latest of HH TX
5. Headset FB tuning for NS
Bug: 197716271
Test: manual test
Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I6376ce7da579dcda09c6077182cd82c6fb2c2efb
Release Notes (R4):
- Retune top volumes for more balanced sound, less harsh
- Heavy emphasis on vocals, both depth and clarity
- DTMF volume curve reduced to better align w/ O6, F2, C2, B9
- SYSTEM volume curve reduced to better align touch sounds
- SYSTEM volume curve copied into AUDIBLE volume curve
Release notes (O6):
- Camera shutter (system sound) decreased volume curve to better align w/ R4/B9 and F2/C2
- Slight adjustment at min vol point for DTMF
- SYSTEM volume curve reduced to mitigate loud camera shutter
- SYSTEM volume curve copied into AUDIBLE volume curve
Bug:190960105
Test: High level tuning validation (b/190960105#comment15)
Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: Icf0c9e921017b5e06ec950452a78a9d89acf86f2
Update below stream's volume curves to refine system sound output
from speaker too loud in the lowest volume.
<volume stream="AUDIO_STREAM_SYSTEM" deviceCategory="DEVICE_CATEGORY_SPEAKER">
<volume stream="AUDIO_STREAM_RING" deviceCategory="DEVICE_CATEGORY_SPEAKER">
<volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_SPEAKER">
<volume stream="AUDIO_STREAM_NOTIFICATION" deviceCategory="DEVICE_CATEGORY_SPEAKER">
<volume stream="AUDIO_STREAM_DTMF" deviceCategory="DEVICE_CATEGORY_SPEAKER">
Refine audio-tables.mk location to make sure the xml is updated.
Bug: 195387287
Test: QMC verified
Test: Local built and verified vendor/etc/audio_policy_volumes.xml is correct one
Signed-off-by: Robert Lee <lerobert@google.com>
Change-Id: I13188d7470092448a2660f89d43cf13a56c22edc
HAL can get the device latency from bluetooth headset.
We just to set the latency of the device side.
Bug: 195166550
Test: av sync
Change-Id: Id64b7ea796ddc4de996817d0553f1855b4d9485a
///R4
1. HHSWB BVE fine tuning ( by new FM lib fixed - b/194775936)
///O6
1. HHSWB BVE fine tuning ( by new FM lib fixed - b/194775936)
Bug: 194775936
Test: manual test
Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I25a740c49ed85c0ac07dce6475af95453c126bad
Bug: 194169487
Test: Test Diagnostic Tools microphone test
Signed-off-by: Robert Lee <lerobert@google.com>
Change-Id: Ice468e91591f5e552e733d187ade86e76896c5b5
For raw playback, the buffer size needs to equal to the
ring buffer size. AoC changes the buffer size to 16384 bytes,
but it cannot be divisible by 48(1ms frames with 48000 sample rate).
Use the period size(frame couts) from configuration file.
Bug: 194398677
Test: OboeTester->TEST OUTPUT
Change-Id: I07f0cb7d5904e4e3ef78b9a15d31590fdd5a9087
///R4
1. Headset fine tuning for QoE issue (b/194852269)
2. HHSWB fine tune for echo
///O6
1. Headset fine tuning for QoE issue (b/194852269)
2. HHSWB fine tune for echo
Bug: 194852269
Test: manual test
Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I59ae8ea5ef7b4d6d25c9b684c422ee5dd28fcb30
//R4
1. HH WB mic blocked enable
2. HH SWB BVE disable
3. HA WB mic blocked enable
4. HE TTY VCO: sync the latest of HH TX
5. HE TTY HCO: sync the latest of HH RX
6. HE Headphone : sync the latest of HH TX
7. BT HAC : sync the latest of HH TX
8. HA BVE turn on in Generic settings: NB/WB/SWB
9. HA BVE turn on in TMUS settings: NB/WB/SWB
10 HE by Gene
For both R4 and O6
BB
- General
- EnableBBLowLatencyMode
- NB
- TX EQ, NS improve
- RX volume, DRC
- WB
- TX EQ, NS improve
- RX EQ
- RX volume, DRC
- SWB
- RX EQ, NS improve
- RX TDDRC change from 5 to 7.01dB
- RX volume, DRC
- FB
- TX EQ for NS
- RX volume, DRC
Google Condor
- Enable LowLatencyMode
- NB TX EQ depress low freq, increase high freq
- WB TX EQ depress low freq
Condor reservation
- same to Google Condor
Condor for sertification
- Enable LowLatencyMode
//O6
1. HH WB EVT1.1/DVT fine tuning
=> FdEQ for more headroom
2. HH WB mic blocked enable
3. HH SWB BVE disable
4. HA WB mic blocked enable
5. HE TTY VCO: sync the latest of HH TX
6. HE TTY HCO: sync the latest of HH RX
7. HE Headphone : sync the latest of HH TX
8. BT HAC : sync the latest of HH TX
9. HA NB/WB/SWB/FB Generic tuning based on acoustic structure change
10. HA NB/WB/SWB/FB TMUS tuning based on acoustic structure change
11. HA BVE turn on in TMUS settings: NB/WB/SWB
12 HE by Gene
For both R4 and O6
BB
- General
- EnableBBLowLatencyMode
- NB
- TX EQ, NS improve
- RX volume, DRC
- WB
- TX EQ, NS improve
- RX EQ
- RX volume, DRC
- SWB
- RX EQ, NS improve
- RX TDDRC change from 5 to 7.01dB
- RX volume, DRC
- FB
- TX EQ for NS
- RX volume, DRC
Google Condor
- Enable LowLatencyMode
- NB TX EQ depress low freq, increase high freq
- WB TX EQ depress low freq
Condor reservation
- same to Google Condor
Condor for sertification
- Enable LowLatencyMode
Bug: 194273785
Test: manual test (b/194273785/comment#7)
Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: Ifb00378b6b5a9df95af82b7a1ff6256e91bd0ca3
It fixes the following bugs:
- Volume pumping on vocals with musical content(b/193867952)
- Stereo balance skewed to the left (b/193867898)
Bug: 194443833
Test: LR mixed/swap, Mute/Unmute, bypass, playback
Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: Ic0c8a27178509aebe8ca7d295a0ed4ee4daaec00
Media recording tuning table on O6 for RC code lock.
This tuning table aimed for the adjustment on Camcorder.
Change list(O6):
1. Update IIR2, MBDRC, spatial audio parameters
Applied stage: O6 DVT
Bug: 194278836
Test: manual
Signed-off-by: Yung Ti Su <andysu@google.com>
Change-Id: I873dbd2a4378fbf2b256f1f79d100234a832ed8a
Adjust the latency for OUT_USB_HEADSET_BE_CFG
Bug: 174992590
Test: Test av sync for video playback
Change-Id: Idc1dedbbc21290106d417905832810b1ebd1c576
O6:
1. significantly reduces distortion artefacts at high volumes
2. introduces bass management to balance low frequency response
across the volume curve
3. improved tonal balance at nominal volumes
4. improved landscape stereo image across the volume curve
R4:
1. This tuning improves the stereo balance between left and right
in landscape orientation, and removes the pop artefact when
rotating between portrait and landscape.
Bug: 179089856
Bug: 179089765
Test: playback, mute on/off, bypass on/off, lr swap/mixed
Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I732742524ddbdd787ae86520141fb464ab01ca5a
Apply the entry point of raw path which writes data through
pcm mmap from user space to DRAM ring buffer.
Bug: 190775545
Test: OboeTester
Change-Id: I3f61126f323fcebc0a2b53c06d564b9e9e64f823
Let USB HiFi BE as a standalone bind/src command to AoC.
And fix that USB HiFi Rx no audio after the other touch
sound's UC and BE is closed.
On top of the change of pa/1959717
(pa/Ib82ff06986ebe97d472f4518aa136f32da30da66)
Test: Local test
Bug: 191222376
Change-Id: I1017aab232bd2e929dc4caa9939f0613ba937f86
//R4
1. HH FB EPD offset set to 0x0000
2. HH SWB TX fine tuning (FdEQ only)
3. HA TMUS settings NB/WB/SWB (RX+TX)
4. mute time from 200ms -> 10ms (all modes)
5. HA BVE NB/WB (Generic)
6. HA NB/WB/SWB/FB FFP on
7. HE TTY VCO: sync the latest of HH TX
8. HE TTY HCO: sync the latest of HH RX
9. HE Headphone : sync the latest of HH TX
10. BT HAC : sync the latest of HH TX
11. HA NB/WB/FB BVE off
12 Headset-USB_Blackbrid-Voice_Generic
- FB TX EQ
- FB RX EQ
13. Set //RX_FENS_RESRV_0 to be 0x000A for all scenarios on Bluetooth and Headset
//O6
1. HH FB EPD offset set to 0x0000
2. HH EVT1.1 Tuning
=> Mic design change: PreEQ NB/WB/SWB , FdEQ SWB
=> RX FR fine tuning: FdEQ NB/WB/SWB
=> Volume curve fine tuning : SPK_VOL WB (vol3 only)
3. HA EVT 1.1 Tuning
=> NB/WB/SWB/FB (Pre-EQ / TX_FDEQ / RX_TDDRC / VOL / RX_FDEQ)
4. mute time from 200ms -> 10ms (all modes)
5. HA BVE NB/WB (Generic)
6. HA NB/WB/SWB/FB FFP on
7. HE TTY VCO: sync the latest of HH TX
8. HE TTY HCO: sync the latest of HH RX
9. HE Headphone : sync the latest of HH TX
10. BT HAC : sync the latest of HH TX
11. HA NB/WB/FB BVE off
12 Headset-USB_Blackbrid-Voice_Generic
- FB TX EQ
- FB RX EQ
13. Set //RX_FENS_RESRV_0 to be 0x000A for all scenarios on Bluetooth and Headset
Bug: 174635995
Test: manual test by acoustic team
Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: Ic76c1c9c7e9255565f5ee75e92f604723fd4c943
+ Bass management improves the frequency response at
volume steps 23 and below.
+ Improved gain staging for clarity, dynamics and removal
of distortion artefacts
+ Improved stereo balance and bass in landscape
+ Removes tuning bug that applied too much gain correction
on quiet audio.
The portrait and landscape stereo tunings are retuned, but there
is no change to the speaker-safe tuning for notifications and
ringtones which are performing well.
Bug: 179089856
Test: playback mute on/off, bypass on/off, lr swap/mixed.
Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I85c9347435a5baa43c20b4eb5dbd630efb502a4c
Change the period size to 20 for audio record.
Otherwise it will apply fast capture.
Fast capture timestamps are not supported yet.
Bug: 190453606
Bug: 189793417
Test: Test av sync for camera recording
Test: Test av sync for video playback
Change-Id: Ic7225979a411f6fdef1e5869df7f816bd49003b1
<Change List>
For audio_platform_configuration.xml to both O6 & R4,
1. Add below devices for input_backend_cfg_mic_mapping to fix b/188696633.
- <backend_cfg in_cfg="IN_CAMCORDER_INVERT_LANDSCAPE_BE_CFG">
- <backend_cfg in_cfg="IN_CAMCORDER_PORTRAIT_BE_CFG">
- <backend_cfg in_cfg="IN_CAMCORDER_SELFIE_LANDSCAPE_BE_CFG">
- <backend_cfg in_cfg="IN_CAMCORDER_SELFIE_INVERT_LANDSCAPE_BE_CFG">
- <backend_cfg in_cfg="IN_CAMCORDER_SELFIE_PORTRAIT_BE_CFG">
- <backend_cfg in_cfg="IN_VOICE_RECOGN_MIC_BE_CFG">
- <backend_cfg in_cfg="IN_UNPROCESSED_MIC_BE_CFG">
- <backend_cfg in_cfg="IN_UNPROCESSED_DUAL_MIC_BE_CFG">
- <backend_cfg in_cfg="IN_UNPROCESSED_TRIPLE_MIC_BE_CFG">
<Validation Results>
All the regression are positive, which is validated based on SD1A.210614.001 build.
1. Fix freeze issue when running Diagnostic Tool for microphone test.
2. Built-in mic capturing with expected gain setup and active mic numbers in different mic source(mic/VR/unprocessed/camcorder).
3. Built-in speaker playout with expected gain setup in speaker & speaker-safe mode.
4. Both uplink & downlink for telephony works in HA/HH mode.
Bug: 174448901
Test: Builds pass and verified by hardware
Change-Id: Ifb14911eb25ef2b0f42d29b609ae6f9b74ddaa44
Signed-off-by: Robert Lee <lerobert@google.com>
<Change List>
For mixer_paths.xml to both O6 & R4,
1. Add default value for "MIC Record Soft Gain (dB)" control to accommodate with b/189498328.
2. Update below path name to move compensation gain from "MIC HW Gain At High Power Mode (cB)" to "MIC Record Soft Gain (dB)" to fix recording concurrency issue(b/189294476).
- <path name="handset-mic">
- <path name="speaker-mic">
- <path name="camcorder-mic">
- <path name="voice-recog-mic">
- <path name="unprocessed-mic">
- <path name="unprocessed-dual-mic">
- <path name="unprocessed-triple-mic">
<Validation Results>
All the regression are positive, which is validated based on SD1A.210614.001 build.
1. Built-in mic capturing with expected gain setup and active mic numbers in different mic source(mic/VR/unprocessed/camcorder).
2. Built-in speaker playout with expected gain setup in speaker & speaker-safe mode.
3. Both uplink & downlink for telephony works in HA/HH mode.
Bug: 174448901
Test: basic record pass
Change-Id: I3f7759e6998f419a3d7d87b032d8088f5bc7dac0