Searched refs:bits_per_sample (Results 1 – 12 of 12) sorted by relevance
53 uint16_t bits_per_sample; member139 header.bits_per_sample = bits; in main()140 header.byte_rate = (header.bits_per_sample / 8) * channels * rate; in main()141 header.block_align = channels * (header.bits_per_sample / 8); in main()150 header.sample_rate, header.bits_per_sample, in main()
56 uint16_t bits_per_sample; member145 chunk_fmt.bits_per_sample, period_size, period_count); in main()
331 paud_init.bits_per_sample = 8; in Paud_OpenAudio()337 paud_init.bits_per_sample = 8; in Paud_OpenAudio()344 paud_init.bits_per_sample = 16; in Paud_OpenAudio()351 paud_init.bits_per_sample = 16; in Paud_OpenAudio()359 paud_init.bits_per_sample = 16; in Paud_OpenAudio()365 paud_init.bits_per_sample = 16; in Paud_OpenAudio()
95 FLAC__ASSERT(metadata->data.stream_info.bits_per_sample > 0); in FLAC__add_metadata_block()96 …FLAC__ASSERT(metadata->data.stream_info.bits_per_sample <= (1u << FLAC__STREAM_METADATA_STREAMINFO… in FLAC__add_metadata_block()97 …if(!FLAC__bitwriter_write_raw_uint32(bw, metadata->data.stream_info.bits_per_sample-1, FLAC__STREA… in FLAC__add_metadata_block()314 …FLAC__ASSERT(header->bits_per_sample > 0 && header->bits_per_sample <= (1u << FLAC__STREAM_METADAT… in FLAC__frame_add_header()315 switch(header->bits_per_sample) { in FLAC__frame_add_header()
670 if(encoder->protected_->bits_per_sample >= 32) in init_stream_internal_()673 …if(encoder->protected_->bits_per_sample < FLAC__MIN_BITS_PER_SAMPLE || encoder->protected_->bits_p… in init_stream_internal_()696 if(encoder->protected_->bits_per_sample < 16) { in init_stream_internal_()699 …coeff_precision = max(FLAC__MIN_QLP_COEFF_PRECISION, 2 + encoder->protected_->bits_per_sample / 2); in init_stream_internal_()701 else if(encoder->protected_->bits_per_sample == 16) { in init_stream_internal_()749 encoder->protected_->bits_per_sample != 8 && in init_stream_internal_()750 encoder->protected_->bits_per_sample != 12 && in init_stream_internal_()751 encoder->protected_->bits_per_sample != 16 && in init_stream_internal_()752 encoder->protected_->bits_per_sample != 20 && in init_stream_internal_()753 encoder->protected_->bits_per_sample != 24 in init_stream_internal_()[all …]
920 return decoder->protected_->bits_per_sample; in FLAC__stream_decoder_get_bits_per_sample()1653 decoder->private_->stream_info.data.stream_info.bits_per_sample = x+1; in read_metadata_streaminfo_()2027 unsigned bps = decoder->private_->frame.header.bits_per_sample; in read_frame_()2129 decoder->protected_->bits_per_sample = decoder->private_->frame.header.bits_per_sample; in read_frame_()2313 …decoder->private_->frame.header.bits_per_sample = decoder->private_->stream_info.data.stream_info.… in read_frame_header_()2318 decoder->private_->frame.header.bits_per_sample = 8; in read_frame_header_()2321 decoder->private_->frame.header.bits_per_sample = 12; in read_frame_header_()2324 decoder->private_->frame.header.bits_per_sample = 16; in read_frame_header_()2327 decoder->private_->frame.header.bits_per_sample = 20; in read_frame_header_()2330 decoder->private_->frame.header.bits_per_sample = 24; in read_frame_header_()[all …]
710 if(block1->bits_per_sample != block2->bits_per_sample) in compare_block_data_streaminfo_()
2139 block->bits_per_sample = ((((unsigned)(b[2] & 0x01)) << 4) | (((unsigned)(b[3] & 0xf0)) >> 4)) + 1; in read_metadata_block_data_streaminfo_cb_()2556 const unsigned bps1 = block->bits_per_sample - 1; in write_metadata_block_data_streaminfo_cb_()
33 int SBC_init(int pcm_sample_freq, int channels, int bits_per_sample);
44 unsigned bits_per_sample; member
86 unsigned bits_per_sample; member
423 unsigned bits_per_sample; member531 unsigned bits_per_sample; member