summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2014-11-26 12:01:47 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-11-26 12:01:47 +0000
commit27b9f4b5bd44ef658c771cd4fb137c321c3527c6 (patch)
tree50e25cb432229d844436f430510a650f2f6834b2 /include
parente88fe4462e186f82f519e115a1d19d6f0089012a (diff)
parente714af927c1e87a488178315b78b0c12c0ec9db9 (diff)
downloadhardware_libhardware_legacy-27b9f4b5bd44ef658c771cd4fb137c321c3527c6.zip
hardware_libhardware_legacy-27b9f4b5bd44ef658c771cd4fb137c321c3527c6.tar.gz
hardware_libhardware_legacy-27b9f4b5bd44ef658c771cd4fb137c321c3527c6.tar.bz2
am e714af92: audio policy: use legacy stream type definitions
* commit 'e714af927c1e87a488178315b78b0c12c0ec9db9': audio policy: use legacy stream type definitions
Diffstat (limited to 'include')
-rw-r--r--include/hardware_legacy/AudioPolicyManagerBase.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hardware_legacy/AudioPolicyManagerBase.h b/include/hardware_legacy/AudioPolicyManagerBase.h
index b97ce40..cf03f78 100644
--- a/include/hardware_legacy/AudioPolicyManagerBase.h
+++ b/include/hardware_legacy/AudioPolicyManagerBase.h
@@ -244,7 +244,7 @@ protected:
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];
+ static const VolumeCurvePoint *sVolumeProfiles[AudioSystem::NUM_STREAM_TYPES][DEVICE_CATEGORY_CNT];
// descriptor for audio outputs. Used to maintain current configuration of each opened audio output
// and keep track of the usage of this output by each audio stream type.