Home
last modified time | relevance | path

Searched refs:volumeDb (Results 1 – 3 of 3) sorted by relevance

/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioOutputDescriptor.h102 void setVolume(float volumeDb) { mCurVolumeDb = volumeDb; } in setVolume() argument
165 virtual bool setVolume(float volumeDb, bool muted,
230 void setCurVolume(VolumeSource vs, float volumeDb, bool isVoiceVolSrc) in setCurVolume() argument
233 mVolumeActivities[vs].setVolume(volumeDb); in setCurVolume()
400 virtual bool setVolume(float volumeDb, bool muted,
516 virtual bool setVolume(float volumeDb, bool muted,
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioOutputDescriptor.cpp161 bool AudioOutputDescriptor::setVolume(float volumeDb, bool /*muted*/, in setVolume() argument
178 if (volumeDb != getCurVolume(volumeSource) || force) { in setVolume()
179 … ALOGV("%s for volumeSrc %d, volume %f, delay %d", __func__, volumeSource, volumeDb, delayMs); in setVolume()
180 setCurVolume(volumeSource, volumeDb, isVoiceVolSrc); in setVolume()
517 bool SwAudioOutputDescriptor::setVolume(float volumeDb, bool muted, in setVolume() argument
526 volumeDb, muted, vs, streamTypes, deviceTypes, delayMs, force, isVoiceVolSrc)) { in setVolume()
548 const bool canMute = muted && (volumeDb != 0.0f) && !streamTypes.empty(); in setVolume()
558 int gainValueMb = ((volumeDb * 100)/ gainStepValueInMb) * gainStepValueInMb; in setVolume()
580 mIoHandle, vs, volumeDb, delayMs, toString(stream).c_str()); in setVolume()
833 bool HwAudioOutputDescriptor::setVolume(float volumeDb, bool muted, in setVolume() argument
[all …]
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp8043 float volumeDb = curves.volIndexToDb(deviceCategory, index); in adjustDeviceAttenuationForAbsVolume() local
8053 return volumeDb; in adjustDeviceAttenuationForAbsVolume()
8067 float newVolumeDb = fminf(volumeDb + volumeDbAbsMax - volumeDbAbs, volumeDbMax); in adjustDeviceAttenuationForAbsVolume()
8070 volumeSource, volumeDb, newVolumeDb, volumeDbMax); in adjustDeviceAttenuationForAbsVolume()
8074 return volumeDb; in adjustDeviceAttenuationForAbsVolume()
8076 return volumeDb; in adjustDeviceAttenuationForAbsVolume()
8086 float volumeDb = adjustDeviceAttenuationForAbsVolume(curves, volumeSource, index, deviceTypes); in computeVolume() local
8091 return volumeDb; in computeVolume()
8108 return ringVolumeDb - 4 > volumeDb ? ringVolumeDb - 4 : volumeDb; in computeVolume()
8137 volumeSource, volumeDb); in computeVolume()
[all …]