search for: oggclosecallback

Displaying 2 results from an estimated 2 matches for "oggclosecallback".

2009 Jun 04
0
ogg audio streaming problem
...at. I updated the lengthInSamples of the ogg file to the size of ogg file. After certain chunk of data is downloaded, ogg length in samples is initialized by callbacks.read_func = &oggReadCallback; callbacks.seek_func = &oggSeekCallback; callbacks.close_func = &oggCloseCallback; callbacks.tell_func = &oggTellCallback; const int err = ov_open_callbacks (input, &ovFile, 0, 0, callbacks); lengthInSamples = (uint32) ov_pcm_total (&ovFile, -1); input is the file stream. The first chunk data is played excellent, however, after that , it gives...
2009 Jun 04
1
ogg audio streaming problem
...at. I updated the lengthInSamples of the ogg file to the size of ogg file. After certain chunk of data is downloaded, ogg length in samples is initialized by callbacks.read_func = &oggReadCallback; callbacks.seek_func = &oggSeekCallback; callbacks.close_func = &oggCloseCallback; callbacks.tell_func = &oggTellCallback; const int err = ov_open_callbacks (input, &ovFile, 0, 0, callbacks); lengthInSamples = (uint32) ov_pcm_total (&ovFile, -1); input is the file stream. The first chunk data is played excellent, however, after that , it gives...