mirror of
https://github.com/Evolution-X-Devices/device_google_walleye
synced 2026-01-27 15:51:28 +00:00
audio: update audio volume table
This patch Updates the volume_listener coverage to fix the low volume index (volume key 1~10) can’t be mapped to volume listener index. In current setting, only stream volume larger than -8.6db will be applied with volume listener tuning. This patch also updates Android volume curve of SWB and VoIP. Bug: 62825740 Test: audio playback Change-Id: Ic76b7240db09983e5eb56441a0da4ea021cb3655 Signed-off-by: David Lin <dtwlin@google.com>
This commit is contained in:
@@ -104,7 +104,7 @@
|
||||
<device name="SND_DEVICE_OUT_SPEAKER_AND_BT_SCO_WB" backend="speaker-and-bt-sco-wb" interface="QUAT_MI2S_RX-and-SLIMBUS_7_RX"/>
|
||||
</backend_names>
|
||||
<gain_db_to_level_mapping>
|
||||
<gain_level_map db="-8.6" level="4"/>
|
||||
<gain_level_map db="-70" level="4"/>
|
||||
<gain_level_map db="-6.6" level="3"/>
|
||||
<gain_level_map db="-4.5" level="2"/>
|
||||
<gain_level_map db="-2.5" level="1"/>
|
||||
|
||||
@@ -36,13 +36,16 @@ volume index from 0 to 100.
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_VOICE_CALL" deviceCategory="DEVICE_CATEGORY_EARPIECE">
|
||||
<point>0,-2650</point>
|
||||
<point>86,-400</point>
|
||||
<point>0,-2500</point>
|
||||
<point>71,-650</point>
|
||||
<point>86,-300</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_VOICE_CALL" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA">
|
||||
<point>0,-2900</point>
|
||||
<point>86,-400</point>
|
||||
<point>57,-1400</point>
|
||||
<point>71,-950</point>
|
||||
<point>86,-550</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_SYSTEM" deviceCategory="DEVICE_CATEGORY_HEADSET">
|
||||
|
||||
Reference in New Issue
Block a user