Home
last modified time | relevance | path

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

/frameworks/av/media/libaudioprocessing/
DAudioMixer.cpp542 float *pSetVolume, float *pPrevVolume, float *pVolumeInc) { in setVolumeRampVariables() argument
586 ALOGD_IF(*pPrevVolume != *pSetVolume, "previous float ramp hasn't finished," in setVolumeRampVariables()
587 " prev:%f set_to:%f", *pPrevVolume, *pSetVolume); in setVolumeRampVariables()
588 const float inc = (newVolume - *pPrevVolume) / ramp; // could be inf, nan, subnormal in setVolumeRampVariables()
590 const float maxv = std::max(newVolume, *pPrevVolume); in setVolumeRampVariables()
632 *pPrevVolume = newVolume; in setVolumeRampVariables()