Searched refs:streamDesc (Results 1 – 2 of 2) sorted by relevance
3038 … AudioPolicyManagerBase::volIndexToAmpl(audio_devices_t device, const StreamDescriptor& streamDesc, in volIndexToAmpl() argument3042 const VolumeCurvePoint *curve = streamDesc.mVolumeCurve[deviceCategory]; in volIndexToAmpl()3047 int volIdx = (nbSteps * (indexInUi - streamDesc.mIndexMin)) / in volIndexToAmpl()3048 (streamDesc.mIndexMax - streamDesc.mIndexMin); in volIndexToAmpl()3224 StreamDescriptor &streamDesc = mStreams[stream]; in computeVolume() local3238 volume = volIndexToAmpl(device, streamDesc, index); in computeVolume()3255 streamDesc.mCanBeMuted) { in computeVolume()3374 StreamDescriptor &streamDesc = mStreams[stream]; in setStreamMute() local3385 if (streamDesc.mCanBeMuted && in setStreamMute()3400 streamDesc.getVolumeIndex(device), in setStreamMute()
591 static float volIndexToAmpl(audio_devices_t device, const StreamDescriptor& streamDesc,