search for: cspeexencoderthread

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

Did you mean: cspeexdecoderthread
2004 Aug 06
2
SPEEX_SET_USER_HANDLER once again
...-2. I don't know where the problem is. I can't find any sample code for custom in-band messages. Is there anyone who can help? Here some sample code: /********************************** encoder *********************************************/ // 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 stru...
2004 Aug 06
0
SPEEX_SET_USER_HANDLER once again
...9;t find any sample code for custom in-band messages. > > Is there anyone who can help? > > Here some sample code: > > /********************************** encoder > *********************************************/ > > // 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? > > syncstr...
2004 Aug 06
2
AW: SPEEX_SET_USER_HANDLER once again
...n't you want to use Ogg. It's much simpler to use and overhead can be >made minimal anyway. At first there is no need for ogg, the programm is only for encoding voice in a test environment. And if the user in-band callback mechanism 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...
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