[−][src]Function flac_sys::FLAC__format_cuesheet_is_legal
pub unsafe extern "C" fn FLAC__format_cuesheet_is_legal(
cue_sheet: *const FLAC__StreamMetadata_CueSheet,
check_cd_da_subset: FLAC__bool,
violation: *mut *const c_char
) -> FLAC__bool
Check a cue sheet to see if it conforms to the FLAC specification. See the format specification for limits on the contents of the cue sheet.
\param cue_sheet A pointer to an existing cue sheet to be checked. \param check_cd_da_subset If \c true, check CUESHEET against more stringent requirements for a CD-DA (audio) disc. \param violation Address of a pointer to a string. If there is a violation, a pointer to a string explanation of the violation will be returned here. \a violation may be \c NULL if you don't need the returned string. Do not free the returned string; it will always point to static data. \assert \code cue_sheet != NULL \endcode \retval FLAC__bool \c false if cue sheet is illegal, else \c true.