Lines Matching refs:MAX_CURVE_TIME
60 #define MAX_CURVE_TIME 1.f // type S: end of VolumeShaper curve (normalized) macro
215 if (first().first != MIN_CURVE_TIME || last().first != MAX_CURVE_TIME) { in checkCurve()
274 static const T scale = 1.f / (MAX_CURVE_TIME - MIN_CURVE_TIME); // nominally 1.f in scaleToStartVolume()
276 it->second = it->second + offset * (MAX_CURVE_TIME - it->first) * scale; in scaleToStartVolume()
391 mXOffset = clamp(xOffset, MIN_CURVE_TIME /* lo */, MAX_CURVE_TIME /* hi */); in setXOffset()
411 ? MAX_CURVE_TIME - normalizedTime : normalizedTime); in setNormalizedTime()
616 mDelayXOffset = clamp(xOffset, MIN_CURVE_TIME /* lo */, MAX_CURVE_TIME /* hi */); in setDelayXOffset()
693 MAX_CURVE_TIME - xOffset : xOffset; in updatePosition()
712 x = MAX_CURVE_TIME - x; in computeStateFromNormalizedTime()
717 } else if (x > MAX_CURVE_TIME) { in computeStateFromNormalizedTime()
718 x = MAX_CURVE_TIME; //early in computeStateFromNormalizedTime()
723 } else if (x > MAX_CURVE_TIME) { in computeStateFromNormalizedTime()
724 x = MAX_CURVE_TIME; in computeStateFromNormalizedTime()
860 S target = MAX_CURVE_TIME - x; in applyVolumeShaper()
879 MAX_CURVE_TIME - xOffset : xOffset; in applyVolumeShaper()