Lines Matching defs:streaminfo
70 FLAC__bool file_utils__generate_flacfile(FLAC__bool is_ogg, const char *output_filename, off_t *output_filesize, unsigned length, const FLAC__StreamMetadata *streaminfo, FLAC__StreamMetadata **metadata, unsigned num_metadata)
79 FLAC__ASSERT(0 != streaminfo);
80 FLAC__ASSERT(streaminfo->type == FLAC__METADATA_TYPE_STREAMINFO);
81 FLAC__ASSERT((streaminfo->is_last && num_metadata == 0) || (!streaminfo->is_last && num_metadata > 0));
97 FLAC__stream_encoder_set_channels(encoder, streaminfo->data.stream_info.channels);
98 FLAC__stream_encoder_set_bits_per_sample(encoder, streaminfo->data.stream_info.bits_per_sample);
99 FLAC__stream_encoder_set_sample_rate(encoder, streaminfo->data.stream_info.sample_rate);
100 FLAC__stream_encoder_set_blocksize(encoder, streaminfo->data.stream_info.min_blocksize);
109 FLAC__stream_encoder_set_total_samples_estimate(encoder, streaminfo->data.stream_info.total_samples);