Displaying 4 results from an estimated 4 matches for "speexusercallback".
2004 Aug 06
2
SPEEX_SET_USER_HANDLER once again
...the end buffer
...
speex_bits_reset(&bits);
...
}
/********************************** encoder end
********************************************/
/************************************* decoder
*********************************************/
int CSpeexDecoderThread::SpeexUserCallback(SpeexBits *bits, void *state,
void *data){
...
// read the array index of the corresponding sync structure
int index = speex_bits_unpack_unsigned(bits, 8);
SendNotifyMessage(l_sdthread->m_hWnd, USER_PLAYBACK_MESSAGE,
SYNC_DATA,
LPARAM(index));
retur...
2004 Aug 06
0
SPEEX_SET_USER_HANDLER once again
...(&bits);
>
> ...
> }
> /********************************** encoder end
> ********************************************/
>
> /************************************* decoder
> *********************************************/
>
> int CSpeexDecoderThread::SpeexUserCallback(SpeexBits *bits, void
> *state,
> void *data){
> ...
>
> // read the array index of the corresponding sync structure
> int index = speex_bits_unpack_unsigned(bits, 8);
>
> SendNotifyMessage(l_sdthread->m_hWnd, USER_PLAYBACK_MESSAGE,...
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
2004 Aug 06
2
AW: SPEEX_SET_USER_HANDLER once again
...nt, 8);
synccount++
}
nbBytes = speex_bits_write(&bits, cbits, MAX_FRAME_BYTES);
...
// write the encoded data into the end buffer
...
speex_bits_reset(&bits);
...
}
int CSpeexDecoderThread::SpeexUserCallback(SpeexBits *bits, void *state,
void *data){
int length = speex_bits_unpack_unsigned(bits, 4);
int inedx = speex_bits_unpack_unsigned(bits, length * 8);
<p> SendNotifyMessage(l_sdthread->m_hWnd, USER_PLAYBACK_MESSAGE,
SYNC_DATA, LPARAM(index));
return 0;
}
&l...