Displaying 2 results from an estimated 2 matches for "lengthinsamples".
2009 Jun 04
0
ogg audio streaming problem
...ion is as follows:
I send download request to server,and server sends the download ogg file to
client side.
when a certain amount of data is downloaded, and I start to play the 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;
callback...
2009 Jun 04
1
ogg audio streaming problem
...ion is as follows:
I send download request to server,and server sends the download ogg file to
client side.
when a certain amount of data is downloaded, and I start to play the 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;
callback...