pub fn adjust(
analysis: &Analysis,
segment: &SegmentConfig,
points: &[u64],
config: &AdjustConfig,
) -> AdjustResultExpand description
Moves cut points to nearby candidates, keeping all audio and returning each point’s result.
Points are processed in sorted, deduplicated order. Each point picks a candidate within the
configured window and before the midpoints to its neighbours, minimizing cut cost plus
|cut - point| / window. If no candidate exists, it snaps to the nearest frame boundary as a
crate::CutReason::Forced cut. The distance weight is always one. Min/max lengths do not
apply. AdjustResult::point_cuts preserves the original order, including skipped points.