Displaying 4 results from an estimated 4 matches for "syncmsg".
2004 Aug 06
2
SPEEX_SET_USER_HANDLER once again
...e:
/********************************** 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 structure
...
speex_bits_pack(&bits, 13, 5); //custom in-band messages
// write the array index o...
2004 Aug 06
0
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
> mess...
2004 Aug 06
2
AW: SPEEX_SET_USER_HANDLER once again
...m 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
...
//custom in-band messages
speex_bits_pack(&bits, 13, 5);...
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