modifications for new system volume policy.
The new system and UX sound volume policy makes that STREAM_SYSTEM volume is not fixed anymore. It is tracking STREAM_RING (phones) or STREAM_MUSIC (tablets) in a constrained range between -24dB and -6dB. Sound Fx where previously played over STREAM_SYSTEM with a fixed attenuation of -20dB. The default value of 5% in the keypress sound volume setting was corresponding to -26dB, meaning 6dB below default. Modified the default volume value to 50% so that by default, keypress sound volume varies from -30dB to -12dB which is also 6dB below the other system sounds. Change-Id: I146f72275b8e88fdce5ccf8b6dae2903c27f15eb
This commit is contained in:
parent
681b7bd8b5
commit
7570954a18
1 changed files with 3 additions and 3 deletions
|
@ -20,8 +20,8 @@
|
|||
<resources>
|
||||
<string-array name="keypress_volumes" translatable="false">
|
||||
<!-- Build.HARDWARE,volume -->
|
||||
<item>herring,0.05</item>
|
||||
<item>tuna,0.05</item>
|
||||
<item>stingray,0.04</item>
|
||||
<item>herring,0.5</item>
|
||||
<item>tuna,0.5</item>
|
||||
<item>stingray,0.4</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
|
|
Loading…
Reference in a new issue