Home | History | Annotate | Download | only in libFLAC

Lines Matching refs:violation

412 FLAC_API FLAC__bool FLAC__format_cuesheet_is_legal(const FLAC__StreamMetadata_CueSheet *cue_sheet, FLAC__bool check_cd_da_subset, const char **violation)
418 if(violation) *violation = "CD-DA cue sheet must have a lead-in length of at least 2 seconds";
422 if(violation) *violation = "CD-DA cue sheet lead-in length must be evenly divisible by 588 samples";
428 if(violation) *violation = "cue sheet must have at least one track (the lead-out)";
433 if(violation) *violation = "CD-DA cue sheet must have a lead-out track number 170 (0xAA)";
439 if(violation) *violation
445 if(violation) *violation = "CD-DA cue sheet track number must be 1-99 or 170";
451 if(violation) {
453 *violation = "CD-DA cue sheet lead-out offset must be evenly divisible by 588 samples";
455 *violation = "CD-DA cue sheet track offset must be evenly divisible by 588 samples";
462 if(violation) *violation = "cue sheet track must have at least one index point";
467 if(violation) *violation = "cue sheet track's first index number must be 0 or 1";
474 if(violation) *violation = "CD-DA cue sheet track index offset must be evenly divisible by 588 samples";
480 if(violation) *violation = "cue sheet track index numbers must increase by 1";
491 FLAC_API FLAC__bool FLAC__format_picture_is_legal(const FLAC__StreamMetadata_Picture *picture, const char **violation)
498 if(violation) *violation = "MIME type string must contain only printable ASCII characters (0x20-0x7e)";
506 if(violation) *violation = "description string must be valid UTF-8";