Add comments to clarify previous change, also change resamplePrecise so it compares seconds+frames for more performance (change was comparing total number of samples, we don't really need to compute this because we can only be off by max 1 second)
Performance improvement: instead of using Math.floor to detect precision loss, use Math.round (saves a Math.floor operation because in the happy path we'll be doing Math.round anyway)