diff options
| author | vincent_tew <vincent_tew@htc.com> | 2017-09-04 17:22:03 +0800 |
|---|---|---|
| committer | David Lin <dtwlin@google.com> | 2017-09-05 10:55:04 -0700 |
| commit | 8a85777f312c92ecf10bcc7af44554f2424cefff (patch) | |
| tree | 2bddcdfcb4f1d44f8aa208c7a2c1dd0d2cd23bf1 | |
| parent | a1fd4f0d027b76940184c116b12f2851fc547560 (diff) | |
muskie: update audio volume & volume listener table
change list:
[audio platform]
Modify the setting of level mapping(QCT’s proposal) for TTS issue.
[audio policy]
tune volume curve to approach linearity in playback paths.
Bug:64774822
Test: manual audio test
Change-Id: Icf4f6d180013a18a551ba4ee12a35145ca55acb7
Signed-off-by: vincent_tew <vincent_tew@htc.com>
| -rw-r--r-- | audio_platform_info_tavil.xml | 10 | ||||
| -rw-r--r-- | audio_policy_volumes.xml | 16 |
2 files changed, 14 insertions, 12 deletions
diff --git a/audio_platform_info_tavil.xml b/audio_platform_info_tavil.xml index 05c29a9..f8c5f66 100644 --- a/audio_platform_info_tavil.xml +++ b/audio_platform_info_tavil.xml @@ -104,11 +104,11 @@ <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="-70" level="4"/> - <gain_level_map db="-12.5" level="3"/> - <gain_level_map db="-7.2" level="2"/> - <gain_level_map db="-3.6" level="1"/> - <gain_level_map db="0" level="0"/> + <gain_level_map db="-70" level="5"/> + <gain_level_map db="-12.5" level="4"/> + <gain_level_map db="-7.2" level="3"/> + <gain_level_map db="-3.6" level="2"/> + <gain_level_map db="0" level="1"/> </gain_db_to_level_mapping> <app_types> <app uc_type="PCM_PLAYBACK" mode="default" bit_width="16" id="69936" max_rate="96000" /> diff --git a/audio_policy_volumes.xml b/audio_policy_volumes.xml index 2fa063a..dbeb268 100644 --- a/audio_policy_volumes.xml +++ b/audio_policy_volumes.xml @@ -77,13 +77,15 @@ 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,-5500</point> - <point>53,-2130</point> - <point>60,-1950</point> - <point>73,-1600</point> - <point>80,-1200</point> - <point>86,-680</point> - <point>93,-340</point> + <point>1,-4900</point> + <point>52,-2130</point> + <point>59,-1950</point> + <point>71,-1100</point> + <point>79,-870</point> + <point>84,-680</point> + <point>87,-450</point> + <point>91,-250</point> + <point>95,-100</point> <point>100,0</point> </volume> <volume stream="AUDIO_STREAM_MUSIC" deviceCategory="DEVICE_CATEGORY_EARPIECE" |
