diff options
author | Eric Laurent <elaurent@google.com> | 2012-10-17 10:14:14 -0700 |
---|---|---|
committer | Eric Laurent <elaurent@google.com> | 2012-10-17 10:22:29 -0700 |
commit | 0d6490a58bf607f1efc00638709f9c4c8f7dd270 (patch) | |
tree | 1d4a38a0fefade7a67c0cb327b107d8c4cd33151 /include | |
parent | aac673172cd61cd862228a8d41a8f3e7d1e016fd (diff) | |
download | hardware_libhardware_legacy-0d6490a58bf607f1efc00638709f9c4c8f7dd270.zip hardware_libhardware_legacy-0d6490a58bf607f1efc00638709f9c4c8f7dd270.tar.gz hardware_libhardware_legacy-0d6490a58bf607f1efc00638709f9c4c8f7dd270.tar.bz2 |
audio policy: tune voice/video chat volumes
Add new volume curves for VOICE_CALL stream type
to improve voice/video chat volume on speakers.
Bug 7346643.
Change-Id: Ib282a97570d2234deec6b58391bdfc45846d9cc0
Diffstat (limited to 'include')
-rw-r--r-- | include/hardware_legacy/AudioPolicyManagerBase.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/hardware_legacy/AudioPolicyManagerBase.h b/include/hardware_legacy/AudioPolicyManagerBase.h index 4eefc0a..451fe8a 100644 --- a/include/hardware_legacy/AudioPolicyManagerBase.h +++ b/include/hardware_legacy/AudioPolicyManagerBase.h @@ -227,6 +227,8 @@ protected: static const VolumeCurvePoint sSpeakerSonificationVolumeCurve[AudioPolicyManagerBase::VOLCNT]; static const VolumeCurvePoint sDefaultSystemVolumeCurve[AudioPolicyManagerBase::VOLCNT]; static const VolumeCurvePoint sHeadsetSystemVolumeCurve[AudioPolicyManagerBase::VOLCNT]; + static const VolumeCurvePoint sDefaultVoiceVolumeCurve[AudioPolicyManagerBase::VOLCNT]; + static const VolumeCurvePoint sSpeakerVoiceVolumeCurve[AudioPolicyManagerBase::VOLCNT]; // default volume curves per stream and device category. See initializeVolumeCurves() static const VolumeCurvePoint *sVolumeProfiles[AUDIO_STREAM_CNT][DEVICE_CATEGORY_CNT]; |