Searched refs:ramp (Results 1 – 2 of 2) sorted by relevance
/frameworks/av/media/libaudioprocessing/ |
D | AudioMixerBase.cpp | 244 static inline bool setVolumeRampVariables(float newVolume, int32_t ramp, in setVolumeRampVariables() argument 287 if (ramp != 0) { in setVolumeRampVariables() 292 const float inc = (newVolume - *pPrevVolume) / ramp; // could be inf, nan, subnormal in setVolumeRampVariables() 305 ramp = 0; // ramp not allowed in setVolumeRampVariables() 318 if (ramp != 0) { in setVolumeRampVariables() 324 const int32_t inc = ((intVolume << 16) - *pIntPrevVolume) / ramp; in setVolumeRampVariables() 329 ramp = 0; // ramp not allowed in setVolumeRampVariables() 334 if (ramp == 0) { in setVolumeRampVariables() 1374 const TI *in, TA *aux, bool ramp) in volumeMix() argument 1377 if (ramp) { in volumeMix() [all …]
|
/frameworks/av/media/libaudioprocessing/include/media/ |
D | AudioMixerBase.h | 229 void volumeMix(TO *out, size_t outFrames, const TI *in, TA *aux, bool ramp);
|