Skip to main content

check_alignment

Function check_alignment 

Source
pub fn check_alignment(
    cues: &[Cue],
    words: &[TimedWord],
    tolerance_ms: u64,
) -> Vec<AlignmentIssue>
Expand description

Checks that every cue edge lies on a word boundary (within tolerance_ms), that cues are non-empty and do not overlap. Empty result means aligned.