From 123897874418f9f0e48bb89386d8c470e6975f28 Mon Sep 17 00:00:00 2001 From: Jean-Michel Trivi Date: Tue, 5 Jun 2012 11:35:24 -0700 Subject: Increase system stream volume on speaker Increase the volume of the system stream for speaker output, so sounds played on this stream can be louder on devices that need it. Additional changes in the rest of the framework will define properties to tune sound effect levels on a per-device basis. Bug 6448481 Change-Id: Ia6c1ff314a321c6e271a682e3f4ff64c250b184e --- audio/AudioPolicyManagerBase.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/audio/AudioPolicyManagerBase.cpp b/audio/AudioPolicyManagerBase.cpp index 8e1281a..d1cb63e 100644 --- a/audio/AudioPolicyManagerBase.cpp +++ b/audio/AudioPolicyManagerBase.cpp @@ -2414,10 +2414,10 @@ const AudioPolicyManagerBase::VolumeCurvePoint // AUDIO_STREAM_SYSTEM, AUDIO_STREAM_ENFORCED_AUDIBLE and AUDIO_STREAM_DTMF volume tracks // AUDIO_STREAM_RING on phones and AUDIO_STREAM_MUSIC on tablets (See AudioService.java). -// The range is constrained between -30dB and -12dB over speaker and -30dB and -18dB over headset. +// The range is constrained between -24dB and -6dB over speaker and -30dB and -18dB over headset. const AudioPolicyManagerBase::VolumeCurvePoint AudioPolicyManagerBase::sDefaultSystemVolumeCurve[AudioPolicyManagerBase::VOLCNT] = { - {1, -30.0f}, {33, -24.0f}, {66, -18.0f}, {100, -12.0f} + {1, -24.0f}, {33, -18.0f}, {66, -12.0f}, {100, -6.0f} }; const AudioPolicyManagerBase::VolumeCurvePoint -- cgit v1.1