Displaying 1 result from an estimated 1 matches for "bitratechoice".
2005 Dec 12
0
Real time in ARM - please help
...relevant
files. My source code is patterned after sampleenc and I haven't tried 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 [MaxFra...