search for: syncstruct

Displaying 4 results from an estimated 4 matches for "syncstruct".

2004 Aug 06
2
SPEEX_SET_USER_HANDLER once again
...*/ // read raw data from serving buffer void CSpeexEncoderThread::Decode(char * pcData, DWORD dwLength){ ... speex_encode(st, s, &bits); // encode ... if (syncmsg == TRUE && synccount < 256){ // is there a sync message? syncstruct[synccount].sync_value = syncvalue; //fill the sync structure ... speex_bits_pack(&bits, 13, 5); //custom in-band messages // write the array index of the sync structure into the stream (max. 256 sync points) speex_bits_pack(&a...
2004 Aug 06
0
SPEEX_SET_USER_HANDLER once again
...rThread::Decode(char * pcData, DWORD dwLength){ > > ... > > speex_encode(st, s, &bits); // encode > > ... > > if (syncmsg == TRUE && synccount < 256){ // is there a sync > message? > > syncstruct[synccount].sync_value = syncvalue; //fill > the sync structure > > ... > > speex_bits_pack(&bits, 13, 5); //custom in-band > messages > > // write the array index of the sync structure into > the stream (max. 256...
2004 Aug 06
2
AW: SPEEX_SET_USER_HANDLER once again
...sm works it is more then enough. <p><p>void CSpeexEncoderThread::Decode(char * pcData, DWORD dwLength){ ... speex_encode(st, s, &bits); // encode if (syncmsg == TRUE && synccount < 256){ // is there a sync message? syncstruct[synccount].sync_value = syncvalue; //fill the sync structure ... //custom in-band messages speex_bits_pack(&bits, 13, 5); // write the length of the message speex_bits_pack(&bits, 1, 4)...
2004 Aug 06
2
speed and memory
hello, i switched to use the encoder.processData() and encoder.getProcessedData() of jspeex. however it looks to me like a memory leak ... memory usage is increasing very fast and there is no visible stop ... after about five minutes java.lang.OutOfMemory occurs. I think it must be the jspeex component, because before i added jspeex to my app usage was constant at about 5mb. is it possible