Displaying 2 results from an estimated 2 matches for "sixteen_bit".
Did you mean:
sixteen_bits
2006 Sep 07
2
Getting subframe type=verbatim on 16 bit files
...tempjunk;
// Need to get our pcm Data into 32 bit shape and with with channels...
// See how sample32 is the index into the 32 bit array
// while the sample index can handle things when stereo (i.e. 2
channels) occurs.
switch(bitsPerSample)
{
case SIXTEEN_BITS:
buffer16 = (uint16_t*)inData.GetData(); // so we index thru out
data in 16 byte chunks
for(sample = sample32 = 0; sample32 < numFrames; sample32++)
{
for(channel = 0; channel < numChannels; channel++, sample++)
{...
2006 Sep 06
2
Getting subframe type=verbatim on 16 bit files
I'm using libFLACC++ and libFLAC and I think that I'm using the calls in the
typical order (see code below). But every monoe or stereo file that I send
thru I get files that are the same sze as the orginal wave files.
Doing a flac -a on the flac files I see that I get:
frame=9 blocksize=4608 sample_rate=8000 channels=1
channel_assignment=INDEPENDENT
subframe=0