audio config: fix minimum alarm volume
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
This commit is contained in:
parent
b571f4881a
commit
0800e891ec
2 changed files with 2 additions and 2 deletions
|
@ -90,7 +90,7 @@ volume index from 0 to 100.
|
||||||
<volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_HEADSET"
|
<volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_HEADSET"
|
||||||
ref="DEFAULT_NON_MUTABLE_HEADSET_VOLUME_CURVE"/>
|
ref="DEFAULT_NON_MUTABLE_HEADSET_VOLUME_CURVE"/>
|
||||||
<volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_SPEAKER">
|
<volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_SPEAKER">
|
||||||
<point>1,-3600</point>
|
<point>0,-3600</point>
|
||||||
<point>33,-2400</point>
|
<point>33,-2400</point>
|
||||||
<point>66,-1200</point>
|
<point>66,-1200</point>
|
||||||
<point>100,0</point>
|
<point>100,0</point>
|
||||||
|
|
|
@ -94,7 +94,7 @@ volume index from 0 to 100.
|
||||||
<volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_HEADSET"
|
<volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_HEADSET"
|
||||||
ref="DEFAULT_NON_MUTABLE_HEADSET_VOLUME_CURVE"/>
|
ref="DEFAULT_NON_MUTABLE_HEADSET_VOLUME_CURVE"/>
|
||||||
<volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_SPEAKER">
|
<volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_SPEAKER">
|
||||||
<point>1,-3600</point>
|
<point>0,-3600</point>
|
||||||
<point>33,-2400</point>
|
<point>33,-2400</point>
|
||||||
<point>66,-1200</point>
|
<point>66,-1200</point>
|
||||||
<point>100,0</point>
|
<point>100,0</point>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue