search for: user_playback_messag

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

Did you mean: user_playback_message
2004 Aug 06
2
SPEEX_SET_USER_HANDLER once again
...********************/ 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)); 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 = (ch...
2004 Aug 06
0
SPEEX_SET_USER_HANDLER once again
...read::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)); > > return 0; > } > > inline int speex_bits_init_buffer_ex(SpeexBits *bits, void *buff, int > buf_size){ > > if (buff == NULL || buf_size == 0) > return -1; > >...
2004 Aug 06
2
AW: SPEEX_SET_USER_HANDLER once again
...mp;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; } <p><p><p><p><p><p><p><p>--- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'speex-dev-reque...
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