summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Michel Trivi <jmtrivi@google.com>2012-06-05 11:35:24 -0700
committerJean-Michel Trivi <jmtrivi@google.com>2012-06-05 11:35:24 -0700
commit123897874418f9f0e48bb89386d8c470e6975f28 (patch)
tree70a7ba15d839507a2fe2ea74eef93ed9db4dc0ea
parent4660455366d2ee64cb65f0ecd6f7ddeb1c17bac6 (diff)
downloadhardware_libhardware_legacy-123897874418f9f0e48bb89386d8c470e6975f28.zip
hardware_libhardware_legacy-123897874418f9f0e48bb89386d8c470e6975f28.tar.gz
hardware_libhardware_legacy-123897874418f9f0e48bb89386d8c470e6975f28.tar.bz2
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
-rw-r--r--audio/AudioPolicyManagerBase.cpp4
1 files 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