search for: oggreadcallback

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

2009 Jun 04
0
ogg audio streaming problem
...e ogg file by using a library. I use juce c++ library which uses vorbisfile.c to read and write ogg format. 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,...
2009 Jun 04
1
ogg audio streaming problem
...e ogg file by using a library. I use juce c++ library which uses vorbisfile.c to read and write ogg format. 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,...