search for: speex_bits_init_buffer_ex

Displaying 3 results from an estimated 3 matches for "speex_bits_init_buffer_ex".

2004 Aug 06
2
SPEEX_SET_USER_HANDLER once again
...id *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)); return 0; } inline int speex_bits_init_buffer_ex(SpeexBits *bits, void *buff, int buf_size){ if (buff == NULL || buf_size == 0) return -1; memset(bits, 0, sizeof(SpeexBits)); bits->bytes = (char*)buff; bits->buf_size = buf_size; bits->nbBits=buf_size <&lt...
2004 Aug 06
0
SPEEX_SET_USER_HANDLER once again
...d 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)); > > return 0; > } > > inline int speex_bits_init_buffer_ex(SpeexBits *bits, void *buff, int > buf_size){ > > if (buff == NULL || buf_size == 0) > return -1; > > memset(bits, 0, sizeof(SpeexBits)); > > bits->bytes = (char*)buff; > bits->buf_size = buf_...
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