Displaying 1 result from an estimated 1 matches for "fromsiz".
Did you mean:
fromsip
2004 Aug 06
0
Multiple Frames per Packet
...sn't a new question. (Incidentally,
the Xiph.org archives of this mailing list appear to be offline.
Where are they now, or when will they come back online?)
I've included some clips from my code below:
-david
---------------
// encode
void GSpeexEncoder::encode( const short* from, int fromSize,
vector<char>& to )
{
GASSERTPUB( );
GASSERTPRE( from && fromSize );
// First convert to floating-point data
static vector<float> fromFloat;
fromFloat.resize( fromSize );
const short* src = from;
float* dst = &fromFloat[0];
int c = fromSize;
while( c-- ) { *dst++ = (flo...