Searched refs:streamDesc (Results 1 – 2 of 2) sorted by relevance
4781 float AudioPolicyManager::volIndexToAmpl(audio_devices_t device, const StreamDescriptor& streamDesc, in volIndexToAmpl() argument4785 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() local4995 volume = volIndexToAmpl(device, streamDesc, index); in computeVolume()5012 streamDesc.mCanBeMuted) { in computeVolume()5133 StreamDescriptor &streamDesc = mStreams[stream]; in setStreamMute() local5144 if (streamDesc.mCanBeMuted && in setStreamMute()5159 streamDesc.getVolumeIndex(device), in setStreamMute()
825 static float volIndexToAmpl(audio_devices_t device, const StreamDescriptor& streamDesc,