Displaying 2 results from an estimated 2 matches for "maxframesize".
Did you mean:
max_framesize
2001 Jul 02
1
ogg vorbis dynamic memory allocation.
....except your math is kind of funky?
> >
> > Sigh so 2816 was meant to be 4608 equalling 36k... so how
> funky is your
> > maths if you got 40.5k
>
> > > #define SBLIMIT 32
> > > #define SSLIMIT 18
> > > #define MAXFRAMESIZE 1792
> 4608 > > unsigned char bsspace[2][MAXFRAMESIZE+512];
> 9216 > > float hybrid_block[2][2][SBLIMIT*SSLIMIT];
> 9216 > > float synth_buffs[2][2][0x120];
> 9216 > > float block[2][2][SBLIMIT * SSLIMIT];
> 4608 > > float hybridIn[2][SBLIMIT...
2005 Dec 12
0
Real time in ARM - please help
...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 Statements
**********************************//
Speex[0] = 'S';
Speex[1] = 'p';
Speex[2] = 'e';
Speex[3] = 'e';
Speex[4] = 'x';
st...