Lines Matching refs:MAX_CURVE_TIME
61 #define MAX_CURVE_TIME 1.f // type S: end of VolumeShaper curve (normalized) macro
216 if (first().first != MIN_CURVE_TIME || last().first != MAX_CURVE_TIME) { in checkCurve()
275 static const T scale = 1.f / (MAX_CURVE_TIME - MIN_CURVE_TIME); // nominally 1.f in scaleToStartVolume()
277 it->second = it->second + offset * (MAX_CURVE_TIME - it->first) * scale; in scaleToStartVolume()
392 mXOffset = clamp(xOffset, MIN_CURVE_TIME /* lo */, MAX_CURVE_TIME /* hi */); in setXOffset()
412 ? MAX_CURVE_TIME - normalizedTime : normalizedTime); in setNormalizedTime()
617 mDelayXOffset = clamp(xOffset, MIN_CURVE_TIME /* lo */, MAX_CURVE_TIME /* hi */); in setDelayXOffset()
694 MAX_CURVE_TIME - xOffset : xOffset; in updatePosition()
713 x = MAX_CURVE_TIME - x; in computeStateFromNormalizedTime()
718 } else if (x > MAX_CURVE_TIME) { in computeStateFromNormalizedTime()
719 x = MAX_CURVE_TIME; //early in computeStateFromNormalizedTime()
724 } else if (x > MAX_CURVE_TIME) { in computeStateFromNormalizedTime()
725 x = MAX_CURVE_TIME; in computeStateFromNormalizedTime()
861 S target = MAX_CURVE_TIME - x; in applyVolumeShaper()
880 MAX_CURVE_TIME - xOffset : xOffset; in applyVolumeShaper()