Home
last modified time | relevance | path

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

/hardware/libhardware_legacy/audio/
DAudioPolicyManagerBase.cpp3038 … AudioPolicyManagerBase::volIndexToAmpl(audio_devices_t device, const StreamDescriptor& streamDesc, in volIndexToAmpl() argument
3042 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() local
3238 volume = volIndexToAmpl(device, streamDesc, index); in computeVolume()
3255 streamDesc.mCanBeMuted) { in computeVolume()
3374 StreamDescriptor &streamDesc = mStreams[stream]; in setStreamMute() local
3385 if (streamDesc.mCanBeMuted && in setStreamMute()
3400 streamDesc.getVolumeIndex(device), in setStreamMute()
/hardware/libhardware_legacy/include/hardware_legacy/
DAudioPolicyManagerBase.h591 static float volIndexToAmpl(audio_devices_t device, const StreamDescriptor& streamDesc,