Lines Matching refs:streaminfo_
46 static ::FLAC__StreamMetadata streaminfo_, padding_, seektable_, application1_, application2_, vorbiscomment_, cuesheet_, picture_, unknown_;
81 mutils__init_metadata_blocks(&streaminfo_, &padding_, &seektable_, &application1_, &application2_, &vorbiscomment_, &cuesheet_, &picture_, &unknown_);
86 mutils__free_metadata_blocks(&streaminfo_, &padding_, &seektable_, &application1_, &application2_, &vorbiscomment_, &cuesheet_, &picture_, &unknown_);
226 if(!encoder->set_channels(streaminfo_.data.stream_info.channels))
231 if(!encoder->set_bits_per_sample(streaminfo_.data.stream_info.bits_per_sample))
236 if(!encoder->set_sample_rate(streaminfo_.data.stream_info.sample_rate))
246 if(!encoder->set_blocksize(streaminfo_.data.stream_info.min_blocksize))
301 if(!encoder->set_total_samples_estimate(streaminfo_.data.stream_info.total_samples))
398 if(encoder->get_channels() != streaminfo_.data.stream_info.channels) {
399 printf("FAILED, expected %u, got %u\n", streaminfo_.data.stream_info.channels, encoder->get_channels());
405 if(encoder->get_bits_per_sample() != streaminfo_.data.stream_info.bits_per_sample) {
406 printf("FAILED, expected %u, got %u\n", streaminfo_.data.stream_info.bits_per_sample, encoder->get_bits_per_sample());
412 if(encoder->get_sample_rate() != streaminfo_.data.stream_info.sample_rate) {
413 printf("FAILED, expected %u, got %u\n", streaminfo_.data.stream_info.sample_rate, encoder->get_sample_rate());
419 if(encoder->get_blocksize() != streaminfo_.data.stream_info.min_blocksize) {
420 printf("FAILED, expected %u, got %u\n", streaminfo_.data.stream_info.min_blocksize, encoder->get_blocksize());
480 if(encoder->get_total_samples_estimate() != streaminfo_.data.stream_info.total_samples) {
482 printf("FAILED, expected %I64u, got %I64u\n", streaminfo_.data.stream_info.total_samples, encoder->get_total_samples_estimate());
484 printf("FAILED, expected %llu, got %llu\n", (unsigned long long)streaminfo_.data.stream_info.total_samples, (unsigned long long)encoder->get_total_samples_estimate());