search for: get_bits_per_sample

Displaying 3 results from an estimated 3 matches for "get_bits_per_sample".

2006 Sep 06
2
Getting subframe type=verbatim on 16 bit files
...dding; setValue = flacCompressor.set_metadata(metadata, 1); FlacEncoder::Stream::State flacState = flacCompressor.init(); /* // verify that the values are correct...they are fine, why still verbatim? int i; i = flacCompressor.get_channels (); i = flacCompressor.get_bits_per_sample (); i = flacCompressor.get_sample_rate (); i = flacCompressor.get_blocksize(); i = flacCompressor.get_qlp_coeff_precision (); // default=0 so encoding software picks the best i = flacCompressor.get_min_residual_partition_order (); i = flacCompressor.get_max_residual_partition_o...
2006 Sep 07
2
Getting subframe type=verbatim on 16 bit files
...data for processing: // For moving data into 32 bit shape uint8_t *buffer8 = NULL; uint16_t *buffer16 = NULL; uint32_t *buffer32 = NULL; unsigned sample32; unsigned sample, channel; uint32_t bitsPerSample = this->get_bits_per_sample(); numFrames = inData.GetSize(); numChannels = this->get_channels(); // How big is our sample that we want to give to FLACC? // bitsPerSample is 8,16,24,32 // So 8 = no change for numFrames // 16 = half it // 24,32 = 1/4 the needs.. if (bitsPer...
2006 Sep 06
0
Getting subframe type=verbatim on 16 bit files
...data(metadata, 1); > > FlacEncoder::Stream::State flacState = flacCompressor.init(); > > /* > // verify that the values are correct...they are fine, why still > verbatim? > int i; > i = flacCompressor.get_channels (); > i = flacCompressor.get_bits_per_sample (); > i = flacCompressor.get_sample_rate (); > i = flacCompressor.get_blocksize(); > i = flacCompressor.get_qlp_coeff_precision (); // default=0 so > encoding > software picks the best > i = flacCompressor.get_min_residual_partition_order (); > i = flacComp...