[][src]Function flac_sys::FLAC__metadata_object_cuesheet_is_legal

pub unsafe extern "C" fn FLAC__metadata_object_cuesheet_is_legal(
    object: *const FLAC__StreamMetadata,
    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 object A pointer to an existing CUESHEET object. \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 object != NULL \endcode \code object->type == FLAC__METADATA_TYPE_CUESHEET \endcode \retval FLAC__bool \c false if cue sheet is illegal, else \c true.