Displaying 1 result from an estimated 1 matches for "bitspersamplex8".
Did you mean:
bitspersample
2005 Dec 12
0
Real time in ARM - please help
...using
Ogg.. my source code is attached below in case anyone's interested. I
wonder what I'm doing wrong.. Appreciate any help, thanks a lot.
Mon
int PCMToSpx (BSTR FileOpen, BSTR FileSave, bool VAD, short BitRateChoice)
{
__int8 Speex [6];
__int16 SamplingRate = 8000;
__int8 BitsPerSampleX8 = 2 /* ie 2*8=16-bit */, NumBytes /*aka nBytes or
nbBytes */;
FILE *fin, *fout;
void *state;
int FrameSize, NumFrames = 0;
int BitRate, temp;
__int16 in [MaxFrameSize];
__int8 cbits [MaxFrameBytes];
SpeexBits bits;
// ********************************** Program Statemen...