Lines Matching refs:streaminfo_
25 static ::FLAC__StreamMetadata streaminfo_, padding_, seektable_, application_, vorbiscomment_, cuesheet_, picture_;
93 streaminfo_.is_last = false;
94 streaminfo_.type = ::FLAC__METADATA_TYPE_STREAMINFO;
95 streaminfo_.length = FLAC__STREAM_METADATA_STREAMINFO_LENGTH;
96 streaminfo_.data.stream_info.min_blocksize = 576;
97 streaminfo_.data.stream_info.max_blocksize = 576;
98 streaminfo_.data.stream_info.min_framesize = 0;
99 streaminfo_.data.stream_info.max_framesize = 0;
100 streaminfo_.data.stream_info.sample_rate = 44100;
101 streaminfo_.data.stream_info.channels = 1;
102 streaminfo_.data.stream_info.bits_per_sample = 8;
103 streaminfo_.data.stream_info.total_samples = 0;
104 memset(streaminfo_.data.stream_info.md5sum, 0, 16);
117 seektable_.data.seek_table.points[0].frame_samples = streaminfo_.data.stream_info.min_blocksize;
120 seektable_.data.seek_table.points[1].frame_samples = streaminfo_.data.stream_info.min_blocksize;
278 FLAC::Metadata::StreamInfo blockcopy(streaminfo_);
281 if(blockcopy != streaminfo_)
289 FLAC::Metadata::StreamInfo blockcopy(&streaminfo_);
292 if(blockcopy != streaminfo_)
300 FLAC::Metadata::StreamInfo blockcopy(&streaminfo_, /*copy=*/true);
303 if(blockcopy != streaminfo_)
311 ::FLAC__StreamMetadata *copy = ::FLAC__metadata_object_clone(&streaminfo_);
315 if(blockcopy != streaminfo_)
324 blockcopy.assign(&streaminfo_, /*copy=*/true);
327 if(blockcopy != streaminfo_)
335 ::FLAC__StreamMetadata *copy = ::FLAC__metadata_object_clone(&streaminfo_);
340 if(blockcopy != streaminfo_)
359 FLAC::Metadata::StreamInfo blockcopy = streaminfo_;
362 if(!(blockcopy == streaminfo_))
370 FLAC::Metadata::StreamInfo blockcopy = &streaminfo_;
373 if(!(blockcopy == streaminfo_))
379 block.set_min_blocksize(streaminfo_.data.stream_info.min_blocksize);
383 block.set_max_blocksize(streaminfo_.data.stream_info.max_blocksize);
387 block.set_min_framesize(streaminfo_.data.stream_info.min_framesize);
391 block.set_max_framesize(streaminfo_.data.stream_info.max_framesize);
395 block.set_sample_rate(streaminfo_.data.stream_info.sample_rate);
399 block.set_channels(streaminfo_.data.stream_info.channels);
403 block.set_bits_per_sample(streaminfo_.data.stream_info.bits_per_sample);
407 block.set_total_samples(streaminfo_.data.stream_info.total_samples);
411 block.set_md5sum(streaminfo_.data.stream_info.md5sum);
415 if(block.get_min_blocksize() != streaminfo_.data.stream_info.min_blocksize)
420 if(block.get_max_blocksize() != streaminfo_.data.stream_info.max_blocksize)
425 if(block.get_min_framesize() != streaminfo_.data.stream_info.min_framesize)
430 if(block.get_max_framesize() != streaminfo_.data.stream_info.max_framesize)
435 if(block.get_sample_rate() != streaminfo_.data.stream_info.sample_rate)
440 if(block.get_channels() != streaminfo_.data.stream_info.channels)
445 if(block.get_bits_per_sample() != streaminfo_.data.stream_info.bits_per_sample)
450 if(block.get_total_samples() != streaminfo_.data.stream_info.total_samples)
455 if(0 != memcmp(block.get_md5sum(), streaminfo_.data.stream_info.md5sum, 16))