Home
last modified time | relevance | path

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

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