Home
last modified time | relevance | path

Searched refs:streamDesc (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/services/audiopolicy/
DAudioPolicyManager.cpp4781 float AudioPolicyManager::volIndexToAmpl(audio_devices_t device, const StreamDescriptor& streamDesc, in volIndexToAmpl() argument
4785 const VolumeCurvePoint *curve = streamDesc.mVolumeCurve[deviceCategory]; in volIndexToAmpl()
4790 int volIdx = (nbSteps * (indexInUi - streamDesc.mIndexMin)) / in volIndexToAmpl()
4791 (streamDesc.mIndexMax - streamDesc.mIndexMin); in volIndexToAmpl()
4989 StreamDescriptor &streamDesc = mStreams[stream]; in computeVolume() local
4995 volume = volIndexToAmpl(device, streamDesc, index); in computeVolume()
5012 streamDesc.mCanBeMuted) { in computeVolume()
5133 StreamDescriptor &streamDesc = mStreams[stream]; in setStreamMute() local
5144 if (streamDesc.mCanBeMuted && in setStreamMute()
5159 streamDesc.getVolumeIndex(device), in setStreamMute()
DAudioPolicyManager.h825 static float volIndexToAmpl(audio_devices_t device, const StreamDescriptor& streamDesc,