Skip to content

Commit 2eb0aef

Browse files
padmashree9110sysopenci
authored andcommitted
Update gain value to avoid glitch
Adjusted min and max gain values to avoid glitch when volume in the settings is maximum. Now gain at maximum volume is 1.0 and hence no glitch is observed and gain at 0 volume will be negligible and hence stream will be muted. Test Done: - Boot Test - Audio playback is fine - No glitch is observed at mximum volume in Settings UI - played audio from player, verified if the volume for alarm, ringtone and other playback streams applied correctly. - Checked if audio is muted when volume is kept at minimun in UI for all playback streams. Tracked-On: OAM-132480 Signed-off-by: padmashree mandri <padmashree.mandri@intel.com> Signed-off-by: sadhansx <sadhanx.siddha.mohanty@intel.com>
1 parent 214f659 commit 2eb0aef

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

groups/audio/audio_base_aaos/default/policy/audio_policy_configuration_devices.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
3232
<gains>
3333
<gain name="" mode="AUDIO_GAIN_MODE_JOINT"
34-
minValueMB="-3200" maxValueMB="600"
34+
minValueMB="-4400" maxValueMB="0"
3535
defaultValueMB="0" stepValueMB="100"/>
3636
</gains>
3737
</devicePort>
@@ -41,7 +41,7 @@
4141
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
4242
<gains>
4343
<gain name="" mode="AUDIO_GAIN_MODE_JOINT"
44-
minValueMB="-3200" maxValueMB="600"
44+
minValueMB="-4400" maxValueMB="0"
4545
defaultValueMB="0" stepValueMB="100"/>
4646
</gains>
4747
</devicePort>
@@ -51,7 +51,7 @@
5151
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
5252
<gains>
5353
<gain name="" mode="AUDIO_GAIN_MODE_JOINT"
54-
minValueMB="-3200" maxValueMB="600"
54+
minValueMB="-4400" maxValueMB="0"
5555
defaultValueMB="0" stepValueMB="100"/>
5656
</gains>
5757
</devicePort>
@@ -103,7 +103,7 @@
103103
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
104104
<gains>
105105
<gain name="" mode="AUDIO_GAIN_MODE_JOINT"
106-
minValueMB="-3200" maxValueMB="600"
106+
minValueMB="-4400" maxValueMB="0"
107107
defaultValueMB="0" stepValueMB="100"/>
108108
</gains>
109109
</devicePort>
@@ -127,7 +127,7 @@
127127
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
128128
<gains>
129129
<gain name="" mode="AUDIO_GAIN_MODE_JOINT"
130-
minValueMB="-3200" maxValueMB="600"
130+
minValueMB="-4400" maxValueMB="0"
131131
defaultValueMB="0" stepValueMB="100"/>
132132
</gains>
133133
</devicePort>
@@ -151,7 +151,7 @@
151151
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
152152
<gains>
153153
<gain name="" mode="AUDIO_GAIN_MODE_JOINT"
154-
minValueMB="-3200" maxValueMB="600"
154+
minValueMB="-4400" maxValueMB="0"
155155
defaultValueMB="0" stepValueMB="100"/>
156156
</gains>
157157
</devicePort>

0 commit comments

Comments
 (0)