Home
last modified time | relevance | path

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

/frameworks/av/media/libaudioprocessing/
DAudioMixerBase.cpp247 float *pSetVolume, float *pPrevVolume, float *pVolumeInc) { in setVolumeRampVariables() argument
291 ALOGD_IF(*pPrevVolume != *pSetVolume, "previous float ramp hasn't finished," in setVolumeRampVariables()
292 " prev:%f set_to:%f", *pPrevVolume, *pSetVolume); in setVolumeRampVariables()
293 const float inc = (newVolume - *pPrevVolume) / ramp; // could be inf, nan, subnormal in setVolumeRampVariables()
295 const float maxv = std::max(newVolume, *pPrevVolume); in setVolumeRampVariables()
337 *pPrevVolume = newVolume; in setVolumeRampVariables()