Lines Matching refs:ramp
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()
1791 if (ramp) { in volumeMix()
1824 const bool ramp = t->needsRamp(); in process_NoResampleOneTrack() local
1846 out, outFrames, in, aux, ramp, t); in process_NoResampleOneTrack()
1857 if (ramp) { in process_NoResampleOneTrack()
1875 const bool ramp = t->needsRamp(); in track__Resample() local
1876 if (ramp || aux != NULL) { in track__Resample()
1885 out, outFrameCount, temp, aux, ramp, t); in track__Resample()