Re: [Flac-dev] Getting subframe type=verbatim on 16 bit files

2006-09-07 Thread James Smith
Here's how I set up the data for processing: // For moving data into 32 bit shape uint8_t*buffer8= NULL; uint16_t*buffer16= NULL; uint32_t*buffer32= NULL; unsignedsample32; unsignedsample, channel; uint32_t

Re: [Flac-dev] Getting subframe type=verbatim on 16 bit files

2006-09-07 Thread Josh Coalson
--- James Smith [EMAIL PROTECTED] wrote: 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++)

Re: [Flac-dev] Getting subframe type=verbatim on 16 bit files

2006-09-06 Thread Josh Coalson
looks fine, I would suspect how the PCM sample are formatted and sent to process(), could you show that part of the code? Josh --- James Smith [EMAIL PROTECTED] wrote: I'm using libFLACC++ and libFLAC and I think that I'm using the calls in the typical order (see code below). But every