Home
last modified time | relevance | path

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

/frameworks/av/media/libaudioprocessing/
DAudioMixer.cpp511 float *pSetVolume, float *pPrevVolume, float *pVolumeInc) { in setVolumeRampVariables() argument
555 ALOGD_IF(*pPrevVolume != *pSetVolume, "previous float ramp hasn't finished," in setVolumeRampVariables()
556 " prev:%f set_to:%f", *pPrevVolume, *pSetVolume); in setVolumeRampVariables()
557 const float inc = (newVolume - *pPrevVolume) / ramp; // could be inf, nan, subnormal in setVolumeRampVariables()
558 const float maxv = max(newVolume, *pPrevVolume); // could be inf, cannot be nan, subnormal in setVolumeRampVariables()
600 *pPrevVolume = newVolume; in setVolumeRampVariables()