diff options
author | Eric Laurent <elaurent@google.com> | 2014-11-11 13:43:36 -0800 |
---|---|---|
committer | Eric Laurent <elaurent@google.com> | 2014-11-21 10:41:13 -0800 |
commit | 223fd5c9738e9665e495904d37d4632414b68c1e (patch) | |
tree | 33e0afab9a7479cdc4c688a742a8977c8ead21e4 /services/audiopolicy/AudioPolicyManager.h | |
parent | bc0f452b9a76dd8c8244e775bc9c5aa85cae3ddf (diff) | |
download | frameworks_av-223fd5c9738e9665e495904d37d4632414b68c1e.zip frameworks_av-223fd5c9738e9665e495904d37d4632414b68c1e.tar.gz frameworks_av-223fd5c9738e9665e495904d37d4632414b68c1e.tar.bz2 |
audio: new routing strategies and stream types
Added new routing strategies and stream type for internal use
by audio policy manager and audio flinger:
- One for accessibility to allow different routing than media
- One for re-routing (remote submix) in preparation of dynamic
policies
- Added stream type for "internal" audio flinger tracks used
for audio patches and duplication.
Bug: 18067208.
Change-Id: I88f884b552e51e4a49c29125e5a1204cf58ff434
Diffstat (limited to 'services/audiopolicy/AudioPolicyManager.h')
-rw-r--r-- | services/audiopolicy/AudioPolicyManager.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/services/audiopolicy/AudioPolicyManager.h b/services/audiopolicy/AudioPolicyManager.h index 50d7831..7af6475 100644 --- a/services/audiopolicy/AudioPolicyManager.h +++ b/services/audiopolicy/AudioPolicyManager.h @@ -188,6 +188,8 @@ protected: STRATEGY_DTMF, STRATEGY_ENFORCED_AUDIBLE, STRATEGY_TRANSMITTED_THROUGH_SPEAKER, + STRATEGY_ACCESSIBILITY, + STRATEGY_REROUTING, NUM_STRATEGIES }; @@ -437,6 +439,7 @@ protected: static const VolumeCurvePoint sSpeakerVoiceVolumeCurve[AudioPolicyManager::VOLCNT]; static const VolumeCurvePoint sLinearVolumeCurve[AudioPolicyManager::VOLCNT]; static const VolumeCurvePoint sSilentVolumeCurve[AudioPolicyManager::VOLCNT]; + static const VolumeCurvePoint sFullScaleVolumeCurve[AudioPolicyManager::VOLCNT]; // default volume curves per stream and device category. See initializeVolumeCurves() static const VolumeCurvePoint *sVolumeProfiles[AUDIO_STREAM_CNT][DEVICE_CATEGORY_CNT]; |