CROSSFADE_RESYNC_WINDOW_SECS
const CROSSFADE_RESYNC_WINDOW_SECS: 3 = 3;How far (in seconds) the playback position may lag the fade boundary and still be recovered by waiting for the media clock.
Queue#currentTime follows the audio resource’s playback duration, while
the boundary timer is wall-clock based: initial buffering or a short network
stall makes the timer fire before the song actually reaches the boundary.
A small lag is harmless (the transition stream is already buffered), so the
swap waits for the media clock instead of aborting the crossfade.