Searched refs:intVolume (Results 1 – 1 of 1) sorted by relevance
765 int32_t intVolume = newVolume * AudioMixer::UNITY_GAIN_INT; in setVolumeRampVariables() local766 if (intVolume > AudioMixer::UNITY_GAIN_INT) { in setVolumeRampVariables()767 intVolume = AudioMixer::UNITY_GAIN_INT; in setVolumeRampVariables()768 } else if (intVolume < 0) { in setVolumeRampVariables()770 intVolume = 0; // should never happen, but for safety check. in setVolumeRampVariables()772 if (intVolume == *pIntSetVolume) { in setVolumeRampVariables()780 *pIntVolumeInc = ((intVolume - *pIntSetVolume) << 16) / ramp; in setVolumeRampVariables()781 *pIntPrevVolume = (*pIntVolumeInc == 0 ? intVolume : *pIntSetVolume) << 16; in setVolumeRampVariables()784 *pIntPrevVolume = intVolume << 16; in setVolumeRampVariables()786 *pIntSetVolume = intVolume; in setVolumeRampVariables()