Skip to content

CROSSFADE_DRIFT_TOLERANCE_SECS

const CROSSFADE_DRIFT_TOLERANCE_SECS: 0.75 = 0.75;

How far (in seconds) the playback position may drift past the expected crossfade boundary before the transition is aborted and the regular song-switch takes over.

Swapping a transition stream in after the boundary replays the audio between the boundary and the current position, so only a negligible late drift is accepted.