summaryrefslogtreecommitdiffstats
path: root/services/audiopolicy/AudioPolicyManager.h
diff options
context:
space:
mode:
authorJean-Michel Trivi <jmtrivi@google.com>2014-06-05 15:33:20 -0700
committerJean-Michel Trivi <jmtrivi@google.com>2014-06-05 15:33:20 -0700
commitccd8e4a9da4d0bcc2c715452c5a18fabb23f86ac (patch)
tree3bb21cccad3d17874ae31311ce8fabed5b873966 /services/audiopolicy/AudioPolicyManager.h
parentf3e7f11f419eef7cba752936e637b4f1b70267f4 (diff)
downloadframeworks_av-ccd8e4a9da4d0bcc2c715452c5a18fabb23f86ac.zip
frameworks_av-ccd8e4a9da4d0bcc2c715452c5a18fabb23f86ac.tar.gz
frameworks_av-ccd8e4a9da4d0bcc2c715452c5a18fabb23f86ac.tar.bz2
Audio policy: new media volume curve for speaker with DRC
For devices with DRC on speaker (using the flag "speaker_drc_enabled" in audio_policy.conf), set the speaker media volume to use a new curve with more aggressive attenuation in the upper range. Bug 15318604 Change-Id: Ia5fb9fdd608fddad22fadfb1065d35574030bb52
Diffstat (limited to 'services/audiopolicy/AudioPolicyManager.h')
-rw-r--r--services/audiopolicy/AudioPolicyManager.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/services/audiopolicy/AudioPolicyManager.h b/services/audiopolicy/AudioPolicyManager.h
index e012d63..472d895 100644
--- a/services/audiopolicy/AudioPolicyManager.h
+++ b/services/audiopolicy/AudioPolicyManager.h
@@ -360,6 +360,7 @@ protected:
static const VolumeCurvePoint sDefaultMediaVolumeCurve[AudioPolicyManager::VOLCNT];
// volume curve for media strategy on speakers
static const VolumeCurvePoint sSpeakerMediaVolumeCurve[AudioPolicyManager::VOLCNT];
+ static const VolumeCurvePoint sSpeakerMediaVolumeCurveDrc[AudioPolicyManager::VOLCNT];
// volume curve for sonification strategy on speakers
static const VolumeCurvePoint sSpeakerSonificationVolumeCurve[AudioPolicyManager::VOLCNT];
static const VolumeCurvePoint sSpeakerSonificationVolumeCurveDrc[AudioPolicyManager::VOLCNT];