Home | History | Annotate | Download | only in libFLAC

Lines Matching refs:FLAC__ASSERT

62 		FLAC__ASSERT(metadata->data.vorbis_comment.vendor_string.length == 0 || 0 != metadata->data.vorbis_comment.vendor_string.entry);
66 FLAC__ASSERT(i < (1u << FLAC__STREAM_METADATA_LENGTH_LEN));
72 FLAC__ASSERT(metadata->data.stream_info.min_blocksize < (1u << FLAC__STREAM_METADATA_STREAMINFO_MIN_BLOCK_SIZE_LEN));
75 FLAC__ASSERT(metadata->data.stream_info.max_blocksize < (1u << FLAC__STREAM_METADATA_STREAMINFO_MAX_BLOCK_SIZE_LEN));
78 FLAC__ASSERT(metadata->data.stream_info.min_framesize < (1u << FLAC__STREAM_METADATA_STREAMINFO_MIN_FRAME_SIZE_LEN));
81 FLAC__ASSERT(metadata->data.stream_info.max_framesize < (1u << FLAC__STREAM_METADATA_STREAMINFO_MAX_FRAME_SIZE_LEN));
84 FLAC__ASSERT(FLAC__format_sample_rate_is_valid(metadata->data.stream_info.sample_rate));
87 FLAC__ASSERT(metadata->data.stream_info.channels > 0);
88 FLAC__ASSERT(metadata->data.stream_info.channels <= (1u << FLAC__STREAM_METADATA_STREAMINFO_CHANNELS_LEN));
91 FLAC__ASSERT(metadata->data.stream_info.bits_per_sample > 0);
92 FLAC__ASSERT(metadata->data.stream_info.bits_per_sample <= (1u << FLAC__STREAM_METADATA_STREAMINFO_BITS_PER_SAMPLE_LEN));
135 FLAC__ASSERT(FLAC__STREAM_METADATA_CUESHEET_MEDIA_CATALOG_NUMBER_LEN % 8 == 0);
153 FLAC__ASSERT(FLAC__STREAM_METADATA_CUESHEET_TRACK_ISRC_LEN % 8 == 0);
211 FLAC__ASSERT(FLAC__bitwriter_is_byte_aligned(bw));
220 FLAC__ASSERT(FLAC__bitwriter_is_byte_aligned(bw));
231 FLAC__ASSERT(header->blocksize > 0 && header->blocksize <= FLAC__MAX_BLOCK_SIZE);
233 FLAC__ASSERT(FLAC__MAX_BLOCK_SIZE <= 65535u);
259 FLAC__ASSERT(FLAC__format_sample_rate_is_valid(header->sample_rate));
287 FLAC__ASSERT(header->channels > 0 && header->channels <= (1u << FLAC__STREAM_METADATA_STREAMINFO_CHANNELS_LEN) && header->channels <= FLAC__MAX_CHANNELS);
293 FLAC__ASSERT(header->channels == 2);
297 FLAC__ASSERT(header->channels == 2);
301 FLAC__ASSERT(header->channels == 2);
305 FLAC__ASSERT(0);
310 FLAC__ASSERT(header->bits_per_sample > 0 && header->bits_per_sample <= (1u << FLAC__STREAM_METADATA_STREAMINFO_BITS_PER_SAMPLE_LEN));
407 FLAC__ASSERT(0);
453 FLAC__ASSERT(0);
488 FLAC__ASSERT(0);
508 FLAC__ASSERT(rice_parameters[0] == 0);