Skip to content

Commit

Permalink
audio: update audio table (v19) and volume curve
Browse files Browse the repository at this point in the history
- ACDB
1. for delay reduction, in general
acdb ID: all voice TX&RX pairs
Scenario: all voice scenarios
Network: all circuit & packed switch call
Module:
TABLE_VocProcConfig
"VSS MODULE CLOCK CONTROL"
MPPS scale from 0 to 1
BUS bw scale from 0 to 1

2. b/152384039
create dev pair acdb ID: 41 & acdb ID: 45.

3. for Verozon & Sprint Spec
acdb ID: 41, 79, 99
Scenario: HA - TX
Network: CDMA
“TX VOICE IIR MIC1” & TX VOICE IIR MIC2”
Voice bandwidth: NB

Verification:
1. audio delays of TX+RX improves 44.9ms and low risk on change of clock vote. refers to b/152471681.
2. verified scenario of no mic headset functions well.
3. verified settings passed Verizon test requirement on Brüel & Kjær HATS and test system.

- audio_policy_volumes.xml
Line #27 ~  Line #29
+ <point>0,-3000</point>
- <point>0,-4200</point>
- <point>33,-2800</point>
- <point>66,-1400</point>

Line#34 ~ Line#35
+ <point>66,-950</point>
+ <point>83,-600</point>
- <point>33,-1600</point>
- <point>66,-800</point>

Line#39 ~ Line#41
+ <point>0,-3000</point>
- <point>0,-2400</point>
- <point>33,-1600</point>
- <point>66,-800</point>

Bug:  152575263
Test: Voice call on rec/spk/headset/headphone/usb-headset/condor/btsco
Test: First Voice call with headphone after reboot
Test: VoIP call with minimum volume index
Test: Check mpps/bw vote for 41/45

Signed-off-by: Jasmine Cha <[email protected]>
Change-Id: I4fbc65df589c41301994315896018541a357f889
  • Loading branch information
Jasmine Cha committed Mar 27, 2020
1 parent 72a94ca commit 9a506ce
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 8 deletions.
Binary file modified audio/acdbdata/Bluetooth_cal.acdb
Binary file not shown.
Binary file modified audio/acdbdata/Handset_cal.acdb
Binary file not shown.
Binary file modified audio/acdbdata/Headset_cal.acdb
Binary file not shown.
Binary file modified audio/acdbdata/Speaker_cal.acdb
Binary file not shown.
12 changes: 4 additions & 8 deletions audio_policy_volumes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,21 +24,17 @@ volume index from 0 to 100.

<volumes>
<volume stream="AUDIO_STREAM_VOICE_CALL" deviceCategory="DEVICE_CATEGORY_HEADSET">
<point>0,-4200</point>
<point>33,-2800</point>
<point>66,-1400</point>
<point>0,-3000</point>
<point>100,0</point>
</volume>
<volume stream="AUDIO_STREAM_VOICE_CALL" deviceCategory="DEVICE_CATEGORY_SPEAKER">
<point>0,-2400</point>
<point>33,-1600</point>
<point>66,-800</point>
<point>66,-950</point>
<point>83,-600</point>
<point>100,0</point>
</volume>
<volume stream="AUDIO_STREAM_VOICE_CALL" deviceCategory="DEVICE_CATEGORY_EARPIECE">
<point>0,-2400</point>
<point>33,-1600</point>
<point>66,-800</point>
<point>0,-3000</point>
<point>100,0</point>
</volume>
<volume stream="AUDIO_STREAM_VOICE_CALL" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
Expand Down

0 comments on commit 9a506ce

Please sign in to comment.