Home
last modified time | relevance | path

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

/frameworks/av/services/audioflinger/
DAudioMixer.cpp506 float *pSetVolume, float *pPrevVolume, float *pVolumeInc) { in setVolumeRampVariables() argument
550 ALOGD_IF(*pPrevVolume != *pSetVolume, "previous float ramp hasn't finished," in setVolumeRampVariables()
551 " prev:%f set_to:%f", *pPrevVolume, *pSetVolume); in setVolumeRampVariables()
552 const float inc = (newVolume - *pPrevVolume) / ramp; // could be inf, nan, subnormal in setVolumeRampVariables()
553 const float maxv = max(newVolume, *pPrevVolume); // could be inf, cannot be nan, subnormal in setVolumeRampVariables()
595 *pPrevVolume = newVolume; in setVolumeRampVariables()