Searched refs:ramp (Results 1 – 2 of 2) sorted by relevance
/frameworks/av/services/audioflinger/ |
D | AudioMixer.cpp | 504 static inline bool setVolumeRampVariables(float newVolume, int32_t ramp, in setVolumeRampVariables() argument 547 if (ramp != 0) { in setVolumeRampVariables() 552 const float inc = (newVolume - *pPrevVolume) / ramp; // could be inf, nan, subnormal in setVolumeRampVariables() 564 ramp = 0; // ramp not allowed in setVolumeRampVariables() 577 if (ramp != 0) { in setVolumeRampVariables() 583 const int32_t inc = ((intVolume << 16) - *pIntPrevVolume) / ramp; in setVolumeRampVariables() 588 ramp = 0; // ramp not allowed in setVolumeRampVariables() 593 if (ramp == 0) { in setVolumeRampVariables() 1777 const TI *in, TA *aux, bool ramp, AudioMixer::track_t *t) in volumeMix() argument 1780 if (ramp) { in volumeMix() [all …]
|
D | AudioMixer.h | 353 const TI *in, TA *aux, bool ramp, AudioMixer::track_t *t);
|