Searched refs:streamDesc (Results 1 – 3 of 3) sorted by relevance
135 static float volIndexToAmpl(audio_devices_t device, const StreamDescriptor& streamDesc,
3054 … AudioPolicyManagerBase::volIndexToAmpl(audio_devices_t device, const StreamDescriptor& streamDesc, in volIndexToAmpl() argument3058 const VolumeCurvePoint *curve = streamDesc.mVolumeCurve[deviceCategory]; in volIndexToAmpl()3063 int volIdx = (nbSteps * (indexInUi - streamDesc.mIndexMin)) / in volIndexToAmpl()3064 (streamDesc.mIndexMax - streamDesc.mIndexMin); in volIndexToAmpl()3240 StreamDescriptor &streamDesc = mStreams[stream]; in computeVolume() local3254 volume = volIndexToAmpl(device, streamDesc, index); in computeVolume()3271 streamDesc.mCanBeMuted) { in computeVolume()3390 StreamDescriptor &streamDesc = mStreams[stream]; in setStreamMute() local3401 if (streamDesc.mCanBeMuted && in setStreamMute()3416 streamDesc.getVolumeIndex(device), in setStreamMute()
592 static float volIndexToAmpl(audio_devices_t device, const StreamDescriptor& streamDesc,