pub fn parse_cue(
text: &str,
file_bytes: &mut dyn FnMut(&str) -> Result<u64, String>,
) -> Result<CueSheet, String>Expand description
A cue sheet from its text. file_bytes answers the length in bytes of a file the sheet
names (a page asks the File the user chose; Disc::from_cue_path asks the filesystem).
Handles FILE, TRACK (MODE1/2352, AUDIO) and INDEX 00/01; several FILEs are laid end to
end, as one disc. Cue times are positions in their file (chdman writes them so, with the
pregap stored). PREGAP (an unstored gap) is not supported.