audio: align volume curve
Bug: 382270418 Test: n/a Flag: EXEMPT bugfix Change-Id: I396b61b57a07307285abeffa911fafdb04221e91
This commit is contained in:
parent
ad6d888fd9
commit
fc98bc4ea6
2 changed files with 66 additions and 42 deletions
|
@ -51,8 +51,14 @@ volume index from 0 to 100.
|
|||
<point>66,-2200</point>
|
||||
<point>100,-1800</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_SYSTEM" deviceCategory="DEVICE_CATEGORY_SPEAKER"
|
||||
ref="DEFAULT_SYSTEM_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_SYSTEM" deviceCategory="DEVICE_CATEGORY_SPEAKER">
|
||||
<point>1,-4500</point>
|
||||
<point>29,-3400</point>
|
||||
<point>57,-2250</point>
|
||||
<point>71,-1900</point>
|
||||
<point>86,-1530</point>
|
||||
<point>100,-1100</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_SYSTEM" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
ref="DEFAULT_SYSTEM_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_SYSTEM" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||
|
@ -62,9 +68,12 @@ volume index from 0 to 100.
|
|||
<volume stream="AUDIO_STREAM_RING" deviceCategory="DEVICE_CATEGORY_HEADSET"
|
||||
ref="DEFAULT_DEVICE_CATEGORY_HEADSET_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_RING" deviceCategory="DEVICE_CATEGORY_SPEAKER">
|
||||
<point>1,-2970</point>
|
||||
<point>33,-2010</point>
|
||||
<point>66,-1020</point>
|
||||
<point>1,-4000</point>
|
||||
<point>29,-2950</point>
|
||||
<point>43,-2350</point>
|
||||
<point>57,-1850</point>
|
||||
<point>71,-1400</point>
|
||||
<point>86,-700</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_RING" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
|
@ -76,31 +85,31 @@ volume index from 0 to 100.
|
|||
<volume stream="AUDIO_STREAM_MUSIC" deviceCategory="DEVICE_CATEGORY_HEADSET"
|
||||
ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_MUSIC" deviceCategory="DEVICE_CATEGORY_SPEAKER">
|
||||
<point>1,-6438</point>
|
||||
<point>4,-6438</point>
|
||||
<point>8,-5961</point>
|
||||
<point>12,-5543</point>
|
||||
<point>16,-5167</point>
|
||||
<point>20,-4743</point>
|
||||
<point>24,-4391</point>
|
||||
<point>28,-4061</point>
|
||||
<point>32,-3871</point>
|
||||
<point>36,-3673</point>
|
||||
<point>40,-3471</point>
|
||||
<point>44,-3273</point>
|
||||
<point>48,-3065</point>
|
||||
<point>52,-2850</point>
|
||||
<point>56,-2618</point>
|
||||
<point>60,-2355</point>
|
||||
<point>64,-2060</point>
|
||||
<point>68,-1773</point>
|
||||
<point>72,-1482</point>
|
||||
<point>76,-1205</point>
|
||||
<point>80,-989</point>
|
||||
<point>84,-791</point>
|
||||
<point>88,-578</point>
|
||||
<point>92,-374</point>
|
||||
<point>96,-137</point>
|
||||
<point>1,-5927</point>
|
||||
<point>4,-5927</point>
|
||||
<point>8,-5574</point>
|
||||
<point>12,-5281</point>
|
||||
<point>16,-4952</point>
|
||||
<point>20,-4562</point>
|
||||
<point>24,-4213</point>
|
||||
<point>28,-3838</point>
|
||||
<point>32,-3600</point>
|
||||
<point>36,-3385</point>
|
||||
<point>40,-3116</point>
|
||||
<point>44,-2927</point>
|
||||
<point>48,-2665</point>
|
||||
<point>52,-2436</point>
|
||||
<point>56,-2181</point>
|
||||
<point>60,-1985</point>
|
||||
<point>64,-1743</point>
|
||||
<point>68,-1553</point>
|
||||
<point>72,-1427</point>
|
||||
<point>76,-1166</point>
|
||||
<point>80,-1045</point>
|
||||
<point>84,-895</point>
|
||||
<point>88,-644</point>
|
||||
<point>92,-486</point>
|
||||
<point>96,-209</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_MUSIC" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
|
@ -112,9 +121,11 @@ volume index from 0 to 100.
|
|||
<volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_HEADSET"
|
||||
ref="DEFAULT_NON_MUTABLE_HEADSET_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_SPEAKER">
|
||||
<point>0,-2970</point>
|
||||
<point>33,-2010</point>
|
||||
<point>66,-1020</point>
|
||||
<point>0,-5600</point>
|
||||
<point>29,-3520</point>
|
||||
<point>57,-1500</point>
|
||||
<point>71,-1150</point>
|
||||
<point>86,-500</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
|
@ -126,10 +137,11 @@ volume index from 0 to 100.
|
|||
<volume stream="AUDIO_STREAM_NOTIFICATION" deviceCategory="DEVICE_CATEGORY_HEADSET"
|
||||
ref="DEFAULT_DEVICE_CATEGORY_HEADSET_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_NOTIFICATION" deviceCategory="DEVICE_CATEGORY_SPEAKER">
|
||||
<point>1,-2970</point>
|
||||
<point>33,-2010</point>
|
||||
<point>66,-1020</point>
|
||||
<point>100,0</point>
|
||||
<point>1,-4500</point>
|
||||
<point>29,-3800</point>
|
||||
<point>71,-1850</point>
|
||||
<point>86,-1000</point>
|
||||
<point>100,-500</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_NOTIFICATION" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
ref="DEFAULT_DEVICE_CATEGORY_EARPIECE_VOLUME_CURVE"/>
|
||||
|
@ -165,8 +177,14 @@ volume index from 0 to 100.
|
|||
<point>66,-2200</point>
|
||||
<point>100,-1800</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_ENFORCED_AUDIBLE" deviceCategory="DEVICE_CATEGORY_SPEAKER"
|
||||
ref="DEFAULT_SYSTEM_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ENFORCED_AUDIBLE" deviceCategory="DEVICE_CATEGORY_SPEAKER">
|
||||
<point>1,-4500</point>
|
||||
<point>29,-3400</point>
|
||||
<point>57,-2250</point>
|
||||
<point>71,-1900</point>
|
||||
<point>86,-1530</point>
|
||||
<point>100,-1100</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_ENFORCED_AUDIBLE" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
ref="DEFAULT_SYSTEM_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ENFORCED_AUDIBLE" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||
|
@ -179,8 +197,14 @@ volume index from 0 to 100.
|
|||
<point>66,-2200</point>
|
||||
<point>100,-1800</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_DTMF" deviceCategory="DEVICE_CATEGORY_SPEAKER"
|
||||
ref="DEFAULT_SYSTEM_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_DTMF" deviceCategory="DEVICE_CATEGORY_SPEAKER">
|
||||
<point>1,-5700</point>
|
||||
<point>29,-4230</point>
|
||||
<point>43,-3300</point>
|
||||
<point>57,-3100</point>
|
||||
<point>71,-2500</point>
|
||||
<point>100,-1400</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_DTMF" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
ref="DEFAULT_SYSTEM_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_DTMF" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||
|
|
|
@ -1480,7 +1480,7 @@
|
|||
<path name="adapted-voice-speaker">
|
||||
<ctl name="R Boost Peak Current Limit" value="3.50A" />
|
||||
<ctl name="Boost Peak Current Limit" value="3.50A" />
|
||||
<ctl name="Digital PCM Volume" value="800" />
|
||||
<ctl name="Digital PCM Volume" value="817" />
|
||||
<ctl name="R Digital PCM Volume" value="817" />
|
||||
</path>
|
||||
<path name="adapted-voice-speaker-battery-throttled">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue