search for: flacbuff

Displaying 2 results from an estimated 2 matches for "flacbuff".

Did you mean: flacbuffer
2006 Sep 07
2
Getting subframe type=verbatim on 16 bit files
...needs.. if (bitsPerSample == 16) numFrames = numFrames / 2; else if (bitsPerSample > 16) numFrames = numFrames / 4; // if stereo then spread data over both channels and not just one! if (numChannels == 2) numFrames = numFrames / 2; // buffer for FLAC use flacBuffer = (int32_t **)calloc(numChannels, sizeof(int32_t *)); if (flacBuffer == NULL) return false; // channel buffer to zero 1 or 2 (stereo) for(channel = 0; channel < numChannels; ++channel) { flacBuffer[channel] = NULL; } // set up buff...
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