Update audio policy and effect configuration files to
support spatial audio feature
Bug: 189423448
Test: make
Change-Id: I2274fb4784eef5e28cadd9f33c38fdbbe60f6b40
The change is on Headset Blackbird (USB-C earbuds) only.
The changed items are the same on R4 & O6 and the tuning
are also aligned with B3.
1. HE_BB, NB/WB/SWB/FB
- Apply the same TDDRC gain for each RX volume step
- Enable RX FFP
- Fine-tune volume curve
2. Reduce the clipping risk on RX path (SWB and FB RX)
- Fine tune EQ and TDDRC gain
3. HE_BB, WB_DT improvement
- TX_EAD_THR: 0x4500 --> 0x36B0
Bug: 213426722
Test: manual test (b/174635995#comment77)
Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: Iecf9bd5d6150371556680bd493ae3412a1ad5c2e
currently mfg audio tool using audio-recordC usb-headset-mic
in mixer_paths.xml, add a new path for mfg usb recording to
switching the usb mic source
modify the usb alsa control to v2 since the latest alsa control
already changed
Bug: 213027646
Test: verify pass with mfg tool usb-record
Signed-off-by: vincenttew <vincenttew@google.com>
Change-Id: If3af632ed2bddcdd1329f17fc89ea82162d810ae
This reverts commit fa1f5094d1.
Reason for revert: MBDRC solution merged, revert the tuning back
Bug: 205934425
Change-Id: I431a1a9117d6c10416c0f94b33643480815e583b
This reverts commit 4bfaa9f2f3.
revert reason: the AoC prebuilt MBDRC seems not working after pick
prebuilt ag/16234618, the bug tracking on b/205934425, will apply
this tuning back once the MBDRC can work correctly on sc-v2-dev
Bug: 205934425
Change-Id: I24e2805675360d59d70cd2b5a9095aaf1c8a5875
Signed-off-by: vincenttew <vincenttew@google.com>
Add Audio Capture Eraser Enable to switch
Eraser for recording path.
For gain of this path, we shouldn't apply
software gain, because the input source is
from hotword pipeline.
Test: build pass
Bug: 172266161
Change-Id: Iabe372e7fe91e557ba9125af14bfb61606c09ea0
Change list:
Update recording.gatf, templete file for modifying parameters to fit
the change of dynamic range compressor(DRC)(b/200794903), the DRC has
been changed from 1 band to 3 band.
Bug: 204745396
Test: build pass
Signed-off-by: vincenttew <vincenttew@google.com>
Change-Id: Ic0962536e50b310a159af15e7e191f130d41e969
Add Audio Capture Eraser Enable to switch
Eraser for recording path.
For gain of this path, we shouldn't apply
software gain, because the input source is
from hotword pipeline.
Test: build pass
Bug: 172266161
Change-Id: I2546e25c8ba428681fd778491cd66dca66051305
Reason:
-Change the microphone assignment from rear mic to top mic since there is a risk that the rear mic will be blocked when users put devices on the desk.
Change list:
Update recording.gatf file for changing microphone assignment in handset_mono_mic usecase
Validation:
3rd party camcorder/recorder and GCA function are good and validation was used SD1A.210817.026 (7772856)
Bug: 202467646
Test: forrest build
Change-Id: I3b0f8a7ba590925fc70f28bdd3bbb4b29938fd68
The ALARM volume curve on SPEAKER device must have a lowest
point with abscisse 0 instead of 1 to prevent the stream from
being muted when lowest UI index is selected.
Bug: 201069348
Test: set alarm volume to min and play alarm
Change-Id: I29dda66002562e9ce889bd4f8b0154c2837f7be5
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